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.795/1.795, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001156/0.001156, allocations: 193.2 kB / 371.9 MB, free: 10.29 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.514/1.514, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001205/0.001205, allocations: 97.09 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 10.5 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.271, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.4/11.67, allocations: 4.611 GB / 5.59 GB, free: 199.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/11.67, allocations: 91.09 kB / 5.59 GB, free: 199.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0822/11.76, allocations: 45.22 MB / 5.635 GB, free: 161.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.895e-06/11.76, allocations: 0 / 5.635 GB, free: 161.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.327e-06/11.76, allocations: 0 / 5.635 GB, free: 161.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.0004046/11.76, allocations: 336.1 kB / 5.635 GB, free: 161.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/11.76, allocations: 12.02 kB / 5.635 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/11.76, allocations: 20.61 kB / 5.635 GB, free: 161.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/11.76, allocations: 167 kB / 5.635 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/11.76, allocations: 33.69 kB / 5.635 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/11.76, allocations: 0 / 5.635 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/11.76, allocations: 54.38 kB / 5.635 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/11.76, allocations: 0 / 5.635 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/11.76, allocations: 0 / 5.635 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/11.76, allocations: 8 kB / 5.635 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.431e-05/11.76, allocations: 16.8 kB / 5.635 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/11.76, allocations: 262.5 kB / 5.636 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/11.76, allocations: 25.33 kB / 5.636 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/11.76, allocations: 0 / 5.636 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/11.76, allocations: 34.56 kB / 5.636 GB, free: 160.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/11.76, allocations: 0 / 5.636 GB, free: 160.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001661/11.76, allocations: 33.75 kB / 5.636 GB, free: 160.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/11.76, allocations: 61.66 kB / 5.636 GB, free: 160.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/11.76, allocations: 96.75 kB / 5.636 GB, free: 160.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/11.76, allocations: 25.7 kB / 5.636 GB, free: 160.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/11.76, allocations: 95.94 kB / 5.636 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/11.76, allocations: 10.88 kB / 5.636 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/11.76, allocations: 4.125 kB / 5.636 GB, free: 160.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/11.76, allocations: 311.2 kB / 5.636 GB, free: 160 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/11.76, allocations: 4 kB / 5.636 GB, free: 160 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/11.76, allocations: 25.5 kB / 5.636 GB, free: 160 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/11.76, allocations: 11.94 kB / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/11.76, allocations: 0 / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.34e-05/11.76, allocations: 60.89 kB / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/11.76, allocations: 4 kB / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/11.76, allocations: 0 / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/11.76, allocations: 0 / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/11.76, allocations: 8 kB / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/11.76, allocations: 3.938 kB / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/11.76, allocations: 7.906 kB / 5.636 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/11.76, allocations: 0 / 5.636 GB, free: 159.9 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 7.382e-05/11.76, allocations: 121.5 kB / 5.636 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/11.76, allocations: 3.953 kB / 5.636 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/11.76, allocations: 3.125 kB / 5.636 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/11.76, allocations: 0 / 5.636 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/11.76, allocations: 0 / 5.636 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/11.76, allocations: 4 kB / 5.636 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/11.76, allocations: 342.7 kB / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/11.76, allocations: 3.984 kB / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.552e-05/11.76, allocations: 4.031 kB / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/11.76, allocations: 0 / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/11.76, allocations: 7.875 kB / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/11.76, allocations: 0 / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/11.76, allocations: 4 kB / 5.637 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.997e-05/11.76, allocations: 52.89 kB / 5.637 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/11.76, allocations: 85.05 kB / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/11.76, allocations: 4 kB / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/11.76, allocations: 4.031 kB / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/11.76, allocations: 4 kB / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/11.76, allocations: 0 / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.773e-05/11.76, allocations: 87.02 kB / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/11.76, allocations: 0 / 5.637 GB, free: 159.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000383/11.76, allocations: 40.94 kB / 5.637 GB, free: 159 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.0007073/11.76, allocations: 0.5636 MB / 5.638 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.855e-05/11.76, allocations: 15.44 kB / 5.638 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/11.76, allocations: 0 / 5.638 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/11.76, allocations: 4 kB / 5.638 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/11.76, allocations: 7.938 kB / 5.638 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/11.76, allocations: 132.9 kB / 5.638 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/11.76, allocations: 0.6809 MB / 5.638 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.833e-05/11.76, allocations: 11.97 kB / 5.638 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/11.76, allocations: 7.438 kB / 5.638 GB, free: 157.6 MB / 0.948 GB Notification: Performance of SimCode: time 3.4e-07/11.76, allocations: 4 kB / 5.638 GB, free: 157.6 MB / 0.948 GB Notification: Performance of Templates: time 0.009841/11.77, allocations: 7.853 MB / 5.646 GB, free: 149.7 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)