Apparently, using N in observable expressions causes issues, as it is interpreted as a function by sympy, see ICB-DCM/pyPESTO#1048. It's possible that some sympify call lacks locals, or that that collection is incomplete. Or maybe we can disable those special names in sympy altogether. Needs further investigation.