Slow dynamics and subdiffusion in a non-Hamiltonian system with long-range forces