Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001525, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.001603/0.001603, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8202/0.8202, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 66.34 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1624, allocations: 80.21 MB / 0.6603 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006782/0.1692, allocations: 3.719 MB / 0.6639 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002501/0.1695, allocations: 159.5 kB / 0.6641 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.1696, allocations: 0 / 0.6641 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1697, allocations: 3.938 kB / 0.6641 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.1699, allocations: 15.91 kB / 0.6641 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1703, allocations: 83.75 kB / 0.6642 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.1705, allocations: 35.86 kB / 0.6642 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.1705, allocations: 0 / 0.6642 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.1706, allocations: 15.97 kB / 0.6642 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.1707, allocations: 11.94 kB / 0.6643 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1707, allocations: 0 / 0.6643 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.1714, allocations: 195.3 kB / 0.6644 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.1714, allocations: 4 kB / 0.6645 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.1715, allocations: 11.94 kB / 0.6645 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1716, allocations: 47.83 kB / 0.6645 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1717, allocations: 4 kB / 0.6645 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1717, allocations: 0 / 0.6645 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1717, allocations: 0 / 0.6645 GB, free: 6.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005003/0.1722, allocations: 335.5 kB / 0.6648 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1723, allocations: 12.03 kB / 0.6648 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.1723, allocations: 0.9375 kB / 0.6648 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1725, allocations: 164.3 kB / 0.665 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.711e-05/0.1726, allocations: 34.27 kB / 0.665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.1726, allocations: 4.375 kB / 0.665 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1728, allocations: 49.61 kB / 0.6651 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1728, allocations: 0 / 0.6651 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1728, allocations: 3.984 kB / 0.6651 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.1728, allocations: 0 / 0.6651 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.352e-05/0.1729, allocations: 23.86 kB / 0.6651 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.1734, allocations: 334 kB / 0.6654 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.1735, allocations: 22.58 kB / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.1735, allocations: 4.859 kB / 0.6655 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.1736, allocations: 81.17 kB / 0.6655 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1736, allocations: 34.56 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1736, allocations: 0 / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001691/0.1738, allocations: 41.62 kB / 0.6656 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1738, allocations: 51.53 kB / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.1739, allocations: 109.8 kB / 0.6658 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.174, allocations: 25.7 kB / 0.6658 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.174, allocations: 84.05 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-06/0.174, allocations: 3.906 kB / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1741, allocations: 17.72 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1742, allocations: 322.8 kB / 0.6662 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.1742, allocations: 0 / 0.6662 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.1743, allocations: 17.72 kB / 0.6662 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.1743, allocations: 29.66 kB / 0.6662 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1743, allocations: 0 / 0.6662 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.051e-05/0.1744, allocations: 49.62 kB / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1744, allocations: 10.19 kB / 0.6663 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1744, allocations: 288 / 0.6663 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1744, allocations: 0 / 0.6663 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.1745, allocations: 12.05 kB / 0.6663 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1745, allocations: 0 / 0.6663 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.1745, allocations: 4 kB / 0.6663 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1745, allocations: 0 / 0.6663 GB, free: 3.988 MB / 0.4981 GB 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 (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 prepare postOptimizeDAE: time 8.502e-05/0.1746, allocations: 122.6 kB / 0.6664 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.1747, allocations: 3.984 kB / 0.6664 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.1748, allocations: 128.8 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.201e-05/0.1749, allocations: 180.3 kB / 0.6667 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-05/0.175, allocations: 176.3 kB / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/0.1751, allocations: 184.2 kB / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.1754, allocations: 405.2 kB / 0.6675 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.1755, allocations: 104.9 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1756, allocations: 109 kB / 0.6677 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.116e-05/0.1757, allocations: 188.2 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.1757, allocations: 180.2 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.452e-05/0.1758, allocations: 176.3 kB / 0.6682 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.063e-05/0.1759, allocations: 184.2 kB / 0.6684 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.176, allocations: 311.8 kB / 0.6687 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.1761, allocations: 182 kB / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.1762, allocations: 184.2 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1763, allocations: 108.9 kB / 0.6691 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1764, allocations: 180.3 kB / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1765, allocations: 113 kB / 0.6694 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.1765, allocations: 87.2 kB / 0.6695 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1765, allocations: 0 / 0.6695 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002634/0.1768, allocations: 12 kB / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0002607/0.1771, allocations: 198.4 kB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.748e-05/0.1771, allocations: 12.06 kB / 0.6697 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1772, allocations: 4.062 kB / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.1772, allocations: 0 / 0.6697 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.1776, allocations: 459.9 kB / 0.6701 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.178, allocations: 207.7 kB / 0.6703 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1783, allocations: 0.6807 MB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1783, allocations: 7.438 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1783, allocations: 0 / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002291/0.1806, allocations: 0.7523 MB / 0.6717 GB, free: 14.15 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)