Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 106 kB / 16.4 MB, free: 6.504 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.00133/0.00133, allocations: 193.2 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.397/1.397, allocations: 222.9 MB / 241 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.7282/0.7282, allocations: 115.3 MB / 406.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.61 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006434/0.1666, allocations: 3.997 MB / 0.636 GB, free: 396 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.1668, allocations: 159.4 kB / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.1668, allocations: 0 / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.167, allocations: 0 / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.375e-05/0.1671, allocations: 23.91 kB / 0.6361 GB, free: 212 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1674, allocations: 82.19 kB / 0.6362 GB, free: 132 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.1675, allocations: 27.92 kB / 0.6362 GB, free: 104 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.1676, allocations: 3.984 kB / 0.6362 GB, free: 100 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.1676, allocations: 19.92 kB / 0.6363 GB, free: 80 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.1677, allocations: 11.94 kB / 0.6363 GB, free: 68 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1677, allocations: 7.984 kB / 0.6363 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.168, allocations: 59.81 kB / 0.6363 GB, free: 0 / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.1681, allocations: 12.06 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.1681, allocations: 7.938 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1682, allocations: 39.81 kB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1683, allocations: 4 kB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1683, allocations: 0 / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1683, allocations: 0 / 0.6364 GB, free: 15.94 MB / 494.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.0004491/0.1687, allocations: 335.4 kB / 0.6367 GB, free: 15.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1688, allocations: 8.031 kB / 0.6367 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.1688, allocations: 4.938 kB / 0.6367 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.169, allocations: 168.4 kB / 0.6369 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.169, allocations: 26.27 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1691, allocations: 4.375 kB / 0.6369 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1692, allocations: 53.56 kB / 0.637 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1693, allocations: 0 / 0.637 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1693, allocations: 3.984 kB / 0.637 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1693, allocations: 0 / 0.637 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.1694, allocations: 15.98 kB / 0.637 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1698, allocations: 334 kB / 0.6373 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.1699, allocations: 22.58 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.1699, allocations: 8.797 kB / 0.6373 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-05/0.17, allocations: 85.16 kB / 0.6374 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.17, allocations: 34.56 kB / 0.6375 GB, free: 14.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.17, allocations: 0 / 0.6375 GB, free: 14.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.1702, allocations: 33.7 kB / 0.6375 GB, free: 14.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1702, allocations: 51.41 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.1703, allocations: 113.8 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1704, allocations: 25.7 kB / 0.6377 GB, free: 14.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.1704, allocations: 88.05 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.39e-06/0.1704, allocations: 7.906 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1705, allocations: 17.66 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1706, allocations: 322.9 kB / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.1706, allocations: 7.938 kB / 0.6381 GB, free: 13.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.1706, allocations: 13.72 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.1707, allocations: 25.7 kB / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1707, allocations: 0 / 0.6381 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.416e-05/0.1708, allocations: 45.64 kB / 0.6382 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1708, allocations: 12.06 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1708, allocations: 3.984 kB / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1708, allocations: 0 / 0.6382 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.1709, allocations: 4 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1709, allocations: 4 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.1709, allocations: 3.938 kB / 0.6382 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1709, allocations: 0 / 0.6382 GB, free: 13.82 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 6.876e-05/0.171, allocations: 113.8 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.171, allocations: 0 / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.1712, allocations: 132.8 kB / 0.6384 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.177e-05/0.1712, allocations: 176.3 kB / 0.6386 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.987e-05/0.1713, allocations: 180.2 kB / 0.6388 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-05/0.1714, allocations: 184.3 kB / 0.639 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1716, allocations: 409.2 kB / 0.6393 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.1716, allocations: 112.9 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1717, allocations: 101 kB / 0.6396 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.003e-05/0.1717, allocations: 180.2 kB / 0.6397 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.1718, allocations: 176.3 kB / 0.6399 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.084e-05/0.1719, allocations: 188.2 kB / 0.6401 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.905e-05/0.1719, allocations: 180.3 kB / 0.6402 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.1721, allocations: 307.7 kB / 0.6405 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.1722, allocations: 182.1 kB / 0.6407 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.1722, allocations: 192.2 kB / 0.6409 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1724, allocations: 101 kB / 0.641 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.1725, allocations: 184.3 kB / 0.6412 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.1725, allocations: 104.9 kB / 0.6413 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.1726, allocations: 87.27 kB / 0.6413 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1726, allocations: 0 / 0.6413 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1728, allocations: 19.94 kB / 0.6414 GB, free: 10.36 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.0002658/0.1731, allocations: 198.4 kB / 0.6416 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.674e-05/0.1732, allocations: 11.94 kB / 0.6416 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1732, allocations: 0 / 0.6416 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-06/0.1732, allocations: 3.938 kB / 0.6416 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1736, allocations: 459.7 kB / 0.642 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.1739, allocations: 186 kB / 0.6422 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1742, allocations: 0.6768 MB / 0.6428 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.1742, allocations: 4 kB / 0.6429 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.1742, allocations: 7.438 kB / 0.6429 GB, free: 8.762 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1742, allocations: 3.938 kB / 0.6429 GB, free: 8.758 MB / 494.1 MB Notification: Performance of Templates: time 0.002851/0.1771, allocations: 0.6434 MB / 0.6435 GB, free: 8.121 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)