Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.00701/0.00701, allocations: 99.06 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 189 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7511/0.7511, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 66.28 kB / 0.5808 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1653, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002259/0.1676, allocations: 1.265 MB / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003743/0.1713, allocations: 2.933 MB / 0.6633 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.1714, allocations: 0 / 0.6633 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.1714, allocations: 0 / 0.6633 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.1715, allocations: 3.938 kB / 0.6633 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.1721, allocations: 111.5 kB / 0.6634 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/0.1722, allocations: 27.92 kB / 0.6634 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.1723, allocations: 11.92 kB / 0.6634 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.1729, allocations: 168.8 kB / 0.6636 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.1729, allocations: 15.97 kB / 0.6636 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.173, allocations: 4 kB / 0.6636 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1732, allocations: 63.81 kB / 0.6636 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1732, allocations: 8 kB / 0.6637 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.1732, allocations: 19.92 kB / 0.6637 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1734, allocations: 56.14 kB / 0.6637 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1735, allocations: 0 / 0.6637 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1735, allocations: 3.938 kB / 0.6637 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1735, allocations: 0 / 0.6637 GB, free: 9.285 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004598/0.1739, allocations: 355.3 kB / 0.6641 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.174, allocations: 8.031 kB / 0.6641 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.174, allocations: 38.69 kB / 0.6641 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1741, allocations: 8.938 kB / 0.6641 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1742, allocations: 160.4 kB / 0.6643 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1742, allocations: 4.375 kB / 0.6643 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1743, allocations: 8.375 kB / 0.6643 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1744, allocations: 61.58 kB / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1744, allocations: 0 / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1744, allocations: 0 / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1744, allocations: 0 / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.1745, allocations: 27.91 kB / 0.6644 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1747, allocations: 169.6 kB / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.1748, allocations: 46.56 kB / 0.6646 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.1749, allocations: 16.84 kB / 0.6646 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/0.1756, allocations: 0.5948 MB / 0.6652 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1757, allocations: 30.56 kB / 0.6652 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1757, allocations: 4 kB / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006452/0.1763, allocations: 302.2 kB / 0.6655 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1764, allocations: 55.41 kB / 0.6656 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.1765, allocations: 105.8 kB / 0.6657 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1765, allocations: 25.7 kB / 0.6657 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.1766, allocations: 88.09 kB / 0.6658 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.1766, allocations: 35.73 kB / 0.6658 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1766, allocations: 25.66 kB / 0.6658 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.1767, allocations: 318.8 kB / 0.6661 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.1768, allocations: 12 kB / 0.6661 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.1768, allocations: 49.14 kB / 0.6662 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.28e-05/0.1769, allocations: 81.02 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1769, allocations: 448 / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001357/0.1771, allocations: 93.55 kB / 0.6663 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1771, allocations: 11.94 kB / 0.6664 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1771, allocations: 4.125 kB / 0.6664 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1771, allocations: 4 kB / 0.6664 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.1772, allocations: 20 kB / 0.6664 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1772, allocations: 3.984 kB / 0.6664 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.1773, allocations: 7.938 kB / 0.6664 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1773, allocations: 8 kB / 0.6664 GB, free: 6.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.533e-05/0.1774, allocations: 113.8 kB / 0.6665 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1774, allocations: 8.234 kB / 0.6665 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.1774, allocations: 7.969 kB / 0.6665 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1775, allocations: 11.98 kB / 0.6665 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1775, allocations: 0 / 0.6665 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1775, allocations: 3.938 kB / 0.6665 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1777, allocations: 173.7 kB / 0.6667 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1777, allocations: 0 / 0.6667 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.1778, allocations: 15.98 kB / 0.6667 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1778, allocations: 0 / 0.6667 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1778, allocations: 4 kB / 0.6667 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1778, allocations: 0 / 0.6667 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1779, allocations: 0 / 0.6667 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.178, allocations: 183.5 kB / 0.6669 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.1781, allocations: 85.06 kB / 0.667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1781, allocations: 0 / 0.667 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1782, allocations: 11.97 kB / 0.667 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.1783, allocations: 3.938 kB / 0.667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.1783, allocations: 8 kB / 0.667 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.1783, allocations: 75.28 kB / 0.6671 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1783, allocations: 0 / 0.6671 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002397/0.1786, allocations: 20 kB / 0.6671 GB, free: 5.316 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004409/0.179, allocations: 0.7085 MB / 0.6678 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1791, allocations: 44.17 kB / 0.6678 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1791, allocations: 4 kB / 0.6678 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.1792, allocations: 12 kB / 0.6678 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1795, allocations: 11.88 kB / 0.6679 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.181, allocations: 1.535 MB / 0.6694 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1813, allocations: 0.6885 MB / 0.67 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.1813, allocations: 8 kB / 0.67 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.1814, allocations: 11.44 kB / 0.67 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1814, allocations: 4 kB / 0.6701 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2006, allocations: 1.644 MB / 0.6717 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.525, allocations: 14.89 kB / 0.6717 GB, free: 0.5898 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)