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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 113.4 kB / 17.04 MB, free: 6.078 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.001037/0.001037, allocations: 196 kB / 17.98 MB, free: 5.156 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 64.09 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3379, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004358/0.3423, allocations: 3.705 MB / 0.5612 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.3425, allocations: 166.9 kB / 0.5613 GB, free: 34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.3425, allocations: 0.75 kB / 0.5613 GB, free: 34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.298e-05/0.3426, allocations: 1.359 kB / 0.5613 GB, free: 34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.3427, allocations: 9.984 kB / 0.5613 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.343, allocations: 83.7 kB / 0.5614 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.3431, allocations: 36.12 kB / 0.5615 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.3431, allocations: 1.906 kB / 0.5615 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.3432, allocations: 12.75 kB / 0.5615 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.3432, allocations: 18.58 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3433, allocations: 2.875 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.3437, allocations: 191.5 kB / 0.5617 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3438, allocations: 5.25 kB / 0.5617 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.3438, allocations: 6.703 kB / 0.5617 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.344, allocations: 44.62 kB / 0.5617 GB, free: 33.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.344, allocations: 0 / 0.5617 GB, free: 33.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.344, allocations: 1.75 kB / 0.5617 GB, free: 33.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.344, allocations: 2.234 kB / 0.5617 GB, free: 33.84 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.0003275/0.3443, allocations: 332.5 kB / 0.5621 GB, free: 33.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3444, allocations: 9.438 kB / 0.5621 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.3444, allocations: 4.094 kB / 0.5621 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.3445, allocations: 163.6 kB / 0.5622 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.3446, allocations: 29.17 kB / 0.5623 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3446, allocations: 3.375 kB / 0.5623 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3447, allocations: 52.11 kB / 0.5623 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3447, allocations: 0 / 0.5623 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3447, allocations: 2.062 kB / 0.5623 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3448, allocations: 1.25 kB / 0.5623 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.3448, allocations: 17.7 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.3452, allocations: 333.7 kB / 0.5626 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.3452, allocations: 18.23 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.3452, allocations: 6.906 kB / 0.5627 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.378e-05/0.3453, allocations: 93.11 kB / 0.5628 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3454, allocations: 34.28 kB / 0.5628 GB, free: 32.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 2.816e-06/0.3454, allocations: 0 / 0.5628 GB, free: 32.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.3455, allocations: 41.98 kB / 0.5628 GB, free: 32.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.3456, allocations: 51.41 kB / 0.5629 GB, free: 32.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.3456, allocations: 101.3 kB / 0.563 GB, free: 32.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3456, allocations: 29.7 kB / 0.563 GB, free: 32.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.3457, allocations: 88.94 kB / 0.5631 GB, free: 32.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-06/0.3457, allocations: 9.859 kB / 0.5631 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.3457, allocations: 15.09 kB / 0.5631 GB, free: 32.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.3458, allocations: 320.9 kB / 0.5634 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.3458, allocations: 6.156 kB / 0.5634 GB, free: 32.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.3458, allocations: 20.12 kB / 0.5634 GB, free: 31.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.3459, allocations: 23.86 kB / 0.5635 GB, free: 31.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3459, allocations: 0 / 0.5635 GB, free: 31.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.892e-05/0.3459, allocations: 51.06 kB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.346, allocations: 5.125 kB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.346, allocations: 1.281 kB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.346, allocations: 1.359 kB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.346, allocations: 7.328 kB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.346, allocations: 0 / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.3461, allocations: 1.906 kB / 0.5635 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3461, allocations: 3.234 kB / 0.5635 GB, free: 31.93 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 4.689e-05/0.3461, allocations: 113.7 kB / 0.5636 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.3462, allocations: 1.5 kB / 0.5636 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.3463, allocations: 128.7 kB / 0.5638 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/0.3463, allocations: 178.8 kB / 0.5639 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/0.3463, allocations: 185.6 kB / 0.5641 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.3464, allocations: 179.1 kB / 0.5643 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.3465, allocations: 412.3 kB / 0.5647 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.3465, allocations: 112 kB / 0.5648 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.3465, allocations: 102.6 kB / 0.5649 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.69e-05/0.3466, allocations: 184.3 kB / 0.5651 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3466, allocations: 184 kB / 0.5652 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-05/0.3466, allocations: 177 kB / 0.5654 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.52e-05/0.3467, allocations: 184 kB / 0.5656 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.087e-05/0.3467, allocations: 310.2 kB / 0.5659 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.3468, allocations: 182 kB / 0.566 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.3468, allocations: 178.3 kB / 0.5662 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.347, allocations: 114.5 kB / 0.5663 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.347, allocations: 180.2 kB / 0.5665 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.347, allocations: 106 kB / 0.5666 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.3471, allocations: 95.95 kB / 0.5667 GB, free: 28.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3471, allocations: 0 / 0.5667 GB, free: 28.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3473, allocations: 15.88 kB / 0.5667 GB, free: 28.55 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.0001855/0.3475, allocations: 202 kB / 0.5669 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.521e-05/0.3476, allocations: 13.16 kB / 0.5669 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3476, allocations: 2.062 kB / 0.5669 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.3476, allocations: 3.938 kB / 0.5669 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.3479, allocations: 462.5 kB / 0.5674 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.3481, allocations: 186.3 kB / 0.5675 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.3482, allocations: 0.6747 MB / 0.5682 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.3482, allocations: 7.422 kB / 0.5682 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.3483, allocations: 11.47 kB / 0.5682 GB, free: 27.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3483, allocations: 0 / 0.5682 GB, free: 27.04 MB / 446.1 MB Notification: Performance of Templates: time 0.002683/0.3509, allocations: 0.6347 MB / 0.5688 GB, free: 27 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)