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.00114/0.00114, allocations: 109.1 kB / 16.52 MB, free: 6.266 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.001187/0.001187, allocations: 197 kB / 17.44 MB, free: 5.887 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.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7139/0.7139, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.001411, allocations: 63.91 kB / 493.5 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3675, allocations: 76.17 MB / 0.5564 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005089/0.3727, allocations: 4.054 MB / 0.5603 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001978/0.3729, allocations: 150.5 kB / 0.5605 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.3729, allocations: 0.5312 kB / 0.5605 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.373, allocations: 5.969 kB / 0.5605 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.3731, allocations: 14.58 kB / 0.5605 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.3735, allocations: 79.34 kB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.861e-05/0.3736, allocations: 54.08 kB / 0.5606 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.3736, allocations: 2.875 kB / 0.5606 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.3737, allocations: 23.47 kB / 0.5606 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.3737, allocations: 10.56 kB / 0.5606 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3738, allocations: 1.125 kB / 0.5606 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.374, allocations: 76.05 kB / 0.5607 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.374, allocations: 5.469 kB / 0.5607 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.3741, allocations: 15.08 kB / 0.5607 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.802e-05/0.3742, allocations: 37.31 kB / 0.5608 GB, free: 33.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3742, allocations: 0 / 0.5608 GB, free: 33.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3742, allocations: 0.8906 kB / 0.5608 GB, free: 33.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3742, allocations: 0 / 0.5608 GB, free: 33.25 MB / 446.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.000312/0.3745, allocations: 338.2 kB / 0.5611 GB, free: 32.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3746, allocations: 12.78 kB / 0.5611 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3746, allocations: 5.906 kB / 0.5611 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.634e-05/0.3747, allocations: 162.3 kB / 0.5613 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.3748, allocations: 33.06 kB / 0.5613 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3748, allocations: 2.906 kB / 0.5613 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.3749, allocations: 53.89 kB / 0.5614 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3749, allocations: 0 / 0.5614 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3749, allocations: 0.9688 kB / 0.5614 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.375, allocations: 3.656 kB / 0.5614 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.375, allocations: 16.02 kB / 0.5614 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.3754, allocations: 335.7 kB / 0.5617 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.3754, allocations: 21.23 kB / 0.5617 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.3755, allocations: 5.516 kB / 0.5617 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.3755, allocations: 85.08 kB / 0.5618 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3756, allocations: 37.66 kB / 0.5618 GB, free: 32.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3756, allocations: 0 / 0.5618 GB, free: 32.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.3757, allocations: 38.66 kB / 0.5619 GB, free: 32.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.3757, allocations: 52.11 kB / 0.5619 GB, free: 31.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.3758, allocations: 103.6 kB / 0.562 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3758, allocations: 26.45 kB / 0.562 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.3759, allocations: 90.52 kB / 0.5621 GB, free: 31.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.3759, allocations: 5.625 kB / 0.5621 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.3759, allocations: 15.59 kB / 0.5622 GB, free: 31.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.376, allocations: 318.8 kB / 0.5625 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.376, allocations: 7.391 kB / 0.5625 GB, free: 31.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.376, allocations: 14.56 kB / 0.5625 GB, free: 31.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.3761, allocations: 27.27 kB / 0.5625 GB, free: 31.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3761, allocations: 0.5938 kB / 0.5625 GB, free: 31.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.178e-05/0.3762, allocations: 46.7 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3762, allocations: 5.156 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3762, allocations: 4.969 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3762, allocations: 2.875 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.3763, allocations: 5 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3763, allocations: 2.578 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3763, allocations: 5.438 kB / 0.5626 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3763, allocations: 4.031 kB / 0.5626 GB, free: 31.33 MB / 446.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 5.331e-05/0.3764, allocations: 113 kB / 0.5627 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3764, allocations: 3.234 kB / 0.5627 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.619e-05/0.3765, allocations: 118.6 kB / 0.5628 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.3765, allocations: 183.8 kB / 0.563 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/0.3766, allocations: 178 kB / 0.5631 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/0.3766, allocations: 181.4 kB / 0.5633 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3767, allocations: 418.1 kB / 0.5637 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.3768, allocations: 103.7 kB / 0.5638 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.3768, allocations: 106.4 kB / 0.5639 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/0.3768, allocations: 178.9 kB / 0.5641 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3769, allocations: 183.4 kB / 0.5643 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-05/0.3769, allocations: 178.4 kB / 0.5644 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-05/0.3769, allocations: 186 kB / 0.5646 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.377, allocations: 308.3 kB / 0.5649 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.377, allocations: 192 kB / 0.5651 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.3771, allocations: 185 kB / 0.5653 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3772, allocations: 109.4 kB / 0.5654 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3773, allocations: 179.6 kB / 0.5655 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3773, allocations: 102.7 kB / 0.5656 GB, free: 28.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.3773, allocations: 87.05 kB / 0.5657 GB, free: 27.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3773, allocations: 0.5 kB / 0.5657 GB, free: 27.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.3776, allocations: 12.25 kB / 0.5657 GB, free: 27.96 MB / 446.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.0002521/0.3779, allocations: 208.1 kB / 0.5659 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.676e-05/0.3779, allocations: 9.234 kB / 0.5659 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3779, allocations: 0 / 0.5659 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.378, allocations: 0.5625 kB / 0.5659 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3783, allocations: 0.5262 MB / 0.5665 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002452/0.3785, allocations: 212.1 kB / 0.5667 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3787, allocations: 0.6754 MB / 0.5673 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.3787, allocations: 9.875 kB / 0.5673 GB, free: 26.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3787, allocations: 0 / 0.5673 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Templates: time 0.002155/0.3808, allocations: 0.7414 MB / 0.5681 GB, free: 26.32 MB / 446.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)