Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 285.4 MB / 298 MB, free: 5.926 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.001587/0.001587, allocations: 180.8 kB / 366.4 MB, free: 2.066 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.546/1.546, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008012/0.0008009, allocations: 96.77 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.766e-05, allocations: 0 / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8053, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.23/13.03, allocations: 4.611 GB / 5.582 GB, free: 12.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/13.03, allocations: 86.83 kB / 5.582 GB, free: 12.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7099/13.74, allocations: 45.13 MB / 5.626 GB, free: 331.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.452e-06/13.74, allocations: 0 / 5.626 GB, free: 331.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.326e-06/13.74, allocations: 1.344 kB / 5.626 GB, free: 331.4 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.0003044/13.74, allocations: 338.9 kB / 5.626 GB, free: 331 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/13.74, allocations: 10.55 kB / 5.626 GB, free: 331 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/13.74, allocations: 19.39 kB / 5.626 GB, free: 331 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/13.74, allocations: 164.5 kB / 5.626 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/13.74, allocations: 27.7 kB / 5.626 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/13.74, allocations: 5.406 kB / 5.626 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/13.74, allocations: 44.06 kB / 5.627 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/13.74, allocations: 3.984 kB / 5.627 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/13.74, allocations: 1.594 kB / 5.627 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/13.74, allocations: 9.469 kB / 5.627 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/13.74, allocations: 21.5 kB / 5.627 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/13.74, allocations: 259.1 kB / 5.627 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.192e-05/13.74, allocations: 21.81 kB / 5.627 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/13.74, allocations: 5.953 kB / 5.627 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/13.74, allocations: 0 / 5.627 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/13.74, allocations: 36.83 kB / 5.627 GB, free: 330.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/13.74, allocations: 0 / 5.627 GB, free: 330.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/13.74, allocations: 35.08 kB / 5.627 GB, free: 330.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/13.74, allocations: 53.64 kB / 5.627 GB, free: 330.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/13.75, allocations: 97.83 kB / 5.627 GB, free: 330.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/13.75, allocations: 25.7 kB / 5.627 GB, free: 330.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/13.75, allocations: 102.4 kB / 5.627 GB, free: 330.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/13.75, allocations: 1.953 kB / 5.627 GB, free: 330.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/13.75, allocations: 4.031 kB / 5.627 GB, free: 330.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/13.75, allocations: 312.9 kB / 5.627 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/13.75, allocations: 4.375 kB / 5.627 GB, free: 329.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/13.75, allocations: 24.12 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/13.75, allocations: 10.34 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/13.75, allocations: 5.062 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.268e-05/13.75, allocations: 57.34 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/13.75, allocations: 5.156 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/13.75, allocations: 4.969 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/13.75, allocations: 1.969 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/13.75, allocations: 6.094 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/13.75, allocations: 1.469 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/13.75, allocations: 5.734 kB / 5.628 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/13.75, allocations: 2.781 kB / 5.628 GB, free: 329.7 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 () * 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.354e-05/13.75, allocations: 111.3 kB / 5.628 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/13.75, allocations: 9.547 kB / 5.628 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/13.75, allocations: 3.734 kB / 5.628 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/13.75, allocations: 4.906 kB / 5.628 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/13.75, allocations: 0 / 5.628 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/13.75, allocations: 0 / 5.628 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/13.75, allocations: 349.3 kB / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/13.75, allocations: 4.031 kB / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/13.75, allocations: 1.969 kB / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/13.75, allocations: 0 / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/13.75, allocations: 1.922 kB / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/13.75, allocations: 0 / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/13.75, allocations: 1.812 kB / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.793e-05/13.75, allocations: 60.42 kB / 5.628 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/13.75, allocations: 79.33 kB / 5.628 GB, free: 329 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/13.75, allocations: 6.047 kB / 5.628 GB, free: 329 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/13.75, allocations: 3.734 kB / 5.628 GB, free: 329 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/13.75, allocations: 1.844 kB / 5.628 GB, free: 329 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/13.75, allocations: 3.938 kB / 5.628 GB, free: 329 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.238e-05/13.75, allocations: 86.5 kB / 5.628 GB, free: 328.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/13.75, allocations: 0 / 5.628 GB, free: 328.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003574/13.75, allocations: 41.34 kB / 5.628 GB, free: 328.9 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0009694/13.75, allocations: 0.5519 MB / 5.629 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/13.75, allocations: 9.359 kB / 5.629 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/13.75, allocations: 4 kB / 5.629 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-06/13.75, allocations: 10.64 kB / 5.629 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/13.75, allocations: 12.14 kB / 5.629 GB, free: 328.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/13.75, allocations: 56.31 kB / 5.629 GB, free: 328.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/13.75, allocations: 0.6794 MB / 5.63 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.122e-05/13.75, allocations: 9.469 kB / 5.63 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/13.75, allocations: 8.906 kB / 5.63 GB, free: 327.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/13.75, allocations: 4 kB / 5.63 GB, free: 327.9 MB / 0.948 GB Notification: Performance of Templates: time 0.01445/13.76, allocations: 9.602 MB / 5.639 GB, free: 327 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)