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.0008865/0.0008865, allocations: 93.2 kB / 16.67 MB, free: 6.113 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.0009589/0.0009589, allocations: 180.5 kB / 17.57 MB, free: 5.828 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.312/1.312, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.5 MB / 408.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 11.98 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3608, allocations: 77.52 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004035/0.365, allocations: 3.674 MB / 0.5642 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.3652, allocations: 153.2 kB / 0.5643 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.3652, allocations: 8.156 kB / 0.5643 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.802e-05/0.3653, allocations: 1.312 kB / 0.5643 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.3654, allocations: 14 kB / 0.5643 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.3657, allocations: 70.59 kB / 0.5644 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.3658, allocations: 61.98 kB / 0.5645 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.3658, allocations: 2.141 kB / 0.5645 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.3659, allocations: 14.8 kB / 0.5645 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.366, allocations: 21.83 kB / 0.5645 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.366, allocations: 2.062 kB / 0.5645 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.3662, allocations: 71.59 kB / 0.5646 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.3663, allocations: 6.906 kB / 0.5646 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.3663, allocations: 40.45 kB / 0.5646 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3664, allocations: 31.11 kB / 0.5646 GB, free: 33.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3664, allocations: 1.625 kB / 0.5646 GB, free: 33.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3664, allocations: 0.7188 kB / 0.5646 GB, free: 33.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3665, allocations: 0 / 0.5646 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.0002844/0.3667, allocations: 327.7 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3668, allocations: 13.34 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3668, allocations: 3.375 kB / 0.565 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.3669, allocations: 171.1 kB / 0.5651 GB, free: 32.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.367, allocations: 28.56 kB / 0.5652 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.367, allocations: 2.562 kB / 0.5652 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3671, allocations: 45.58 kB / 0.5652 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3671, allocations: 0 / 0.5652 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3671, allocations: 1.094 kB / 0.5652 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3672, allocations: 2.172 kB / 0.5652 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.859e-05/0.3672, allocations: 23.61 kB / 0.5652 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.3676, allocations: 338.5 kB / 0.5656 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.104e-05/0.3677, allocations: 22.53 kB / 0.5656 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.3677, allocations: 7.188 kB / 0.5656 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.894e-05/0.3678, allocations: 83.16 kB / 0.5657 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3678, allocations: 38.31 kB / 0.5657 GB, free: 32.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3678, allocations: 0 / 0.5657 GB, free: 32.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.3679, allocations: 37.55 kB / 0.5657 GB, free: 32.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.368, allocations: 52.97 kB / 0.5658 GB, free: 31.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.911e-05/0.368, allocations: 103.4 kB / 0.5659 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.3681, allocations: 26.89 kB / 0.5659 GB, free: 31.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.3681, allocations: 86.77 kB / 0.566 GB, free: 31.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.3681, allocations: 8 kB / 0.566 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.3681, allocations: 10.52 kB / 0.566 GB, free: 31.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.3682, allocations: 325.4 kB / 0.5663 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.3682, allocations: 2.891 kB / 0.5663 GB, free: 31.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.3682, allocations: 15.17 kB / 0.5663 GB, free: 31.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.3683, allocations: 27.42 kB / 0.5664 GB, free: 31.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3683, allocations: 0.5 kB / 0.5664 GB, free: 31.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.909e-05/0.3684, allocations: 49.47 kB / 0.5664 GB, free: 31.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3684, allocations: 7.25 kB / 0.5664 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3684, allocations: 5.219 kB / 0.5664 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3684, allocations: 0 / 0.5664 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.3685, allocations: 6.797 kB / 0.5664 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3685, allocations: 1.453 kB / 0.5664 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.3685, allocations: 6.844 kB / 0.5664 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3685, allocations: 2.156 kB / 0.5664 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.628e-05/0.3686, allocations: 112.6 kB / 0.5665 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3686, allocations: 2.297 kB / 0.5665 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.3687, allocations: 123.7 kB / 0.5667 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.3687, allocations: 177.9 kB / 0.5668 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/0.3688, allocations: 179.1 kB / 0.567 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.3688, allocations: 183 kB / 0.5672 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.369, allocations: 409.1 kB / 0.5676 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.369, allocations: 107.5 kB / 0.5677 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.369, allocations: 106.6 kB / 0.5678 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.509e-05/0.369, allocations: 179.4 kB / 0.5679 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.3691, allocations: 190.2 kB / 0.5681 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.58e-05/0.3691, allocations: 180.7 kB / 0.5683 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.211e-05/0.3691, allocations: 181 kB / 0.5685 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.94e-05/0.3692, allocations: 307.8 kB / 0.5688 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3693, allocations: 189.3 kB / 0.5689 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.3693, allocations: 180.6 kB / 0.5691 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3695, allocations: 110.8 kB / 0.5692 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.3695, allocations: 179.1 kB / 0.5694 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3695, allocations: 106.3 kB / 0.5695 GB, free: 28.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.322e-05/0.3696, allocations: 86.91 kB / 0.5696 GB, free: 27.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3696, allocations: 0 / 0.5696 GB, free: 27.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.3698, allocations: 14.52 kB / 0.5696 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.0002269/0.3701, allocations: 202.5 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.81e-05/0.3701, allocations: 12.36 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3701, allocations: 1.406 kB / 0.5698 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.3702, allocations: 1.219 kB / 0.5698 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.0003267/0.3705, allocations: 0.5195 MB / 0.5703 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.3707, allocations: 222.7 kB / 0.5705 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3709, allocations: 0.6752 MB / 0.5712 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.3709, allocations: 10.38 kB / 0.5712 GB, free: 26.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3709, allocations: 0.9375 kB / 0.5712 GB, free: 26.34 MB / 446.1 MB Notification: Performance of Templates: time 0.00239/0.3733, allocations: 0.7408 MB / 0.5719 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)