Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 293 MB / 309 MB, free: 4.797 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 176.5 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.6383 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000762/0.000762, allocations: 94.06 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 116.4 MB / 0.9904 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.947/5.237, allocations: 2.055 GB / 3.045 GB, free: 163.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/5.238, allocations: 67.97 kB / 3.045 GB, free: 163.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06495/5.302, allocations: 37.45 MB / 3.082 GB, free: 125.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/5.303, allocations: 0 / 3.082 GB, free: 125.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.893e-06/5.303, allocations: 4 kB / 3.082 GB, free: 125.6 MB / 0.948 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.0002705/5.303, allocations: 348.3 kB / 3.082 GB, free: 125.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/5.303, allocations: 8.031 kB / 3.082 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/5.303, allocations: 29.44 kB / 3.082 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.492e-05/5.303, allocations: 160.4 kB / 3.082 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/5.303, allocations: 38.25 kB / 3.082 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/5.303, allocations: 384 / 3.082 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/5.303, allocations: 46.23 kB / 3.082 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/5.303, allocations: 3.938 kB / 3.082 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/5.303, allocations: 11.98 kB / 3.082 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/5.303, allocations: 7.922 kB / 3.082 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/5.303, allocations: 19.98 kB / 3.082 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/5.304, allocations: 252.9 kB / 3.082 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.836e-05/5.304, allocations: 22.61 kB / 3.082 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/5.304, allocations: 4.859 kB / 3.082 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/5.304, allocations: 101.2 kB / 3.083 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/5.304, allocations: 34.5 kB / 3.083 GB, free: 124.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/5.304, allocations: 0 / 3.083 GB, free: 124.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/5.304, allocations: 49.69 kB / 3.083 GB, free: 124.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/5.304, allocations: 51.41 kB / 3.083 GB, free: 124.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.225e-05/5.304, allocations: 109.9 kB / 3.083 GB, free: 124.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/5.304, allocations: 29.7 kB / 3.083 GB, free: 124.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/5.304, allocations: 84.05 kB / 3.083 GB, free: 124 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/5.304, allocations: 3.906 kB / 3.083 GB, free: 124 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/5.304, allocations: 0 / 3.083 GB, free: 124 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/5.304, allocations: 318.8 kB / 3.083 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/5.304, allocations: 3.984 kB / 3.083 GB, free: 123.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/5.304, allocations: 30.52 kB / 3.083 GB, free: 123.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/5.304, allocations: 30.52 kB / 3.083 GB, free: 123.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/5.304, allocations: 0 / 3.083 GB, free: 123.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.708e-05/5.305, allocations: 61.56 kB / 3.083 GB, free: 123.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/5.305, allocations: 7.938 kB / 3.083 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/5.305, allocations: 0 / 3.083 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/5.305, allocations: 8.094 kB / 3.083 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/5.305, allocations: 7.984 kB / 3.083 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/5.305, allocations: 3.938 kB / 3.083 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/5.305, allocations: 11.91 kB / 3.083 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/5.305, allocations: 0 / 3.083 GB, free: 123.5 MB / 0.948 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.017e-05/5.305, allocations: 117.8 kB / 3.083 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/5.305, allocations: 0 / 3.083 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/5.305, allocations: 7.125 kB / 3.084 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/5.305, allocations: 0 / 3.084 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/5.305, allocations: 8 kB / 3.084 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/5.305, allocations: 0 / 3.084 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/5.305, allocations: 363.5 kB / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/5.305, allocations: 0 / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/5.305, allocations: 4 kB / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/5.305, allocations: 0 / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/5.305, allocations: 0 / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/5.305, allocations: 8.047 kB / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/5.305, allocations: 4 kB / 3.084 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.079e-05/5.305, allocations: 69.88 kB / 3.084 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/5.305, allocations: 85.02 kB / 3.084 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/5.305, allocations: 0 / 3.084 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/5.305, allocations: 7.984 kB / 3.084 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/5.305, allocations: 7.969 kB / 3.084 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/5.305, allocations: 0 / 3.084 GB, free: 122.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.47e-05/5.305, allocations: 83.56 kB / 3.084 GB, free: 122.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/5.305, allocations: 0 / 3.084 GB, free: 122.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003116/5.306, allocations: 39.98 kB / 3.084 GB, free: 122.6 MB / 0.948 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.000548/5.306, allocations: 0.5554 MB / 3.085 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.203e-05/5.306, allocations: 19.94 kB / 3.085 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/5.306, allocations: 0 / 3.085 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/5.306, allocations: 8.188 kB / 3.085 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/5.307, allocations: 9.609 kB / 3.085 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/5.307, allocations: 130.6 kB / 3.085 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/5.307, allocations: 0.677 MB / 3.086 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.43e-05/5.307, allocations: 12.11 kB / 3.086 GB, free: 121.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/5.307, allocations: 11.44 kB / 3.086 GB, free: 121.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/5.307, allocations: 0 / 3.086 GB, free: 121.2 MB / 0.948 GB Notification: Performance of Templates: time 0.008747/5.316, allocations: 7.604 MB / 3.093 GB, free: 113.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)