Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 198.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 66.25 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3726, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1675/0.5402, allocations: 145.8 MB / 1.21 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002144/0.5405, allocations: 51.84 kB / 1.21 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.5405, allocations: 0 / 1.21 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.5407, allocations: 3.938 kB / 1.21 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.5408, allocations: 15.97 kB / 1.21 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.5414, allocations: 103.7 kB / 1.21 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.5415, allocations: 39.91 kB / 1.21 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.5416, allocations: 0 / 1.21 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.5417, allocations: 23.84 kB / 1.21 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.5418, allocations: 12 kB / 1.21 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.5418, allocations: 0 / 1.21 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.5421, allocations: 79.78 kB / 1.21 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.5422, allocations: 11.98 kB / 1.21 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.5423, allocations: 15.92 kB / 1.21 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.5425, allocations: 64.12 kB / 1.21 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5425, allocations: 7.938 kB / 1.21 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5425, allocations: 0 / 1.21 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5425, allocations: 0 / 1.21 GB, free: 8.062 MB / 0.9669 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.0004863/0.543, allocations: 339.5 kB / 1.211 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.543, allocations: 8.031 kB / 1.211 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.5433, allocations: 24.83 kB / 1.211 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.5435, allocations: 168.4 kB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.5436, allocations: 29.64 kB / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.5436, allocations: 0 / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.5437, allocations: 53.66 kB / 1.211 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.5438, allocations: 3.938 kB / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5438, allocations: 0 / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.5438, allocations: 4 kB / 1.211 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.5439, allocations: 15.98 kB / 1.211 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.5443, allocations: 264.8 kB / 1.211 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.5444, allocations: 18.58 kB / 1.211 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.5444, allocations: 4.859 kB / 1.211 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.5444, allocations: 3.938 kB / 1.211 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.5445, allocations: 38.5 kB / 1.211 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5445, allocations: 0 / 1.211 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001622/0.5447, allocations: 33.77 kB / 1.211 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.5447, allocations: 59.34 kB / 1.211 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.5448, allocations: 113.8 kB / 1.212 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5449, allocations: 25.7 kB / 1.212 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.5449, allocations: 88.05 kB / 1.212 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-06/0.5449, allocations: 7.969 kB / 1.212 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.545, allocations: 21.84 kB / 1.212 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5451, allocations: 310.8 kB / 1.212 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.5452, allocations: 4 kB / 1.212 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.5452, allocations: 30.5 kB / 1.212 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.5452, allocations: 30.58 kB / 1.212 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5453, allocations: 0 / 1.212 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.64e-05/0.5454, allocations: 61.47 kB / 1.212 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5454, allocations: 4 kB / 1.212 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.5454, allocations: 4 kB / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5454, allocations: 0 / 1.212 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.5455, allocations: 7.938 kB / 1.212 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5455, allocations: 7.938 kB / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.5455, allocations: 0 / 1.212 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5456, allocations: 8.078 kB / 1.212 GB, free: 6.059 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.5456, allocations: 117.8 kB / 1.212 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.5457, allocations: 0 / 1.212 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.5457, allocations: 7.125 kB / 1.212 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5457, allocations: 0 / 1.212 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5457, allocations: 3.938 kB / 1.212 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.5457, allocations: 0 / 1.212 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.546, allocations: 350.7 kB / 1.213 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.546, allocations: 0 / 1.213 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.546, allocations: 4 kB / 1.213 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.546, allocations: 3.938 kB / 1.213 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.546, allocations: 0 / 1.213 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.546, allocations: 0 / 1.213 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.546, allocations: 0 / 1.213 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.646e-05/0.5461, allocations: 61.05 kB / 1.213 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.5462, allocations: 89.09 kB / 1.213 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.5462, allocations: 0 / 1.213 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.5463, allocations: 4 kB / 1.213 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-06/0.5463, allocations: 0 / 1.213 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.5463, allocations: 256 / 1.213 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.5464, allocations: 95.2 kB / 1.213 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5464, allocations: 0 / 1.213 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002064/0.5466, allocations: 8 kB / 1.213 GB, free: 5.223 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001101/0.5467, allocations: 103.2 kB / 1.213 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.221e-05/0.5468, allocations: 12 kB / 1.213 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5468, allocations: 4 kB / 1.213 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.5468, allocations: 0 / 1.213 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.5471, allocations: 7.984 kB / 1.213 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.5473, allocations: 110.9 kB / 1.213 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.5476, allocations: 0.6806 MB / 1.214 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.24e-05/0.5477, allocations: 12.06 kB / 1.214 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.5477, allocations: 7.438 kB / 1.214 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.5477, allocations: 0 / 1.214 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of Templates: time 0.002756/0.5505, allocations: 0.4909 MB / 1.214 GB, free: 3.75 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)