Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.883/4.883, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002425/0.002425, allocations: 356.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.013/4.013, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 191.2 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004913, allocations: 12 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6947, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1621/0.8569, allocations: 133.9 MB / 1.592 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002475/0.8572, allocations: 135.7 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.8572, allocations: 4 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.8573, allocations: 3.984 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.8574, allocations: 11.86 kB / 1.592 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.8578, allocations: 71.77 kB / 1.592 GB, free: 150.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.8579, allocations: 43.81 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.8579, allocations: 4 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.858, allocations: 11.94 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.8581, allocations: 15.97 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.8581, allocations: 4 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.8583, allocations: 47.78 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.8584, allocations: 7.984 kB / 1.592 GB, free: 150.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.8584, allocations: 29.7 kB / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.797e-05/0.8585, allocations: 34.02 kB / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8585, allocations: 0 / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8586, allocations: 0 / 1.593 GB, free: 150 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.8586, allocations: 3.938 kB / 1.593 GB, free: 150 MB / 0.8542 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.0003263/0.8589, allocations: 331.3 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.859, allocations: 19.62 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.8593, allocations: 23.92 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.8593, allocations: 164.4 kB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.8594, allocations: 29.7 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.8594, allocations: 0 / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.8596, allocations: 45.67 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8596, allocations: 4 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.8597, allocations: 4 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.8597, allocations: 3.953 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/0.8598, allocations: 23.92 kB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.8602, allocations: 253 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.248e-05/0.8602, allocations: 15.23 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.8602, allocations: 12.92 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.8603, allocations: 3.953 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.8603, allocations: 30.56 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.8603, allocations: 0 / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.8604, allocations: 37.64 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.621e-05/0.8605, allocations: 51.41 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.8605, allocations: 105.8 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.8606, allocations: 29.7 kB / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.8606, allocations: 96.02 kB / 1.594 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.8606, allocations: 11.92 kB / 1.594 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.8606, allocations: 0 / 1.594 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.8607, allocations: 314.8 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.8607, allocations: 0 / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.8608, allocations: 23.38 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.8608, allocations: 15.98 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8608, allocations: 0 / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.74e-05/0.8609, allocations: 53.62 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.861, allocations: 7.953 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.861, allocations: 0 / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.861, allocations: 7.938 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.8611, allocations: 4 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8611, allocations: 0 / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.8612, allocations: 7.906 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.8612, allocations: 8.094 kB / 1.594 GB, free: 148.1 MB / 0.8542 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 5.744e-05/0.8612, allocations: 109.8 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.8613, allocations: 3.938 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.8613, allocations: 13.03 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8613, allocations: 4 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8613, allocations: 0 / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.8614, allocations: 77.11 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.8614, allocations: 0 / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.8616, allocations: 8 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.8616, allocations: 3.984 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.883e-05/0.8616, allocations: 112.9 kB / 1.595 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.708e-05/0.8617, allocations: 206.8 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.004e-05/0.8618, allocations: 4.234 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.8618, allocations: 87.34 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of Backend: time 6.31e-07/0.8618, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.8623, allocations: 114.8 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003857/0.8627, allocations: 0.572 MB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003357/0.8661, allocations: 0.6405 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB