Maybe you need to sum the values of avgVelx1 distributed at each process. Try something like:
comm = mpi_comm_world()
avgVelx1 = MPI.sum(comm, assemble(u[0]*dx))
print "sum: ", avgVelx1
UPDATE: In the versions 1.6, 2016.1 and 2016.2 the assemble function automatically sum the results over all the processes.