Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001435/0.001435, allocations: 101.7 kB / 16.35 MB, free: 6.348 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.001639/0.001639, allocations: 196.1 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.19 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2525, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5821/0.8347, allocations: 147.8 MB / 0.9291 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.8349, allocations: 45.72 kB / 0.9292 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.8349, allocations: 1.031 kB / 0.9292 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.8351, allocations: 11.92 kB / 0.9292 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.8352, allocations: 11.02 kB / 0.9292 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.8357, allocations: 98.12 kB / 0.9293 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8358, allocations: 28.17 kB / 0.9293 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.8359, allocations: 6.203 kB / 0.9293 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.8359, allocations: 15.83 kB / 0.9293 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.836, allocations: 9.719 kB / 0.9294 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.8361, allocations: 1.094 kB / 0.9294 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.8364, allocations: 88.28 kB / 0.9294 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.8365, allocations: 6.578 kB / 0.9294 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.8365, allocations: 13.58 kB / 0.9295 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.8367, allocations: 74.28 kB / 0.9295 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8367, allocations: 0 / 0.9295 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8368, allocations: 1.312 kB / 0.9295 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.8368, allocations: 0 / 0.9295 GB, free: 5.582 MB / 0.7169 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.0005041/0.8373, allocations: 335.8 kB / 0.9299 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.8373, allocations: 8.094 kB / 0.9299 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.8376, allocations: 25.42 kB / 0.9299 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8378, allocations: 164.6 kB / 0.93 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.8378, allocations: 32.55 kB / 0.9301 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.8379, allocations: 0 / 0.9301 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.838, allocations: 44.78 kB / 0.9301 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.838, allocations: 0 / 0.9301 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.838, allocations: 6.047 kB / 0.9301 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.8381, allocations: 13.19 kB / 0.9301 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.8381, allocations: 23.45 kB / 0.9302 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.8385, allocations: 256.5 kB / 0.9304 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.8386, allocations: 15.61 kB / 0.9304 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.8386, allocations: 9.984 kB / 0.9304 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.8386, allocations: 4.938 kB / 0.9304 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.8387, allocations: 32.88 kB / 0.9305 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8387, allocations: 0 / 0.9305 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.8388, allocations: 43.27 kB / 0.9305 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.8389, allocations: 51.41 kB / 0.9306 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.839, allocations: 109.4 kB / 0.9307 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.839, allocations: 27.02 kB / 0.9307 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.8391, allocations: 93.67 kB / 0.9308 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-06/0.8391, allocations: 5.312 kB / 0.9308 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.8391, allocations: 17.75 kB / 0.9308 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.8392, allocations: 316.1 kB / 0.9311 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.8392, allocations: 7.469 kB / 0.9311 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.8393, allocations: 22.81 kB / 0.9311 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.8393, allocations: 39.31 kB / 0.9312 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8393, allocations: 0 / 0.9312 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.268e-05/0.8394, allocations: 53.03 kB / 0.9312 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8395, allocations: 5.969 kB / 0.9312 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8395, allocations: 1.375 kB / 0.9312 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8395, allocations: 1.344 kB / 0.9312 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.8396, allocations: 5.219 kB / 0.9312 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8396, allocations: 9.281 kB / 0.9312 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.8396, allocations: 1.188 kB / 0.9312 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.8396, allocations: 2.594 kB / 0.9312 GB, free: 3.762 MB / 0.7169 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.729e-05/0.8397, allocations: 116.4 kB / 0.9314 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.8397, allocations: 1.75 kB / 0.9314 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.8398, allocations: 8.453 kB / 0.9314 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.8398, allocations: 0 / 0.9314 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8398, allocations: 5.125 kB / 0.9314 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8398, allocations: 0 / 0.9314 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.8401, allocations: 350.6 kB / 0.9317 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8401, allocations: 0 / 0.9317 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.8401, allocations: 2.719 kB / 0.9317 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.8401, allocations: 3.938 kB / 0.9317 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.8401, allocations: 0 / 0.9317 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8401, allocations: 7.828 kB / 0.9317 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8401, allocations: 0 / 0.9317 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.213e-05/0.8402, allocations: 63.86 kB / 0.9318 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.8403, allocations: 78.58 kB / 0.9318 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.8403, allocations: 5.156 kB / 0.9319 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.8404, allocations: 6.641 kB / 0.9319 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.8404, allocations: 0 / 0.9319 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.8404, allocations: 1.375 kB / 0.9319 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.8405, allocations: 84.78 kB / 0.9319 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8405, allocations: 0 / 0.9319 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001935/0.8407, allocations: 9.406 kB / 0.932 GB, free: 2.973 MB / 0.7169 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.0001117/0.8408, allocations: 101.1 kB / 0.932 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.482e-05/0.8409, allocations: 17.56 kB / 0.9321 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.8409, allocations: 0 / 0.9321 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.8409, allocations: 1.375 kB / 0.9321 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.8412, allocations: 4.125 kB / 0.9321 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.8414, allocations: 117.1 kB / 0.9322 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8417, allocations: 0.6808 MB / 0.9328 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.749e-05/0.8418, allocations: 7.672 kB / 0.9329 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.8418, allocations: 8.906 kB / 0.9329 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8418, allocations: 0 / 0.9329 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.002405/0.8442, allocations: 468 kB / 0.9333 GB, free: 1.703 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)