Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007956/0.007956, allocations: 102.6 kB / 15.73 MB, free: 6.02 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.001725/0.001726, allocations: 194.7 kB / 16.68 MB, free: 5.941 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8315/0.8315, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 62.78 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1687, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005001/0.1737, allocations: 3.285 MB / 0.6629 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.1739, allocations: 59.78 kB / 0.6629 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1739, allocations: 0 / 0.6629 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.174, allocations: 3.938 kB / 0.663 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.1741, allocations: 7.938 kB / 0.663 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.1748, allocations: 195.2 kB / 0.6631 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.1749, allocations: 31.86 kB / 0.6632 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.1749, allocations: 4 kB / 0.6632 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.175, allocations: 15.97 kB / 0.6632 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.188e-05/0.1751, allocations: 19.92 kB / 0.6632 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1751, allocations: 0 / 0.6632 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.1755, allocations: 171.6 kB / 0.6634 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.1755, allocations: 7.984 kB / 0.6634 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.1756, allocations: 4 kB / 0.6634 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1759, allocations: 143.6 kB / 0.6635 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1759, allocations: 0 / 0.6635 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1759, allocations: 0 / 0.6635 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1759, allocations: 0 / 0.6635 GB, free: 6.301 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.0004763/0.1764, allocations: 351.5 kB / 0.6639 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1764, allocations: 8.031 kB / 0.6639 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.1765, allocations: 0.9375 kB / 0.6639 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.1766, allocations: 172.3 kB / 0.664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.1767, allocations: 34.25 kB / 0.6641 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1768, allocations: 384 / 0.6641 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.1769, allocations: 49.62 kB / 0.6641 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.177, allocations: 0 / 0.6641 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.177, allocations: 3.938 kB / 0.6641 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.177, allocations: 0 / 0.6641 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.1771, allocations: 15.98 kB / 0.6641 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.1781, allocations: 0.5833 MB / 0.6647 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.1781, allocations: 18.58 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.1782, allocations: 8.922 kB / 0.6647 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/0.1785, allocations: 344.4 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.1786, allocations: 38.48 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.953e-06/0.1786, allocations: 0 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002139/0.1788, allocations: 33.7 kB / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1789, allocations: 55.53 kB / 0.6652 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.179, allocations: 105.8 kB / 0.6653 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.179, allocations: 25.7 kB / 0.6653 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.1791, allocations: 84.05 kB / 0.6654 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.1791, allocations: 4 kB / 0.6654 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.1791, allocations: 17.62 kB / 0.6654 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1793, allocations: 322.7 kB / 0.6657 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.1793, allocations: 8 kB / 0.6657 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.1794, allocations: 25.66 kB / 0.6657 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.1794, allocations: 25.7 kB / 0.6658 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1794, allocations: 0 / 0.6658 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.947e-05/0.1795, allocations: 41.64 kB / 0.6658 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1796, allocations: 4 kB / 0.6658 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.1796, allocations: 4 kB / 0.6658 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.1796, allocations: 12.05 kB / 0.6658 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.157e-05/0.1797, allocations: 8 kB / 0.6658 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1797, allocations: 0 / 0.6658 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.1797, allocations: 3.938 kB / 0.6658 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1797, allocations: 4 kB / 0.6658 GB, free: 3.539 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.951e-05/0.1798, allocations: 110.7 kB / 0.6659 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1799, allocations: 4 kB / 0.666 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.18, allocations: 124.9 kB / 0.6661 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.668e-05/0.1801, allocations: 180.3 kB / 0.6662 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.661e-05/0.1802, allocations: 184.1 kB / 0.6664 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.596e-05/0.1803, allocations: 176.3 kB / 0.6666 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.1805, allocations: 409.2 kB / 0.667 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/0.1806, allocations: 112.9 kB / 0.6671 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1807, allocations: 105.3 kB / 0.6672 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/0.1808, allocations: 184.2 kB / 0.6674 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.1809, allocations: 176.3 kB / 0.6675 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001195/0.181, allocations: 176.3 kB / 0.6677 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-05/0.1811, allocations: 184.2 kB / 0.6679 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1813, allocations: 323.6 kB / 0.6682 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1814, allocations: 178.1 kB / 0.6684 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-05/0.1815, allocations: 180.3 kB / 0.6685 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1817, allocations: 116.9 kB / 0.6686 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.1818, allocations: 180.3 kB / 0.6688 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.1818, allocations: 108.9 kB / 0.6689 GB, free: 176 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.771e-05/0.1819, allocations: 87.27 kB / 0.669 GB, free: 88 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1819, allocations: 0 / 0.669 GB, free: 88 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003401/0.1822, allocations: 28 kB / 0.669 GB, free: 60 kB / 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.0004065/0.1827, allocations: 234.4 kB / 0.6692 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.041e-05/0.1828, allocations: 11.98 kB / 0.6693 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1828, allocations: 0 / 0.6693 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.1828, allocations: 0 / 0.6693 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.1833, allocations: 473.7 kB / 0.6697 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.1837, allocations: 174 kB / 0.6699 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.184, allocations: 0.6767 MB / 0.6705 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.679e-05/0.184, allocations: 6.812 kB / 0.6705 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.184, allocations: 15.44 kB / 0.6706 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1841, allocations: 0 / 0.6706 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.004142/0.1882, allocations: 1.209 MB / 0.6717 GB, free: 13.26 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)