Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001946/0.001946, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.59 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3844, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1772/0.5616, allocations: 145.6 MB / 1.21 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.5618, allocations: 51.88 kB / 1.21 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.5618, allocations: 0 / 1.21 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.562, allocations: 3.984 kB / 1.21 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.5621, allocations: 11.92 kB / 1.21 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.5626, allocations: 103.7 kB / 1.21 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.5627, allocations: 55.83 kB / 1.21 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.5627, allocations: 3.984 kB / 1.21 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.5628, allocations: 19.92 kB / 1.21 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.5629, allocations: 7.984 kB / 1.21 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.5629, allocations: 4 kB / 1.21 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.5631, allocations: 83.72 kB / 1.21 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.5632, allocations: 11.98 kB / 1.21 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.5632, allocations: 7.938 kB / 1.21 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.5634, allocations: 84.11 kB / 1.21 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5634, allocations: 0 / 1.21 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5634, allocations: 0 / 1.21 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5635, allocations: 0 / 1.21 GB, free: 8.336 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.000426/0.5639, allocations: 335.5 kB / 1.21 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5639, allocations: 8.031 kB / 1.21 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.5642, allocations: 20.83 kB / 1.21 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.5643, allocations: 176.3 kB / 1.211 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.5644, allocations: 29.64 kB / 1.211 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.5644, allocations: 0 / 1.211 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5646, allocations: 45.69 kB / 1.211 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5646, allocations: 0 / 1.211 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5646, allocations: 0 / 1.211 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.5646, allocations: 4 kB / 1.211 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.5647, allocations: 15.98 kB / 1.211 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.5651, allocations: 272.8 kB / 1.211 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.856e-05/0.5651, allocations: 18.58 kB / 1.211 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.5651, allocations: 4.859 kB / 1.211 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.5652, allocations: 0 / 1.211 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.5652, allocations: 38.55 kB / 1.211 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5652, allocations: 4 kB / 1.211 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.5653, allocations: 37.7 kB / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.5654, allocations: 55.34 kB / 1.211 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/0.5655, allocations: 109.8 kB / 1.211 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5655, allocations: 25.7 kB / 1.211 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.5655, allocations: 92.03 kB / 1.211 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-06/0.5656, allocations: 4 kB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.5656, allocations: 13.72 kB / 1.211 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5657, allocations: 323 kB / 1.212 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.5657, allocations: 4 kB / 1.212 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.5658, allocations: 18.58 kB / 1.212 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.5658, allocations: 38.44 kB / 1.212 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5658, allocations: 4 kB / 1.212 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.904e-05/0.5659, allocations: 53.55 kB / 1.212 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5659, allocations: 7.984 kB / 1.212 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5659, allocations: 7.984 kB / 1.212 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.566, allocations: 0 / 1.212 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.566, allocations: 4 kB / 1.212 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.566, allocations: 7.938 kB / 1.212 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.5661, allocations: 4 kB / 1.212 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.5661, allocations: 0 / 1.212 GB, free: 6.344 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 9.173e-05/0.5662, allocations: 121.8 kB / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.5662, allocations: 4.078 kB / 1.212 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.5663, allocations: 11.11 kB / 1.212 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5663, allocations: 0 / 1.212 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5663, allocations: 3.938 kB / 1.212 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5663, allocations: 0 / 1.212 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.5665, allocations: 342.8 kB / 1.212 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5665, allocations: 0 / 1.212 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.5666, allocations: 11.97 kB / 1.212 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5666, allocations: 3.938 kB / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.5666, allocations: 0 / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5666, allocations: 0 / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5666, allocations: 0 / 1.212 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.65e-05/0.5667, allocations: 64.97 kB / 1.212 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.5667, allocations: 81.05 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.5667, allocations: 4.281 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.5668, allocations: 15.98 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.5668, allocations: 0 / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.5669, allocations: 0 / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.5669, allocations: 79.28 kB / 1.213 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5669, allocations: 0 / 1.213 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001896/0.5671, allocations: 8 kB / 1.213 GB, free: 5.5 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.0001005/0.5672, allocations: 95.25 kB / 1.213 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.875e-05/0.5673, allocations: 23.92 kB / 1.213 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5673, allocations: 4 kB / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.5673, allocations: 0 / 1.213 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5676, allocations: 14.77 kB / 1.213 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.5679, allocations: 112.4 kB / 1.213 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.5681, allocations: 0.6773 MB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.5682, allocations: 8 kB / 1.213 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.5682, allocations: 7.438 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.5682, allocations: 0 / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of Templates: time 0.002501/0.5707, allocations: 494 kB / 1.214 GB, free: 4.035 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)