Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 171.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4578/0.4578, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.567/1.567, allocations: 223.3 MB / 348.4 MB, free: 4.996 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.0008359/0.0008363, allocations: 98.36 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005476/0.0005477, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3649, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.004/4.369, allocations: 1.663 GB / 2.223 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/4.369, allocations: 75.97 kB / 2.223 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.07172/4.441, allocations: 37.38 MB / 2.259 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.035e-06/4.441, allocations: 0 / 2.259 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.257e-06/4.441, allocations: 0 / 2.259 GB, free: 111.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004379/4.441, allocations: 343.5 kB / 2.26 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/4.441, allocations: 12.02 kB / 2.26 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/4.442, allocations: 20.92 kB / 2.26 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/4.442, allocations: 176.2 kB / 2.26 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/4.442, allocations: 30.27 kB / 2.26 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/4.442, allocations: 384 / 2.26 GB, free: 110.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/4.442, allocations: 54.17 kB / 2.26 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/4.442, allocations: 3.938 kB / 2.26 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/4.442, allocations: 3.984 kB / 2.26 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/4.442, allocations: 4 kB / 2.26 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/4.442, allocations: 15.98 kB / 2.26 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/4.443, allocations: 264.9 kB / 2.26 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/4.443, allocations: 18.58 kB / 2.26 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/4.443, allocations: 12.86 kB / 2.26 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/4.443, allocations: 93.09 kB / 2.26 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/4.443, allocations: 38.56 kB / 2.26 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/4.443, allocations: 0 / 2.26 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002265/4.443, allocations: 45.69 kB / 2.26 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/4.443, allocations: 51.41 kB / 2.26 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/4.443, allocations: 101.8 kB / 2.261 GB, free: 110 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/4.443, allocations: 29.7 kB / 2.261 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/4.443, allocations: 84.05 kB / 2.261 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/4.443, allocations: 15.95 kB / 2.261 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/4.443, allocations: 4 kB / 2.261 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/4.443, allocations: 318.8 kB / 2.261 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/4.443, allocations: 4 kB / 2.261 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/4.443, allocations: 22.56 kB / 2.261 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/4.443, allocations: 34.52 kB / 2.261 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/4.443, allocations: 0 / 2.261 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.832e-05/4.444, allocations: 53.62 kB / 2.261 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/4.444, allocations: 4 kB / 2.261 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/4.444, allocations: 7.938 kB / 2.261 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/4.444, allocations: 0 / 2.261 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/4.444, allocations: 4 kB / 2.261 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/4.444, allocations: 4 kB / 2.261 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/4.444, allocations: 7.906 kB / 2.261 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/4.444, allocations: 4.094 kB / 2.261 GB, free: 109.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.864e-05/4.444, allocations: 113.8 kB / 2.261 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/4.444, allocations: 11.86 kB / 2.261 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/4.444, allocations: 11.12 kB / 2.261 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/4.444, allocations: 0 / 2.261 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/4.444, allocations: 0 / 2.261 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/4.444, allocations: 0 / 2.261 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/4.444, allocations: 363.5 kB / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/4.444, allocations: 4 kB / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/4.444, allocations: 0 / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/4.444, allocations: 4 kB / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/4.444, allocations: 4 kB / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/4.444, allocations: 4 kB / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/4.444, allocations: 0 / 2.262 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.811e-05/4.444, allocations: 81.92 kB / 2.262 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/4.444, allocations: 81.02 kB / 2.262 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/4.444, allocations: 0 / 2.262 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/4.444, allocations: 4 kB / 2.262 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/4.444, allocations: 7.922 kB / 2.262 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/4.444, allocations: 4 kB / 2.262 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.181e-05/4.444, allocations: 83.56 kB / 2.262 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/4.444, allocations: 32 / 2.262 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000312/4.445, allocations: 43.98 kB / 2.262 GB, free: 108.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0007217/4.445, allocations: 0.5448 MB / 2.262 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.452e-05/4.446, allocations: 19.92 kB / 2.262 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/4.446, allocations: 0 / 2.262 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-06/4.446, allocations: 4 kB / 2.262 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/4.446, allocations: 5.719 kB / 2.262 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/4.446, allocations: 137.7 kB / 2.263 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/4.446, allocations: 0.677 MB / 2.263 GB, free: 107 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.756e-05/4.446, allocations: 11.97 kB / 2.263 GB, free: 107 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/4.446, allocations: 11.44 kB / 2.263 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/4.446, allocations: 0 / 2.263 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.009898/4.456, allocations: 7.673 MB / 2.271 GB, free: 99.27 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)