Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00134/0.00134, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001246/0.001246, allocations: 183 kB / 17.34 MB, free: 5.738 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.343/1.343, 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-master/package.mo): time 0.8062/0.8062, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.62 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1569, allocations: 80.92 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005118/0.1621, allocations: 3.289 MB / 0.6685 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001139/0.1622, allocations: 51.86 kB / 0.6686 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.1623, allocations: 3.938 kB / 0.6686 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.1624, allocations: 3.938 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.339e-05/0.1625, allocations: 15.91 kB / 0.6686 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.1632, allocations: 183.2 kB / 0.6688 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.1633, allocations: 39.84 kB / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.1634, allocations: 0 / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/0.1634, allocations: 15.97 kB / 0.6688 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.1635, allocations: 15.92 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1635, allocations: 0 / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1639, allocations: 171.6 kB / 0.669 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.164, allocations: 11.98 kB / 0.669 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.164, allocations: 4 kB / 0.669 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1643, allocations: 135.6 kB / 0.6691 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1643, allocations: 4 kB / 0.6691 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.447e-06/0.1643, allocations: 4 kB / 0.6691 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1643, allocations: 0 / 0.6691 GB, free: 1.797 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.0004291/0.1648, allocations: 343.5 kB / 0.6695 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1648, allocations: 9.109 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1649, allocations: 0.9375 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.165, allocations: 168.4 kB / 0.6696 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.1651, allocations: 30.25 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1651, allocations: 8.359 kB / 0.6697 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1653, allocations: 49.56 kB / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1653, allocations: 0 / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1653, allocations: 0 / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.1653, allocations: 0 / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.1654, allocations: 19.98 kB / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.166, allocations: 0.5871 MB / 0.6703 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.94e-05/0.1661, allocations: 26.58 kB / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.1661, allocations: 4.859 kB / 0.6703 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.1664, allocations: 344.4 kB / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1664, allocations: 38.55 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.1664, allocations: 0 / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.1666, allocations: 33.7 kB / 0.6707 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1666, allocations: 51.41 kB / 0.6708 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.1667, allocations: 114 kB / 0.6709 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1667, allocations: 25.7 kB / 0.6709 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.1668, allocations: 84.05 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.1668, allocations: 0 / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1668, allocations: 17.72 kB / 0.671 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.1669, allocations: 322.8 kB / 0.6713 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.1669, allocations: 3.938 kB / 0.6713 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.167, allocations: 25.66 kB / 0.6714 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.167, allocations: 25.7 kB / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.167, allocations: 0 / 0.6714 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.844e-05/0.1671, allocations: 49.55 kB / 0.6714 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1671, allocations: 8 kB / 0.6714 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1671, allocations: 0 / 0.6714 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1672, allocations: 3.984 kB / 0.6714 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.1672, allocations: 8.062 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1672, allocations: 0 / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.1672, allocations: 7.938 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1673, allocations: 0 / 0.6715 GB, free: 15.04 MB / 0.5137 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.051e-05/0.1673, allocations: 117.8 kB / 0.6716 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1674, allocations: 0 / 0.6716 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1675, allocations: 124 kB / 0.6717 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/0.1676, allocations: 180.3 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/0.1676, allocations: 184.1 kB / 0.672 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.663e-05/0.1677, allocations: 180.3 kB / 0.6722 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1679, allocations: 405.2 kB / 0.6726 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-05/0.1679, allocations: 112.9 kB / 0.6727 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.168, allocations: 109 kB / 0.6728 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.437e-05/0.168, allocations: 184.2 kB / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.1681, allocations: 176.3 kB / 0.6732 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.966e-05/0.1682, allocations: 176.3 kB / 0.6733 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.406e-05/0.1682, allocations: 184.2 kB / 0.6735 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.1684, allocations: 315.7 kB / 0.6738 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.1684, allocations: 178.1 kB / 0.674 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.1685, allocations: 180.2 kB / 0.6741 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1687, allocations: 113 kB / 0.6742 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.1687, allocations: 180.3 kB / 0.6744 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.1688, allocations: 116.9 kB / 0.6745 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.1688, allocations: 83.27 kB / 0.6746 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1688, allocations: 0 / 0.6746 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002843/0.1691, allocations: 32 kB / 0.6746 GB, free: 11.56 MB / 0.5137 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.0002674/0.1694, allocations: 231.7 kB / 0.6749 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.1695, allocations: 15.98 kB / 0.6749 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.1695, allocations: 0 / 0.6749 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.1695, allocations: 3.938 kB / 0.6749 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1699, allocations: 463.1 kB / 0.6753 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.1702, allocations: 207.6 kB / 0.6755 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1704, allocations: 0.6768 MB / 0.6762 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1705, allocations: 11.38 kB / 0.6762 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1705, allocations: 0 / 0.6762 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of Templates: time 0.002908/0.1734, allocations: 1.19 MB / 0.6774 GB, free: 8.723 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)