Error while using ModelingToolkit

I am building a model of a pneumatic system with ModelingToolkit and have gotten stuck. I have a not-very-minimal example of the error in this gist. I haven’t been able to trim it down any more and preserve the error.

How can I debug this further?

Can you open an issue with this?

Issue 670 opened.