Conservation of momentum + conservation of energy + Newton's second law = Contradiction? When a body with a mass of 1 kg moves at constant velocity of 1 m/s and collide (elastic collision) with a body with the same mass that's at rest, we know from conservation of momentum and conservation of energy that the first body will stop and the other body will start moving at 1 m/s.
Newton's second law states that $F=m\frac{dv}{dt}$, therefor velocity has to be continuous (otherwise it doesn't have a derivative).
In our collision, the velocity of the second body before the collision is 0 m/s, and later it's 1 m/s. From intermediate value theorem we get that at some point in time, the velocity is 0.5 m/s.
The two bodies are mass-equal, therefore from conservation of momentum we get that at that point in time, the velocity of the first body is also 0.5 m/s.
Calculating the total kinetic energy will give us $\sum E_k=0.25\text{ J}$
before the collision, the total kinetic energy is $\sum E_k=0.5\text{ J}$
That seems to be a contradiction to conservation of energy.
Am I missing anything?
 A: There is no contradiction between conservation of momentum and energy and Newton’s 2nd law. Your analysis has one small mistake that makes the conclusion wrong.
Specifically, the conservation of energy does not imply the conservation of kinetic energy. Kinetic energy is not conserved in general. So finding a change in kinetic energy is insufficient to show non-conservation of energy. Instead you would need to show a change in total energy. As others have indicated, in this case the other energy is elastic potential energy. The total energy is conserved.
Now, you might say that kinetic energy is not conserved in general but that kinetic energy is conserved in an elastic collision. So you might say that while the above objection would be correct in general, it doesn’t hold in this specific case.
However, this is a misunderstanding of the meaning of an elastic collision. An elastic collision means that the kinetic energy immediately before the collision is equal to the kinetic energy immediately after the collision. It says nothing about the kinetic energy during the collision. So again, kinetic energy going to elastic potential energy doesn’t contradict the elastic collision constraint either.
Finally, in comments you argued that no elastic potential energy can be stored in an infinitesimal body. This is simply an incorrect claim as a mathematical model. If you write down the actual math you will find that the amount of elastic potential energy stored when $v=0.5 \ \mathrm{m/s}$ is constant and independent of the size of the object, regardless of how small.
A: 
we know from conservation of momentum and comservation of energy that the first body will stop and the other body will start moving at 1 m/s.

Kinetic energy is preserved only if the collision is perfectly elastic. This means that while the two objects are in contact, part of energy will be stored as elastic potential energy which is later converted back to kinetic energy.

therefor from conservation of momentum

Momentum is conserved only if there are no external forces acting on the system of particles. We also say that the momentum is conserved if external forces are much smaller in magnitude than the collision force that forms between the particles, but this is only approximation. If you want to know more, check what impulse is in context of forces.

That seems to be a contradiction to conservation of energy.
Am I missing anything?

Yes, during (elastic) collision there is a portion of energy stored as elastic potential energy.
A: The solution is that energy is stored in the deformation of the objects. To maintain your argument you could assume incompressibility. However, in this  limit the time interval during which both objects move simultaneously goes to zero. In this limit your argument therefore no longer holds. This limit would also require infinitesimal size in order to be compatible with special relativity.
A: The total energy of the system must be constant, and before and after the collision it is the kinetic energy of one of the bodies.
But during the very small $\delta t$ of what we call contact, the potential electrostatic energy between the atoms of the surface can not be neglected. It is exactly this potential energy the source of the force of the impact on the objects.
So, during $\delta t$ the kinetic energy is smaller, and the sum of potential and kinetic energy keeps constant.
