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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8041/0.8041, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 177 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.000957, allocations: 102.3 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001653/0.001653, allocations: 270.7 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4012, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.805/5.207, allocations: 2.023 GB / 2.763 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/5.207, allocations: 75.97 kB / 2.763 GB, free: 188.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07169/5.279, allocations: 38.47 MB / 2.8 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.219e-06/5.279, allocations: 0 / 2.8 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.264e-05/5.279, allocations: 4 kB / 2.8 GB, free: 149.2 MB / 0.6667 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.0005436/5.279, allocations: 347.4 kB / 2.801 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/5.279, allocations: 8.031 kB / 2.801 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/5.28, allocations: 28.81 kB / 2.801 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/5.28, allocations: 164.3 kB / 2.801 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/5.28, allocations: 34.27 kB / 2.801 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/5.28, allocations: 384 / 2.801 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/5.28, allocations: 54.22 kB / 2.801 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/5.28, allocations: 3.938 kB / 2.801 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/5.28, allocations: 0 / 2.801 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/5.28, allocations: 0 / 2.801 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/5.28, allocations: 19.98 kB / 2.801 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/5.281, allocations: 268.9 kB / 2.801 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/5.281, allocations: 22.52 kB / 2.801 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/5.281, allocations: 8.922 kB / 2.801 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/5.281, allocations: 93.09 kB / 2.801 GB, free: 148 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/5.281, allocations: 30.56 kB / 2.802 GB, free: 148 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/5.281, allocations: 4 kB / 2.802 GB, free: 148 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002776/5.282, allocations: 57.66 kB / 2.802 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/5.282, allocations: 55.34 kB / 2.802 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/5.282, allocations: 97.86 kB / 2.802 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/5.282, allocations: 29.7 kB / 2.802 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/5.282, allocations: 88.03 kB / 2.802 GB, free: 147.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/5.282, allocations: 3.906 kB / 2.802 GB, free: 147.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/5.282, allocations: 4 kB / 2.802 GB, free: 147.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/5.282, allocations: 319 kB / 2.802 GB, free: 147.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/5.282, allocations: 4 kB / 2.802 GB, free: 147.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/5.282, allocations: 30.44 kB / 2.802 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/5.282, allocations: 34.45 kB / 2.802 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/5.282, allocations: 4 kB / 2.802 GB, free: 147.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/5.282, allocations: 53.62 kB / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/5.282, allocations: 4 kB / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/5.282, allocations: 0 / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/5.282, allocations: 4 kB / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/5.282, allocations: 4 kB / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/5.282, allocations: 0 / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/5.282, allocations: 15.84 kB / 2.802 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/5.282, allocations: 3.984 kB / 2.802 GB, free: 147.1 MB / 0.6667 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 7.33e-05/5.282, allocations: 121.9 kB / 2.802 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/5.282, allocations: 0 / 2.802 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/5.282, allocations: 7.125 kB / 2.802 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/5.282, allocations: 4 kB / 2.802 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/5.282, allocations: 0 / 2.802 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/5.282, allocations: 0 / 2.802 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/5.283, allocations: 363.5 kB / 2.803 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/5.283, allocations: 0 / 2.803 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/5.283, allocations: 4 kB / 2.803 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/5.283, allocations: 0 / 2.803 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/5.283, allocations: 8 kB / 2.803 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/5.283, allocations: 3.938 kB / 2.803 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/5.283, allocations: 0 / 2.803 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/5.283, allocations: 73.95 kB / 2.803 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/5.283, allocations: 85.02 kB / 2.803 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/5.283, allocations: 0 / 2.803 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/5.283, allocations: 4 kB / 2.803 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/5.283, allocations: 7.922 kB / 2.803 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/5.283, allocations: 4 kB / 2.803 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 2.805e-05/5.283, allocations: 79.28 kB / 2.803 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/5.283, allocations: 0 / 2.803 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003453/5.283, allocations: 43.98 kB / 2.803 GB, free: 146.2 MB / 0.6667 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.0008023/5.284, allocations: 0.5549 MB / 2.804 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.387e-05/5.284, allocations: 8 kB / 2.804 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/5.284, allocations: 7.938 kB / 2.804 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/5.284, allocations: 7.938 kB / 2.804 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/5.285, allocations: 9.203 kB / 2.804 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/5.285, allocations: 133.8 kB / 2.804 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/5.285, allocations: 0.6731 MB / 2.804 GB, free: 144.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 7.404e-05/5.285, allocations: 11.97 kB / 2.804 GB, free: 144.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/5.285, allocations: 7.438 kB / 2.804 GB, free: 144.7 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/5.285, allocations: 4 kB / 2.804 GB, free: 144.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.01068/5.296, allocations: 7.663 MB / 2.812 GB, free: 137.1 MB / 0.6667 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)