Infinite dimensional second order differential equations via $T^2M$