Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008167/0.008167, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001557/0.001557, allocations: 192.2 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.344 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4309/0.4309, allocations: 54.95 MB / 324.8 MB, free: 72 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 70.8 kB / 456.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 59.6 MB / 0.5037 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005244/0.1555, allocations: 4.007 MB / 0.5076 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.1557, allocations: 160.8 kB / 0.5078 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.1558, allocations: 1.438 kB / 0.5078 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1559, allocations: 0 / 0.5078 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.156, allocations: 10.69 kB / 0.5078 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1564, allocations: 78.66 kB / 0.5079 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.1564, allocations: 24.42 kB / 0.5079 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.088e-05/0.1565, allocations: 1.375 kB / 0.5079 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.1566, allocations: 24.16 kB / 0.5079 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.1567, allocations: 9.438 kB / 0.5079 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1567, allocations: 1.375 kB / 0.5079 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.1569, allocations: 64.55 kB / 0.508 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.157, allocations: 10.73 kB / 0.508 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.157, allocations: 4.125 kB / 0.508 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1571, allocations: 37.91 kB / 0.508 GB, free: 6.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1572, allocations: 4 kB / 0.508 GB, free: 6.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1572, allocations: 0 / 0.508 GB, free: 6.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1572, allocations: 1.375 kB / 0.508 GB, free: 6.062 MB / 382.1 MB 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.0003877/0.1576, allocations: 334.5 kB / 0.5084 GB, free: 5.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1576, allocations: 9.625 kB / 0.5084 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.1577, allocations: 2.312 kB / 0.5084 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.1578, allocations: 161.8 kB / 0.5085 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.1578, allocations: 27.64 kB / 0.5085 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1579, allocations: 5.75 kB / 0.5086 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.158, allocations: 55.17 kB / 0.5086 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.158, allocations: 0 / 0.5086 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.158, allocations: 0 / 0.5086 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1581, allocations: 1.375 kB / 0.5086 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1581, allocations: 13.61 kB / 0.5086 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1585, allocations: 337 kB / 0.5089 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.888e-05/0.1586, allocations: 27.94 kB / 0.509 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.1586, allocations: 10.22 kB / 0.509 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.1587, allocations: 82.61 kB / 0.5091 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1587, allocations: 31.94 kB / 0.5091 GB, free: 4.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.1587, allocations: 0 / 0.5091 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001723/0.1589, allocations: 35.19 kB / 0.5091 GB, free: 4.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.159, allocations: 56.91 kB / 0.5092 GB, free: 4.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.159, allocations: 102 kB / 0.5093 GB, free: 4.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1591, allocations: 27.08 kB / 0.5093 GB, free: 4.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1591, allocations: 84.05 kB / 0.5094 GB, free: 4.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.1591, allocations: 9.297 kB / 0.5094 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1592, allocations: 17.84 kB / 0.5094 GB, free: 4.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.1592, allocations: 318.7 kB / 0.5097 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.1592, allocations: 2.75 kB / 0.5097 GB, free: 4.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.1593, allocations: 25.83 kB / 0.5097 GB, free: 4.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.244e-05/0.1593, allocations: 16.59 kB / 0.5098 GB, free: 4.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1593, allocations: 0 / 0.5098 GB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.935e-05/0.1594, allocations: 53.91 kB / 0.5098 GB, free: 4.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1594, allocations: 5.5 kB / 0.5098 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1594, allocations: 5.375 kB / 0.5098 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1595, allocations: 64 / 0.5098 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.576e-05/0.1595, allocations: 9.5 kB / 0.5098 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1595, allocations: 0 / 0.5098 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.1595, allocations: 5.312 kB / 0.5098 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1596, allocations: 2.75 kB / 0.5098 GB, free: 4.078 MB / 382.1 MB 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 6.003e-05/0.1596, allocations: 119.1 kB / 0.5099 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1597, allocations: 1.375 kB / 0.5099 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1598, allocations: 115.7 kB / 0.5101 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.1598, allocations: 181.6 kB / 0.5102 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/0.1598, allocations: 189.6 kB / 0.5104 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.1599, allocations: 176.3 kB / 0.5106 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.16, allocations: 407.8 kB / 0.511 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.1601, allocations: 106.4 kB / 0.5111 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.1601, allocations: 106.4 kB / 0.5112 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.037e-05/0.1601, allocations: 184.2 kB / 0.5113 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.1602, allocations: 177.6 kB / 0.5115 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-05/0.1602, allocations: 189.5 kB / 0.5117 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.1602, allocations: 177.6 kB / 0.5119 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.45e-05/0.1603, allocations: 311.8 kB / 0.5122 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.1603, allocations: 183.5 kB / 0.5123 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1604, allocations: 181.6 kB / 0.5125 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1605, allocations: 102.4 kB / 0.5126 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1605, allocations: 181.6 kB / 0.5128 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1606, allocations: 114.3 kB / 0.5129 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.1606, allocations: 79.41 kB / 0.513 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.1606, allocations: 0 / 0.513 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1609, allocations: 18.94 kB / 0.513 GB, free: 0.6719 MB / 382.1 MB 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.0002253/0.1611, allocations: 203.3 kB / 0.5132 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.1612, allocations: 9.5 kB / 0.5132 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1612, allocations: 1.375 kB / 0.5132 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.1612, allocations: 3.938 kB / 0.5132 GB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.1615, allocations: 462.4 kB / 0.5136 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.1618, allocations: 180.9 kB / 0.5138 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1621, allocations: 0.6797 MB / 0.5145 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.1621, allocations: 2.906 kB / 0.5145 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1622, allocations: 10.19 kB / 0.5145 GB, free: 15.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1622, allocations: 0 / 0.5145 GB, free: 15.14 MB / 398.1 MB Notification: Performance of Templates: time 0.003058/0.1652, allocations: 0.5963 MB / 0.5151 GB, free: 14.8 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)