Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001157/0.001157, allocations: 113.5 kB / 17.05 MB, free: 5.77 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.001038/0.001038, allocations: 192 kB / 17.99 MB, free: 4.969 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.3 MB / 407.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.78 kB / 0.5582 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1568, allocations: 76.17 MB / 0.6326 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005008/0.1619, allocations: 3.273 MB / 0.6358 GB, free: 1.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001028/0.162, allocations: 63.72 kB / 0.6359 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.1621, allocations: 0 / 0.6359 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1622, allocations: 0 / 0.6359 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.1623, allocations: 11.92 kB / 0.6359 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.1628, allocations: 186 kB / 0.6361 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.167e-05/0.1629, allocations: 31.92 kB / 0.6361 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.163, allocations: 3.984 kB / 0.6361 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.163, allocations: 15.92 kB / 0.6361 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.1631, allocations: 19.92 kB / 0.6361 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1631, allocations: 0 / 0.6361 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.1635, allocations: 175.6 kB / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.1635, allocations: 7.984 kB / 0.6363 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1635, allocations: 4 kB / 0.6363 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1638, allocations: 143.6 kB / 0.6364 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1638, allocations: 0 / 0.6364 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1638, allocations: 4 kB / 0.6364 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1638, allocations: 0 / 0.6364 GB, free: 0.5312 MB / 478.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.0004465/0.1643, allocations: 343.5 kB / 0.6368 GB, free: 152 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1643, allocations: 8.031 kB / 0.6368 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.1644, allocations: 4.844 kB / 0.6368 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1646, allocations: 168.4 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.1646, allocations: 26.27 kB / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.1646, allocations: 384 / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1648, allocations: 49.62 kB / 0.637 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1648, allocations: 3.938 kB / 0.637 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1648, allocations: 3.984 kB / 0.637 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1649, allocations: 0 / 0.637 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.1649, allocations: 15.92 kB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.1656, allocations: 0.5872 MB / 0.6376 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.35e-05/0.1656, allocations: 18.56 kB / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.1657, allocations: 8.922 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.1659, allocations: 340.4 kB / 0.638 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.166, allocations: 30.56 kB / 0.638 GB, free: 14.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.166, allocations: 0 / 0.638 GB, free: 14.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.1661, allocations: 41.64 kB / 0.638 GB, free: 14.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1662, allocations: 55.39 kB / 0.6381 GB, free: 14.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.1663, allocations: 101.9 kB / 0.6382 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1663, allocations: 25.7 kB / 0.6382 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.1663, allocations: 84.05 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.1664, allocations: 15.88 kB / 0.6383 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1664, allocations: 17.66 kB / 0.6383 GB, free: 14.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1665, allocations: 318.9 kB / 0.6386 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.1666, allocations: 8 kB / 0.6386 GB, free: 13.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.1666, allocations: 21.7 kB / 0.6386 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.1667, allocations: 25.66 kB / 0.6387 GB, free: 13.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1667, allocations: 0 / 0.6387 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.343e-05/0.1667, allocations: 41.69 kB / 0.6387 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1668, allocations: 8.062 kB / 0.6387 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1668, allocations: 3.938 kB / 0.6387 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1668, allocations: 4 kB / 0.6387 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.1668, allocations: 8 kB / 0.6387 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1669, allocations: 0 / 0.6387 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1669, allocations: 3.938 kB / 0.6387 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1669, allocations: 4 kB / 0.6387 GB, free: 13.79 MB / 494.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 7.909e-05/0.167, allocations: 117.7 kB / 0.6389 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.167, allocations: 4 kB / 0.6389 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1671, allocations: 117 kB / 0.639 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-05/0.1672, allocations: 188.2 kB / 0.6392 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.1673, allocations: 176.3 kB / 0.6393 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.556e-05/0.1674, allocations: 180.2 kB / 0.6395 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1676, allocations: 417.2 kB / 0.6399 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-05/0.1677, allocations: 105 kB / 0.64 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1677, allocations: 104.9 kB / 0.6401 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.408e-05/0.1678, allocations: 180.3 kB / 0.6403 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.1679, allocations: 184.2 kB / 0.6404 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.1679, allocations: 176.3 kB / 0.6406 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.665e-05/0.168, allocations: 188.2 kB / 0.6408 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1681, allocations: 303.7 kB / 0.6411 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1682, allocations: 190 kB / 0.6413 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.1683, allocations: 180.3 kB / 0.6414 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1685, allocations: 112.9 kB / 0.6415 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.1686, allocations: 184.2 kB / 0.6417 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.1686, allocations: 101 kB / 0.6418 GB, free: 10.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.391e-05/0.1687, allocations: 87.28 kB / 0.6419 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1687, allocations: 0 / 0.6419 GB, free: 10.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.169, allocations: 35.98 kB / 0.6419 GB, free: 10.3 MB / 494.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.0002829/0.1693, allocations: 241 kB / 0.6422 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.1693, allocations: 8 kB / 0.6422 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1693, allocations: 0 / 0.6422 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1694, allocations: 0 / 0.6422 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.1698, allocations: 471 kB / 0.6426 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.1702, allocations: 211.5 kB / 0.6428 GB, free: 9.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.1706, allocations: 0.6729 MB / 0.6435 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1706, allocations: 15.38 kB / 0.6435 GB, free: 8.633 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1707, allocations: 4 kB / 0.6435 GB, free: 8.629 MB / 494.1 MB Notification: Performance of Templates: time 0.002948/0.1736, allocations: 1.184 MB / 0.6446 GB, free: 7.461 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)