Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001322/0.001321, allocations: 178.5 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6305 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009214/0.0009212, allocations: 92.55 kB / 0.7438 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006751/0.0006752, allocations: 10.5 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.214, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.84/14.05, allocations: 4.611 GB / 5.59 GB, free: 290.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/14.05, allocations: 87.95 kB / 5.59 GB, free: 290.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1372/14.19, allocations: 45.25 MB / 5.635 GB, free: 244.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.185e-06/14.19, allocations: 4 kB / 5.635 GB, free: 244.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.033e-06/14.19, allocations: 0 / 5.635 GB, free: 244.7 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.0003337/14.19, allocations: 335.5 kB / 5.635 GB, free: 244.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/14.19, allocations: 8.031 kB / 5.635 GB, free: 244.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/14.19, allocations: 21.53 kB / 5.635 GB, free: 244.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.144e-05/14.19, allocations: 168.3 kB / 5.635 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/14.19, allocations: 30.27 kB / 5.635 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/14.19, allocations: 384 / 5.635 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/14.19, allocations: 50.23 kB / 5.635 GB, free: 244 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/14.19, allocations: 7.875 kB / 5.635 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/14.19, allocations: 0 / 5.635 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/14.19, allocations: 0 / 5.635 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/14.19, allocations: 23.92 kB / 5.635 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/14.19, allocations: 264.9 kB / 5.635 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/14.19, allocations: 14.58 kB / 5.635 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/14.19, allocations: 8.922 kB / 5.635 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/14.19, allocations: 4 kB / 5.635 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/14.19, allocations: 34.56 kB / 5.635 GB, free: 243.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 2.354e-06/14.19, allocations: 0 / 5.635 GB, free: 243.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001398/14.19, allocations: 41.58 kB / 5.635 GB, free: 243.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/14.19, allocations: 51.41 kB / 5.636 GB, free: 243.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/14.19, allocations: 109.8 kB / 5.636 GB, free: 243.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/14.19, allocations: 25.7 kB / 5.636 GB, free: 243.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/14.19, allocations: 91.95 kB / 5.636 GB, free: 243.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/14.19, allocations: 7.922 kB / 5.636 GB, free: 243.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/14.19, allocations: 0 / 5.636 GB, free: 243.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/14.19, allocations: 322.9 kB / 5.636 GB, free: 242.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/14.19, allocations: 0 / 5.636 GB, free: 242.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/14.19, allocations: 30.56 kB / 5.636 GB, free: 242.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/14.19, allocations: 30.52 kB / 5.636 GB, free: 242.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/14.19, allocations: 4 kB / 5.636 GB, free: 242.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001011/14.19, allocations: 53.62 kB / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/14.19, allocations: 4 kB / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/14.19, allocations: 4.078 kB / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/14.19, allocations: 7.984 kB / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/14.19, allocations: 4 kB / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/14.19, allocations: 0 / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/14.19, allocations: 7.906 kB / 5.636 GB, free: 242.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/14.19, allocations: 0 / 5.636 GB, free: 242.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 () * 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.976e-05/14.19, allocations: 129.8 kB / 5.636 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/14.19, allocations: 3.984 kB / 5.636 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/14.19, allocations: 3.125 kB / 5.636 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/14.19, allocations: 0 / 5.636 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/14.19, allocations: 4 kB / 5.636 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/14.19, allocations: 0 / 5.636 GB, free: 242.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/14.19, allocations: 342.7 kB / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/14.2, allocations: 4.031 kB / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/14.2, allocations: 0 / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/14.2, allocations: 0 / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/14.2, allocations: 3.984 kB / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/14.2, allocations: 4 kB / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/14.2, allocations: 3.938 kB / 5.637 GB, free: 242.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.388e-05/14.2, allocations: 61.02 kB / 5.637 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/14.2, allocations: 81.11 kB / 5.637 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/14.2, allocations: 7.969 kB / 5.637 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/14.2, allocations: 7.984 kB / 5.637 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/14.2, allocations: 3.938 kB / 5.637 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/14.2, allocations: 0 / 5.637 GB, free: 241.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.648e-05/14.2, allocations: 83.28 kB / 5.637 GB, free: 241.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.3e-07/14.2, allocations: 0 / 5.637 GB, free: 241.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003821/14.2, allocations: 43.98 kB / 5.637 GB, free: 241.8 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 () * 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.0007375/14.2, allocations: 0.5558 MB / 5.637 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.438e-05/14.2, allocations: 19.92 kB / 5.638 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/14.2, allocations: 0 / 5.638 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/14.2, allocations: 4 kB / 5.638 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/14.2, allocations: 9.797 kB / 5.638 GB, free: 241.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/14.2, allocations: 117.1 kB / 5.638 GB, free: 241.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/14.2, allocations: 0.6809 MB / 5.638 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.657e-05/14.2, allocations: 0 / 5.638 GB, free: 240.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/14.2, allocations: 15.44 kB / 5.638 GB, free: 240.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/14.2, allocations: 0 / 5.638 GB, free: 240.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01653/14.21, allocations: 7.89 MB / 5.646 GB, free: 232.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)