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.001461/0.001461, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.001473/0.001473, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 58.38 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1512, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005445/0.1566, allocations: 3.295 MB / 0.6636 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.1568, allocations: 51.78 kB / 0.6636 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1568, allocations: 0 / 0.6636 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.157, allocations: 8 kB / 0.6636 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.1571, allocations: 11.91 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.1577, allocations: 183.2 kB / 0.6638 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.1578, allocations: 35.84 kB / 0.6638 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.1579, allocations: 7.984 kB / 0.6638 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.1579, allocations: 8 kB / 0.6638 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.158, allocations: 19.91 kB / 0.6639 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.158, allocations: 4 kB / 0.6639 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.1584, allocations: 167.6 kB / 0.664 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.1584, allocations: 11.98 kB / 0.664 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.1585, allocations: 4 kB / 0.664 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1587, allocations: 139.6 kB / 0.6642 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1588, allocations: 0 / 0.6642 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1588, allocations: 0 / 0.6642 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.1588, allocations: 0 / 0.6642 GB, free: 6.328 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.0004241/0.1592, allocations: 351.5 kB / 0.6645 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1592, allocations: 12.03 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1593, allocations: 0.9375 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1594, allocations: 172.2 kB / 0.6647 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.1595, allocations: 30.25 kB / 0.6647 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.1595, allocations: 384 / 0.6647 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1596, allocations: 49.56 kB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1597, allocations: 0 / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1597, allocations: 4 kB / 0.6648 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1597, allocations: 7.938 kB / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.1597, allocations: 15.98 kB / 0.6648 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.1604, allocations: 0.5794 MB / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.501e-05/0.1604, allocations: 14.58 kB / 0.6654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.1604, allocations: 8.922 kB / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/0.1607, allocations: 348.4 kB / 0.6657 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1607, allocations: 42.5 kB / 0.6658 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.1607, allocations: 0 / 0.6658 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.1609, allocations: 33.7 kB / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1609, allocations: 51.41 kB / 0.6658 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.161, allocations: 105.8 kB / 0.6659 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.161, allocations: 25.7 kB / 0.666 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.1611, allocations: 84.05 kB / 0.666 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-06/0.1611, allocations: 0 / 0.666 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.1611, allocations: 25.75 kB / 0.6661 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1612, allocations: 318.8 kB / 0.6664 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.1613, allocations: 4 kB / 0.6664 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.1613, allocations: 25.66 kB / 0.6664 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.1613, allocations: 21.7 kB / 0.6664 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1614, allocations: 4 kB / 0.6664 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.2e-05/0.1614, allocations: 45.64 kB / 0.6665 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1615, allocations: 7.984 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1615, allocations: 4 kB / 0.6665 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1615, allocations: 0 / 0.6665 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.1615, allocations: 4 kB / 0.6665 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1615, allocations: 0 / 0.6665 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.1616, allocations: 3.938 kB / 0.6665 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1616, allocations: 4 kB / 0.6665 GB, free: 3.574 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.129e-05/0.1617, allocations: 118.7 kB / 0.6666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.1617, allocations: 8 kB / 0.6666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.1618, allocations: 127.8 kB / 0.6667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.1619, allocations: 176.3 kB / 0.6669 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-05/0.1619, allocations: 184.2 kB / 0.6671 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.157e-05/0.162, allocations: 184.2 kB / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.1622, allocations: 405.2 kB / 0.6676 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/0.1623, allocations: 116.9 kB / 0.6677 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.1623, allocations: 104.9 kB / 0.6678 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.193e-05/0.1624, allocations: 184.2 kB / 0.668 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.1625, allocations: 176.3 kB / 0.6682 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.879e-05/0.1625, allocations: 180.3 kB / 0.6684 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-05/0.1626, allocations: 184.2 kB / 0.6685 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1627, allocations: 315.6 kB / 0.6688 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.167e-05/0.1628, allocations: 178.1 kB / 0.669 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/0.1629, allocations: 184.2 kB / 0.6692 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1631, allocations: 112.9 kB / 0.6693 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.1631, allocations: 180.3 kB / 0.6695 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.1632, allocations: 108.9 kB / 0.6696 GB, free: 200 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.1632, allocations: 83.27 kB / 0.6696 GB, free: 116 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1632, allocations: 0 / 0.6696 GB, free: 116 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003013/0.1636, allocations: 32 kB / 0.6697 GB, free: 84 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.000305/0.1639, allocations: 234.3 kB / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.164, allocations: 16.06 kB / 0.6699 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.164, allocations: 0 / 0.6699 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.164, allocations: 3.938 kB / 0.6699 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.1644, allocations: 455.7 kB / 0.6704 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.1647, allocations: 199.7 kB / 0.6705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.165, allocations: 0.6807 MB / 0.6712 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.165, allocations: 11.44 kB / 0.6712 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of SimCode: time 2.555e-06/0.165, allocations: 0 / 0.6712 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.002636/0.1677, allocations: 1.191 MB / 0.6724 GB, free: 13.25 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)