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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 185.1 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.5324/0.5324, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.358/1.358, allocations: 222.9 MB / 349.1 MB, free: 2.75 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.0009838/0.0009838, allocations: 100.8 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 51.92 kB / 0.4891 GB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3369, allocations: 70.06 MB / 0.5575 GB, free: 44.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004631/0.3415, allocations: 4.055 MB / 0.5614 GB, free: 41.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.3417, allocations: 155.5 kB / 0.5616 GB, free: 41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.372e-05/0.3417, allocations: 0 / 0.5616 GB, free: 41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.463e-05/0.3418, allocations: 3.938 kB / 0.5616 GB, free: 40.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.3419, allocations: 11.98 kB / 0.5616 GB, free: 40.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3422, allocations: 77.52 kB / 0.5617 GB, free: 40.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.3423, allocations: 55.81 kB / 0.5617 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.3423, allocations: 0 / 0.5617 GB, free: 40.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.3423, allocations: 27.91 kB / 0.5618 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.3424, allocations: 7.984 kB / 0.5618 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.3424, allocations: 4 kB / 0.5618 GB, free: 40.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.3426, allocations: 75.8 kB / 0.5618 GB, free: 40.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.3426, allocations: 11.97 kB / 0.5618 GB, free: 40.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3427, allocations: 11.94 kB / 0.5619 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3428, allocations: 43.83 kB / 0.5619 GB, free: 40.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3428, allocations: 4 kB / 0.5619 GB, free: 40.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3428, allocations: 4 kB / 0.5619 GB, free: 40.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3428, allocations: 0 / 0.5619 GB, free: 40.66 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.0002774/0.3431, allocations: 337.5 kB / 0.5622 GB, free: 40.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.3431, allocations: 8.031 kB / 0.5622 GB, free: 40.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.3432, allocations: 8.938 kB / 0.5622 GB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.402e-05/0.3432, allocations: 164.4 kB / 0.5624 GB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.3433, allocations: 26.27 kB / 0.5624 GB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3433, allocations: 4.375 kB / 0.5624 GB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3434, allocations: 45.61 kB / 0.5625 GB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3434, allocations: 0 / 0.5625 GB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3434, allocations: 3.984 kB / 0.5625 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.3435, allocations: 3.938 kB / 0.5625 GB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.3435, allocations: 23.98 kB / 0.5625 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.3438, allocations: 337.9 kB / 0.5628 GB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.688e-05/0.3439, allocations: 14.58 kB / 0.5628 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.3439, allocations: 4.859 kB / 0.5628 GB, free: 39.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.344, allocations: 85.17 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.344, allocations: 38.56 kB / 0.563 GB, free: 39.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.344, allocations: 3.938 kB / 0.563 GB, free: 39.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.3441, allocations: 37.69 kB / 0.563 GB, free: 39.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.3442, allocations: 55.34 kB / 0.5631 GB, free: 39.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.3442, allocations: 101.8 kB / 0.5632 GB, free: 39.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.3442, allocations: 25.7 kB / 0.5632 GB, free: 39.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.3443, allocations: 88.05 kB / 0.5633 GB, free: 39.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.3443, allocations: 3.984 kB / 0.5633 GB, free: 39.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3443, allocations: 21.84 kB / 0.5633 GB, free: 39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.3444, allocations: 318.8 kB / 0.5636 GB, free: 38.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.3444, allocations: 4 kB / 0.5636 GB, free: 38.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.3444, allocations: 17.72 kB / 0.5636 GB, free: 38.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.3445, allocations: 17.66 kB / 0.5636 GB, free: 38.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3445, allocations: 0 / 0.5636 GB, free: 38.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.944e-05/0.3445, allocations: 57.62 kB / 0.5637 GB, free: 38.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3445, allocations: 7.938 kB / 0.5637 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3446, allocations: 0 / 0.5637 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3446, allocations: 0 / 0.5637 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.3446, allocations: 7.984 kB / 0.5637 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3446, allocations: 4 kB / 0.5637 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.3447, allocations: 3.906 kB / 0.5637 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3447, allocations: 0 / 0.5637 GB, free: 38.55 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 6.774e-05/0.3448, allocations: 121.7 kB / 0.5638 GB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3448, allocations: 4.062 kB / 0.5638 GB, free: 38.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.3449, allocations: 120.9 kB / 0.5639 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.3449, allocations: 176.3 kB / 0.5641 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/0.3449, allocations: 184.3 kB / 0.5643 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.345, allocations: 188.2 kB / 0.5645 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.3451, allocations: 409.2 kB / 0.5649 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.3451, allocations: 104.9 kB / 0.565 GB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-05/0.3451, allocations: 109 kB / 0.5651 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-05/0.3452, allocations: 176.3 kB / 0.5652 GB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.3452, allocations: 184.2 kB / 0.5654 GB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/0.3452, allocations: 176.3 kB / 0.5656 GB, free: 36.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.346e-05/0.3452, allocations: 184.2 kB / 0.5657 GB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3454, allocations: 0.8415 MB / 0.5666 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.3455, allocations: 190 kB / 0.5668 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.3455, allocations: 184.2 kB / 0.5669 GB, free: 35.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3456, allocations: 112.9 kB / 0.567 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3457, allocations: 180.2 kB / 0.5672 GB, free: 34.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.3457, allocations: 104.9 kB / 0.5673 GB, free: 34.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.593e-05/0.3457, allocations: 83.28 kB / 0.5674 GB, free: 34.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3457, allocations: 4 kB / 0.5674 GB, free: 34.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.346, allocations: 19.98 kB / 0.5674 GB, free: 34.49 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.0001916/0.3462, allocations: 190.5 kB / 0.5676 GB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.386e-05/0.3463, allocations: 19.92 kB / 0.5676 GB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3463, allocations: 0 / 0.5676 GB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3463, allocations: 0 / 0.5676 GB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3466, allocations: 0.5257 MB / 0.5681 GB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.3469, allocations: 191.6 kB / 0.5683 GB, free: 33.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.504e-05/0.347, allocations: 0.677 MB / 0.569 GB, free: 32.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.347, allocations: 12.27 kB / 0.569 GB, free: 32.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.347, allocations: 7.438 kB / 0.569 GB, free: 32.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.347, allocations: 0 / 0.569 GB, free: 32.81 MB / 410.7 MB Notification: Performance of Templates: time 0.00237/0.3494, allocations: 0.6393 MB / 0.5696 GB, free: 32.18 MB / 410.7 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)