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.001494/0.001494, allocations: 111.3 kB / 15.34 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.001697/0.001697, allocations: 190.7 kB / 16.25 MB, free: 6.145 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.519/1.519, allocations: 205.1 MB / 222.1 MB, free: 4.738 MB / 174.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.709/1.709, allocations: 292.2 MB / 0.5485 GB, free: 13.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.001418/0.001418, allocations: 66.11 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2949, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6711/0.9661, allocations: 145.7 MB / 0.9252 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001459/0.9663, allocations: 46.92 kB / 0.9252 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.9663, allocations: 0 / 0.9252 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.9665, allocations: 10.2 kB / 0.9252 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.9666, allocations: 12.38 kB / 0.9252 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.9671, allocations: 86.19 kB / 0.9253 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.9671, allocations: 32.3 kB / 0.9254 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.9672, allocations: 4.406 kB / 0.9254 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.9672, allocations: 12.67 kB / 0.9254 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.9673, allocations: 17.55 kB / 0.9254 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.9673, allocations: 1.156 kB / 0.9254 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.9676, allocations: 83.36 kB / 0.9255 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.9676, allocations: 8.203 kB / 0.9255 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.9677, allocations: 11.61 kB / 0.9255 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.9678, allocations: 68.81 kB / 0.9255 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.9679, allocations: 2.906 kB / 0.9256 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9679, allocations: 1.219 kB / 0.9256 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.9679, allocations: 1.094 kB / 0.9256 GB, free: 6.32 MB / 0.7325 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.0007116/0.9686, allocations: 340.1 kB / 0.9259 GB, free: 21.97 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.9686, allocations: 13.97 kB / 0.9259 GB, free: 21.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.9689, allocations: 19.72 kB / 0.9259 GB, free: 21.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.969, allocations: 170 kB / 0.9261 GB, free: 21.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.9691, allocations: 34.98 kB / 0.9261 GB, free: 21.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.9691, allocations: 0.9375 kB / 0.9261 GB, free: 21.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.9693, allocations: 49.05 kB / 0.9262 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9693, allocations: 4.109 kB / 0.9262 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.9693, allocations: 5.062 kB / 0.9262 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.9694, allocations: 2 kB / 0.9262 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.96e-05/0.9694, allocations: 17.34 kB / 0.9262 GB, free: 21.7 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.9698, allocations: 254.8 kB / 0.9264 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.9699, allocations: 19.39 kB / 0.9264 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.9699, allocations: 11.27 kB / 0.9265 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-06/0.9699, allocations: 2.328 kB / 0.9265 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.97, allocations: 34.83 kB / 0.9265 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/0.97, allocations: 0 / 0.9265 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.9701, allocations: 39.14 kB / 0.9265 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.9702, allocations: 56.19 kB / 0.9266 GB, free: 21.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.9703, allocations: 109.2 kB / 0.9267 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.9703, allocations: 30.55 kB / 0.9267 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.9703, allocations: 93.73 kB / 0.9268 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.9704, allocations: 2 kB / 0.9268 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.9704, allocations: 21.03 kB / 0.9268 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9705, allocations: 311.7 kB / 0.9271 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.9706, allocations: 6.625 kB / 0.9271 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.9706, allocations: 24.53 kB / 0.9272 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.131e-05/0.9706, allocations: 33.3 kB / 0.9272 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9707, allocations: 0 / 0.9272 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.815e-05/0.9707, allocations: 59.22 kB / 0.9272 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9708, allocations: 5.906 kB / 0.9272 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9708, allocations: 1.062 kB / 0.9272 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.9708, allocations: 0.9375 kB / 0.9272 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.9709, allocations: 12.92 kB / 0.9273 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9709, allocations: 5.797 kB / 0.9273 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.9709, allocations: 2 kB / 0.9273 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.9709, allocations: 2.906 kB / 0.9273 GB, free: 20.61 MB / 0.7481 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.612e-05/0.971, allocations: 112.8 kB / 0.9274 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.971, allocations: 1.875 kB / 0.9274 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.9711, allocations: 7.469 kB / 0.9274 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9711, allocations: 0.9062 kB / 0.9274 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9711, allocations: 6.844 kB / 0.9274 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9711, allocations: 5.75 kB / 0.9274 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.9714, allocations: 338.2 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9714, allocations: 1.25 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.9714, allocations: 5.156 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9714, allocations: 5.141 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.9714, allocations: 0.875 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.9714, allocations: 0.9375 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9714, allocations: 2.906 kB / 0.9277 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.404e-05/0.9715, allocations: 63.64 kB / 0.9278 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.9715, allocations: 81.3 kB / 0.9279 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.9716, allocations: 5.156 kB / 0.9279 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.9716, allocations: 4.531 kB / 0.9279 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.9717, allocations: 1.031 kB / 0.9279 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.9717, allocations: 0 / 0.9279 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.9717, allocations: 92.2 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9717, allocations: 1.094 kB / 0.928 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001884/0.9719, allocations: 5.812 kB / 0.928 GB, free: 19.85 MB / 0.7481 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.000172/0.9721, allocations: 105.2 kB / 0.9281 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.473e-05/0.9722, allocations: 15.88 kB / 0.9281 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9722, allocations: 0.9062 kB / 0.9281 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.9722, allocations: 4.719 kB / 0.9281 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.9725, allocations: 8.906 kB / 0.9281 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.9728, allocations: 113.6 kB / 0.9282 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.973, allocations: 0.6762 MB / 0.9289 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.596e-05/0.9731, allocations: 7.375 kB / 0.9289 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.9731, allocations: 13.53 kB / 0.9289 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.9731, allocations: 0 / 0.9289 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.002501/0.9756, allocations: 469.9 kB / 0.9293 GB, free: 18.9 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)