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.00253/0.002531, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5608/0.5608, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.778/1.778, allocations: 223.2 MB / 354.3 MB, free: 10.41 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.001102/0.001102, allocations: 107.1 kB / 427.4 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003204, allocations: 12 kB / 0.4982 GB, free: 42.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 72.3 MB / 0.5688 GB, free: 1.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.196, allocations: 341.4 MB / 0.9022 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/1.196, allocations: 81.45 kB / 0.9023 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02598/1.222, allocations: 13.33 MB / 0.9153 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.056e-06/1.222, allocations: 0 / 0.9153 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.222, allocations: 4 kB / 0.9153 GB, free: 113.9 MB / 0.5886 GB 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.000375/1.222, allocations: 339.2 kB / 0.9157 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.223, allocations: 8.031 kB / 0.9157 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/1.223, allocations: 4 kB / 0.9157 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/1.223, allocations: 163.1 kB / 0.9158 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/1.223, allocations: 29.7 kB / 0.9159 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/1.223, allocations: 0 / 0.9159 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/1.223, allocations: 40.69 kB / 0.9159 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/1.223, allocations: 0 / 0.9159 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/1.223, allocations: 3.953 kB / 0.9159 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/1.223, allocations: 3.938 kB / 0.9159 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/1.223, allocations: 15.3 kB / 0.9159 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/1.224, allocations: 339.6 kB / 0.9162 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/1.224, allocations: 21.89 kB / 0.9163 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-05/1.224, allocations: 81.17 kB / 0.9163 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.224, allocations: 46.44 kB / 0.9164 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/1.224, allocations: 0 / 0.9164 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001705/1.224, allocations: 33.64 kB / 0.9164 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.224, allocations: 55.53 kB / 0.9165 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/1.224, allocations: 100.2 kB / 0.9166 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.224, allocations: 25.7 kB / 0.9166 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/1.224, allocations: 86.98 kB / 0.9167 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/1.224, allocations: 3.906 kB / 0.9167 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/1.224, allocations: 0 / 0.9167 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/1.224, allocations: 314.8 kB / 0.917 GB, free: 112 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/1.224, allocations: 3 kB / 0.917 GB, free: 112 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/1.224, allocations: 21.7 kB / 0.917 GB, free: 112 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.202e-05/1.224, allocations: 11.25 kB / 0.917 GB, free: 112 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.224, allocations: 0 / 0.917 GB, free: 112 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.244e-05/1.224, allocations: 48.38 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.224, allocations: 4 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.224, allocations: 3.953 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.224, allocations: 0 / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.105e-05/1.224, allocations: 4.062 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.224, allocations: 11.94 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/1.224, allocations: 0 / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/1.224, allocations: 288 / 0.9171 GB, free: 111.9 MB / 0.5886 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/1.225, allocations: 113.8 kB / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/1.225, allocations: 3.125 kB / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/1.225, allocations: 117 kB / 0.9173 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/1.225, allocations: 192.1 kB / 0.9175 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.313e-05/1.225, allocations: 183.6 kB / 0.9177 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/1.225, allocations: 179.3 kB / 0.9178 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/1.225, allocations: 411.8 kB / 0.9182 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.225, allocations: 101 kB / 0.9183 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/1.225, allocations: 104.9 kB / 0.9184 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-05/1.225, allocations: 180.3 kB / 0.9186 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/1.225, allocations: 184.2 kB / 0.9188 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-05/1.225, allocations: 183 kB / 0.9189 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-05/1.225, allocations: 184.2 kB / 0.9191 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.105e-05/1.225, allocations: 310.8 kB / 0.9194 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/1.225, allocations: 194 kB / 0.9196 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/1.225, allocations: 183.8 kB / 0.9198 GB, free: 109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.226, allocations: 109 kB / 0.9199 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/1.226, allocations: 184.2 kB / 0.9201 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/1.226, allocations: 105 kB / 0.9202 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.712e-05/1.226, allocations: 86.84 kB / 0.9202 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.226, allocations: 0 / 0.9202 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002769/1.226, allocations: 19.92 kB / 0.9203 GB, free: 108.4 MB / 0.5886 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/1.226, allocations: 203.5 kB / 0.9205 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.034e-05/1.226, allocations: 11.69 kB / 0.9205 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.226, allocations: 0 / 0.9205 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/1.226, allocations: 4 kB / 0.9205 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/1.227, allocations: 0.5186 MB / 0.921 GB, free: 107.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/1.227, allocations: 187.8 kB / 0.9212 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/1.227, allocations: 0.6809 MB / 0.9218 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.957e-05/1.227, allocations: 7.984 kB / 0.9218 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/1.227, allocations: 11.44 kB / 0.9218 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/1.227, allocations: 0 / 0.9218 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.003159/1.23, allocations: 0.8214 MB / 0.9226 GB, free: 106 MB / 0.5886 GB 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)