Creating animation-ready valve/pump SVGs

I'm guessing you made this in a third party app like Inkscape?

If it was Inkscape then make sure you are saving it as an Optimised SVG