Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5939/0.5939, allocations: 87.49 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 94.36 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.92 kB / 0.4891 GB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3598, allocations: 70.06 MB / 0.5575 GB, free: 44.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005125/0.365, allocations: 3.774 MB / 0.5612 GB, free: 41.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.3652, allocations: 155.5 kB / 0.5613 GB, free: 41.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.3652, allocations: 0 / 0.5613 GB, free: 41.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.3654, allocations: 11.98 kB / 0.5613 GB, free: 41.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.654e-05/0.3655, allocations: 11.92 kB / 0.5613 GB, free: 41.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.3659, allocations: 79.69 kB / 0.5614 GB, free: 41.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.864e-05/0.366, allocations: 55.88 kB / 0.5615 GB, free: 41.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.366, allocations: 4 kB / 0.5615 GB, free: 41.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.3661, allocations: 15.92 kB / 0.5615 GB, free: 41.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.078e-05/0.3661, allocations: 23.92 kB / 0.5615 GB, free: 41.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3662, allocations: 0 / 0.5615 GB, free: 41.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.3667, allocations: 187.5 kB / 0.5617 GB, free: 40.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.3667, allocations: 7.969 kB / 0.5617 GB, free: 40.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.3668, allocations: 12 kB / 0.5617 GB, free: 40.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3669, allocations: 49.94 kB / 0.5618 GB, free: 40.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3669, allocations: 0 / 0.5618 GB, free: 40.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3669, allocations: 0 / 0.5618 GB, free: 40.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3669, allocations: 0 / 0.5618 GB, free: 40.82 MB / 410.7 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.0003857/0.3673, allocations: 343.5 kB / 0.5621 GB, free: 40.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3674, allocations: 8.031 kB / 0.5621 GB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3674, allocations: 4.938 kB / 0.5621 GB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.3675, allocations: 164.3 kB / 0.5623 GB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.3676, allocations: 30.27 kB / 0.5623 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3676, allocations: 384 / 0.5623 GB, free: 40.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3677, allocations: 45.61 kB / 0.5623 GB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3677, allocations: 4 kB / 0.5623 GB, free: 40.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3678, allocations: 8 kB / 0.5623 GB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.3678, allocations: 3.938 kB / 0.5623 GB, free: 40.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.3678, allocations: 11.98 kB / 0.5623 GB, free: 40.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3682, allocations: 334 kB / 0.5627 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.3683, allocations: 18.58 kB / 0.5627 GB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.3683, allocations: 12.86 kB / 0.5627 GB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.3684, allocations: 85.11 kB / 0.5628 GB, free: 39.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3684, allocations: 38.5 kB / 0.5628 GB, free: 39.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.923e-06/0.3684, allocations: 3.984 kB / 0.5628 GB, free: 39.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.3685, allocations: 37.69 kB / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3686, allocations: 51.41 kB / 0.5629 GB, free: 39.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.673e-05/0.3686, allocations: 105.8 kB / 0.563 GB, free: 39.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.3687, allocations: 25.7 kB / 0.563 GB, free: 39.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.3687, allocations: 92.17 kB / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-06/0.3687, allocations: 0 / 0.5631 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.3687, allocations: 21.62 kB / 0.5631 GB, free: 39.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.3688, allocations: 314.8 kB / 0.5634 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.3688, allocations: 7.984 kB / 0.5634 GB, free: 38.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.3689, allocations: 21.66 kB / 0.5635 GB, free: 38.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.3689, allocations: 21.72 kB / 0.5635 GB, free: 38.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3689, allocations: 0 / 0.5635 GB, free: 38.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.998e-05/0.369, allocations: 53.56 kB / 0.5635 GB, free: 38.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.369, allocations: 4 kB / 0.5635 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.369, allocations: 0 / 0.5635 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.369, allocations: 4 kB / 0.5635 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.3691, allocations: 11.98 kB / 0.5636 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.3691, allocations: 3.984 kB / 0.5636 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.3691, allocations: 3.938 kB / 0.5636 GB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3691, allocations: 8.062 kB / 0.5636 GB, free: 38.68 MB / 410.7 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.994e-05/0.3692, allocations: 113.8 kB / 0.5637 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.3692, allocations: 4 kB / 0.5637 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.421e-05/0.3693, allocations: 116.9 kB / 0.5638 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.3693, allocations: 180.3 kB / 0.564 GB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.279e-05/0.3694, allocations: 184.3 kB / 0.5641 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/0.3694, allocations: 180.2 kB / 0.5643 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.3696, allocations: 405.2 kB / 0.5647 GB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.3696, allocations: 108.9 kB / 0.5648 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.3696, allocations: 105 kB / 0.5649 GB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.861e-05/0.3696, allocations: 184.2 kB / 0.5651 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.3697, allocations: 180.3 kB / 0.5653 GB, free: 36.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.83e-05/0.3697, allocations: 176.3 kB / 0.5654 GB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-05/0.3697, allocations: 184.1 kB / 0.5656 GB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.3699, allocations: 0.857 MB / 0.5664 GB, free: 35.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.37, allocations: 186 kB / 0.5666 GB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.37, allocations: 176.3 kB / 0.5668 GB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.3702, allocations: 112.9 kB / 0.5669 GB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3702, allocations: 180.2 kB / 0.5671 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3702, allocations: 105 kB / 0.5672 GB, free: 34.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.914e-05/0.3703, allocations: 87.28 kB / 0.5672 GB, free: 34.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3703, allocations: 0 / 0.5672 GB, free: 34.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.3706, allocations: 12 kB / 0.5673 GB, free: 34.65 MB / 410.7 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.0002537/0.3709, allocations: 198.5 kB / 0.5674 GB, free: 34.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.84e-05/0.371, allocations: 19.92 kB / 0.5675 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.371, allocations: 4.125 kB / 0.5675 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.371, allocations: 0 / 0.5675 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3713, allocations: 0.5185 MB / 0.568 GB, free: 33.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.3716, allocations: 191.6 kB / 0.5682 GB, free: 33.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3717, allocations: 0.6731 MB / 0.5688 GB, free: 32.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.3718, allocations: 16.67 kB / 0.5688 GB, free: 32.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.3718, allocations: 7.438 kB / 0.5688 GB, free: 32.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3718, allocations: 3.938 kB / 0.5688 GB, free: 32.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002791/0.3746, allocations: 0.63 MB / 0.5695 GB, free: 32.34 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)