Hello,
The initial volume is 0 because you ask for depth = 0 in your initial conditions. Then it seems that your boundary 1 is the exit and boundary 2 is the entrance (order of appearance in the boundary conditions file), so the prescribed discharges should be 0.;10. instead of 10.;0. and the prescribed elevations must be swapped also. However the program will certainly ask you then to put some water at the entrance, or to give a prescribed depth also (5 5 5 instead of 4 5 5) for a few time steps at the entrance, otherwise the prescribed discharge at an entrance with no water will trigger very large or infinite velocities. It depends on what is your case, but probably you must think of other initial conditions.
With best regards,
Jean-Michel Hervouet