Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 192.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002222/0.002222, allocations: 283.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 97.94 kB / 0.5953 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1664, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001804/0.1683, allocations: 0.5243 MB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1693, allocations: 0.6282 MB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.384e-05/0.1693, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.1694, allocations: 0 / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1694, allocations: 0.7812 kB / 0.6814 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.17, allocations: 169.2 kB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.514e-05/0.17, allocations: 4 kB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.17, allocations: 7.984 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.1701, allocations: 4.812 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.875e-05/0.1701, allocations: 3.984 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1701, allocations: 4.625 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.1704, allocations: 191.7 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1705, allocations: 9.203 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.1705, allocations: 0 / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1707, allocations: 123.8 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1707, allocations: 0.8438 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1707, allocations: 3.984 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1707, allocations: 0.5312 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003525/0.1711, allocations: 351.9 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1712, allocations: 8.031 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.1712, allocations: 30.75 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.1712, allocations: 4.938 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.931e-05/0.1713, allocations: 164.3 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1713, allocations: 4.375 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1714, allocations: 8.297 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.1715, allocations: 34.27 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1715, allocations: 3.938 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1715, allocations: 4 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1715, allocations: 3.984 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.1716, allocations: 11.98 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.1718, allocations: 153.7 kB / 0.6827 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.1719, allocations: 34.45 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.1719, allocations: 8.859 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008486/0.1728, allocations: 0.6884 MB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1728, allocations: 30.56 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1728, allocations: 3.938 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.173, allocations: 53.62 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.173, allocations: 51.41 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.753e-05/0.1731, allocations: 89.86 kB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1731, allocations: 25.7 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.1731, allocations: 84.14 kB / 0.6837 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.1732, allocations: 15.8 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.1732, allocations: 17.66 kB / 0.6837 GB, free: 12.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.1733, allocations: 314.8 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.1733, allocations: 8 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.1733, allocations: 17.7 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.1734, allocations: 21.72 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1734, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.783e-05/0.1735, allocations: 53.62 kB / 0.6841 GB, free: 12.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1735, allocations: 4 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1735, allocations: 7.938 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1735, allocations: 4.031 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.878e-05/0.1735, allocations: 4 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1736, allocations: 3.984 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.1736, allocations: 4 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1736, allocations: 0 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.1737, allocations: 107.2 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1737, allocations: 4 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.043e-05/0.1738, allocations: 53.06 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1738, allocations: 4 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1738, allocations: 0 / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1738, allocations: 0 / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1739, allocations: 161.7 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1739, allocations: 3.938 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.174, allocations: 4.375 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.174, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.174, allocations: 3.938 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.174, allocations: 3.984 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.174, allocations: 4 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.1741, allocations: 88.95 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1742, allocations: 81.05 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1742, allocations: 3.938 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.1742, allocations: 3.938 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.1742, allocations: 8.016 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1742, allocations: 0 / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.1742, allocations: 75.28 kB / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 0 / 0.6847 GB, free: 11.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1745, allocations: 48.06 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005211/0.175, allocations: 0.6788 MB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.1751, allocations: 15.98 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1751, allocations: 0 / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.1752, allocations: 12.12 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1753, allocations: 3.938 kB / 0.6855 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.1762, allocations: 1.116 MB / 0.6866 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1765, allocations: 0.6806 MB / 0.6872 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.74e-05/0.1765, allocations: 0 / 0.6872 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.1765, allocations: 11.44 kB / 0.6872 GB, free: 8.836 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1765, allocations: 0 / 0.6872 GB, free: 8.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.2001, allocations: 2.087 MB / 0.6893 GB, free: 6.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.505, allocations: 13.62 kB / 0.6893 GB, free: 6.832 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)