Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8132/0.8132, allocations: 143.4 MB / 158.3 MB, free: 5.832 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 187.4 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 92.31 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 275.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004434, allocations: 15.47 kB / 0.6928 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1927, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.552/4.745, allocations: 1.672 GB / 2.445 GB, free: 83.67 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/4.745, allocations: 84.52 kB / 2.445 GB, free: 83.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06914/4.814, allocations: 37.4 MB / 2.482 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/4.814, allocations: 3.938 kB / 2.482 GB, free: 52.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.833e-06/4.814, allocations: 0 / 2.482 GB, free: 52.33 MB / 0.7136 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.000345/4.814, allocations: 347.2 kB / 2.482 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/4.815, allocations: 8.562 kB / 2.482 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/4.815, allocations: 35.91 kB / 2.482 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/4.815, allocations: 159.7 kB / 2.482 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/4.815, allocations: 29.69 kB / 2.482 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/4.815, allocations: 4 kB / 2.482 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/4.815, allocations: 41.62 kB / 2.482 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/4.815, allocations: 0 / 2.482 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/4.815, allocations: 7.938 kB / 2.482 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/4.815, allocations: 7.984 kB / 2.482 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/4.815, allocations: 23.86 kB / 2.482 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/4.816, allocations: 264.6 kB / 2.483 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/4.816, allocations: 22.58 kB / 2.483 GB, free: 51.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/4.816, allocations: 89.16 kB / 2.483 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/4.816, allocations: 42.36 kB / 2.483 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/4.816, allocations: 0 / 2.483 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002113/4.816, allocations: 53.58 kB / 2.483 GB, free: 51.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/4.816, allocations: 51.41 kB / 2.483 GB, free: 50.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/4.816, allocations: 96.61 kB / 2.483 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/4.816, allocations: 29.7 kB / 2.483 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/4.816, allocations: 87.86 kB / 2.483 GB, free: 50.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/4.816, allocations: 15.91 kB / 2.483 GB, free: 50.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/4.816, allocations: 0 / 2.483 GB, free: 50.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/4.816, allocations: 314.8 kB / 2.483 GB, free: 50.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/4.816, allocations: 3.5 kB / 2.483 GB, free: 50.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/4.816, allocations: 22.56 kB / 2.484 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/4.816, allocations: 11.94 kB / 2.484 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/4.816, allocations: 4 kB / 2.484 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.484e-05/4.816, allocations: 53.56 kB / 2.484 GB, free: 50.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/4.816, allocations: 4 kB / 2.484 GB, free: 50.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/4.816, allocations: 3.938 kB / 2.484 GB, free: 50.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/4.816, allocations: 4 kB / 2.484 GB, free: 50.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/4.817, allocations: 4 kB / 2.484 GB, free: 50.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/4.817, allocations: 3.953 kB / 2.484 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/4.817, allocations: 7.984 kB / 2.484 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/4.817, allocations: 0 / 2.484 GB, free: 50.32 MB / 0.7136 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 6.188e-05/4.817, allocations: 113.9 kB / 2.484 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/4.817, allocations: 3.688 kB / 2.484 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/4.817, allocations: 3.125 kB / 2.484 GB, free: 50.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/4.817, allocations: 4 kB / 2.484 GB, free: 50.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/4.817, allocations: 0 / 2.484 GB, free: 50.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/4.817, allocations: 3.953 kB / 2.484 GB, free: 50.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/4.817, allocations: 367.1 kB / 2.484 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/4.817, allocations: 0 / 2.484 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/4.817, allocations: 4 kB / 2.484 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/4.817, allocations: 0 / 2.484 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/4.817, allocations: 0 / 2.484 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/4.817, allocations: 7.953 kB / 2.484 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/4.817, allocations: 0 / 2.484 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.424e-05/4.817, allocations: 87.36 kB / 2.484 GB, free: 49.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/4.817, allocations: 85.05 kB / 2.484 GB, free: 49.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/4.817, allocations: 3.953 kB / 2.484 GB, free: 49.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/4.817, allocations: 7.984 kB / 2.484 GB, free: 49.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/4.817, allocations: 0 / 2.484 GB, free: 49.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/4.817, allocations: 4 kB / 2.484 GB, free: 49.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.749e-05/4.817, allocations: 75.28 kB / 2.484 GB, free: 49.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.022e-06/4.817, allocations: 0 / 2.484 GB, free: 49.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003093/4.818, allocations: 55.02 kB / 2.484 GB, free: 49.43 MB / 0.7136 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.0006562/4.818, allocations: 0.5545 MB / 2.485 GB, free: 48.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/4.818, allocations: 15.88 kB / 2.485 GB, free: 48.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/4.818, allocations: 0 / 2.485 GB, free: 48.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/4.818, allocations: 4 kB / 2.485 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/4.819, allocations: 6.75 kB / 2.485 GB, free: 48.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/4.819, allocations: 134.2 kB / 2.485 GB, free: 48.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/4.819, allocations: 0.6809 MB / 2.486 GB, free: 48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.194e-05/4.819, allocations: 7.984 kB / 2.486 GB, free: 47.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/4.819, allocations: 11.44 kB / 2.486 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of SimCode: time 3.4e-07/4.819, allocations: 0 / 2.486 GB, free: 47.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.009767/4.829, allocations: 7.644 MB / 2.493 GB, free: 40.34 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)