Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.887/3.887, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002428, allocations: 180.9 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.992/3.992, allocations: 205.4 MB / 0.5772 GB, free: 20.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001463/0.001462, allocations: 88.41 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 13.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3548, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 22.78/23.13, allocations: 4.605 GB / 5.504 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/23.13, allocations: 88.66 kB / 5.504 GB, free: 243.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2382/23.37, allocations: 45.25 MB / 5.548 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 6.041e-06/23.37, allocations: 0 / 5.548 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.378e-06/23.37, allocations: 3.938 kB / 5.548 GB, free: 234.7 MB / 0.8855 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.000475/23.37, allocations: 339 kB / 5.549 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/23.37, allocations: 19.7 kB / 5.549 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/23.37, allocations: 16.58 kB / 5.549 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/23.37, allocations: 160.4 kB / 5.549 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-05/23.37, allocations: 30.2 kB / 5.549 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/23.37, allocations: 384 / 5.549 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/23.37, allocations: 53.53 kB / 5.549 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/23.37, allocations: 3.938 kB / 5.549 GB, free: 234 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/23.37, allocations: 4 kB / 5.549 GB, free: 234 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/23.37, allocations: 3.812 kB / 5.549 GB, free: 234 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/23.37, allocations: 18.73 kB / 5.549 GB, free: 234 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/23.37, allocations: 255.2 kB / 5.549 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/23.37, allocations: 21.98 kB / 5.549 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/23.37, allocations: 12.8 kB / 5.549 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/23.37, allocations: 0 / 5.549 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/23.37, allocations: 38.47 kB / 5.549 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/23.37, allocations: 0 / 5.549 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1): time 0.0002115/23.37, allocations: 37.48 kB / 5.549 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/23.37, allocations: 51.41 kB / 5.549 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/23.37, allocations: 108.3 kB / 5.55 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/23.37, allocations: 25.7 kB / 5.55 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/23.37, allocations: 96.02 kB / 5.55 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/23.37, allocations: 7.891 kB / 5.55 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/23.37, allocations: 7.5 kB / 5.55 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/23.37, allocations: 314.8 kB / 5.55 GB, free: 233 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/23.37, allocations: 3.906 kB / 5.55 GB, free: 233 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/23.37, allocations: 25.72 kB / 5.55 GB, free: 233 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.196e-05/23.37, allocations: 15.75 kB / 5.55 GB, free: 233 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/23.37, allocations: 0 / 5.55 GB, free: 233 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001743/23.37, allocations: 56.38 kB / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/23.37, allocations: 3.938 kB / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/23.37, allocations: 0 / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/23.37, allocations: 3.906 kB / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/23.37, allocations: 3.906 kB / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/23.37, allocations: 0 / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/23.37, allocations: 3.906 kB / 5.55 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/23.37, allocations: 4.094 kB / 5.55 GB, free: 232.9 MB / 0.8855 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 0.0001048/23.37, allocations: 113.7 kB / 5.55 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/23.37, allocations: 3.984 kB / 5.55 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/23.37, allocations: 10.84 kB / 5.55 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/23.37, allocations: 0 / 5.55 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/23.37, allocations: 96 / 5.55 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/23.37, allocations: 3.984 kB / 5.55 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/23.37, allocations: 350.5 kB / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/23.37, allocations: 0 / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/23.37, allocations: 0 / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/23.37, allocations: 3.906 kB / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/23.37, allocations: 0 / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/23.37, allocations: 3.984 kB / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/23.37, allocations: 0 / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/23.37, allocations: 64.7 kB / 5.551 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/23.37, allocations: 81.14 kB / 5.551 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/23.37, allocations: 0 / 5.551 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/23.38, allocations: 11.83 kB / 5.551 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/23.38, allocations: 3.938 kB / 5.551 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/23.38, allocations: 3.938 kB / 5.551 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.292e-05/23.38, allocations: 91.09 kB / 5.551 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.31e-07/23.38, allocations: 0 / 5.551 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006654/23.38, allocations: 37.05 kB / 5.551 GB, free: 232.2 MB / 0.8855 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 () * Number of clocked 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.001283/23.38, allocations: 0.5668 MB / 5.551 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001803/23.38, allocations: 11.8 kB / 5.551 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/23.38, allocations: 0 / 5.551 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/23.38, allocations: 15.44 kB / 5.551 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/23.38, allocations: 0 / 5.551 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/23.38, allocations: 116.1 kB / 5.552 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/23.38, allocations: 0.6769 MB / 5.552 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001222/23.38, allocations: 7.969 kB / 5.552 GB, free: 231 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/23.38, allocations: 11.34 kB / 5.552 GB, free: 231 MB / 0.8855 GB Notification: Performance of SimCode: time 1.342e-06/23.38, allocations: 0 / 5.552 GB, free: 231 MB / 0.8855 GB Notification: Performance of Templates: time 0.02915/23.41, allocations: 7.884 MB / 5.56 GB, free: 227 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)