Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.542/2.542, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 177.6 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.434/2.434, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 95.86 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006256/0.0006259, allocations: 17.22 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2616, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1961/0.4577, allocations: 124.9 MB / 1.021 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0002931/0.4581, allocations: 127.8 kB / 1.021 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.4581, allocations: 0 / 1.021 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.4582, allocations: 7.922 kB / 1.021 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.4583, allocations: 11.98 kB / 1.021 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.4588, allocations: 75.7 kB / 1.021 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.963e-05/0.4588, allocations: 19.95 kB / 1.021 GB, free: 4 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.4589, allocations: 0 / 1.021 GB, free: 4 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.459, allocations: 12 kB / 1.021 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.459, allocations: 7.984 kB / 1.021 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4591, allocations: 3.938 kB / 1.021 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.4593, allocations: 47.89 kB / 1.021 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.4594, allocations: 7.984 kB / 1.021 GB, free: 3.922 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.4594, allocations: 29.7 kB / 1.021 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.4596, allocations: 35.97 kB / 1.021 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.4596, allocations: 0 / 1.021 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4596, allocations: 0 / 1.021 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.4596, allocations: 4 kB / 1.021 GB, free: 3.848 MB / 0.6667 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.0004325/0.46, allocations: 331.5 kB / 1.022 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4601, allocations: 8.031 kB / 1.022 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.4604, allocations: 27.94 kB / 1.022 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.4606, allocations: 163.1 kB / 1.022 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.4606, allocations: 29.69 kB / 1.022 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.4607, allocations: 4 kB / 1.022 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.4609, allocations: 45.62 kB / 1.022 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4609, allocations: 0 / 1.022 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4609, allocations: 0 / 1.022 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.4609, allocations: 11.94 kB / 1.022 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.461, allocations: 15.98 kB / 1.022 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.4615, allocations: 260.8 kB / 1.022 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.4616, allocations: 18.58 kB / 1.022 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4616, allocations: 0 / 1.022 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4617, allocations: 46.47 kB / 1.022 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.4617, allocations: 0 / 1.022 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.4618, allocations: 37.77 kB / 1.022 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4619, allocations: 51.41 kB / 1.022 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.462, allocations: 113.8 kB / 1.022 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.462, allocations: 25.7 kB / 1.022 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.4621, allocations: 87.98 kB / 1.022 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.4621, allocations: 7.906 kB / 1.022 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4621, allocations: 0 / 1.022 GB, free: 2.383 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4623, allocations: 314.8 kB / 1.023 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.4623, allocations: 12.11 kB / 1.023 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.4624, allocations: 22.52 kB / 1.023 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.4624, allocations: 8 kB / 1.023 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4624, allocations: 0 / 1.023 GB, free: 2.016 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.4626, allocations: 53.62 kB / 1.023 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4626, allocations: 9.281 kB / 1.023 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4626, allocations: 11.95 kB / 1.023 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4627, allocations: 0 / 1.023 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.4628, allocations: 11.92 kB / 1.023 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4628, allocations: 4 kB / 1.023 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.4628, allocations: 0 / 1.023 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.4629, allocations: 4 kB / 1.023 GB, free: 1.918 MB / 0.6667 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 9.52e-05/0.463, allocations: 109.8 kB / 1.023 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.463, allocations: 4 kB / 1.023 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.463, allocations: 3.125 kB / 1.023 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.463, allocations: 7.953 kB / 1.023 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4631, allocations: 3.938 kB / 1.023 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4631, allocations: 0 / 1.023 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.4634, allocations: 346.7 kB / 1.023 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4634, allocations: 0 / 1.023 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.4635, allocations: 4 kB / 1.023 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4635, allocations: 3.953 kB / 1.023 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.4635, allocations: 0 / 1.023 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4635, allocations: 4.031 kB / 1.023 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4635, allocations: 0 / 1.023 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/0.4636, allocations: 65.06 kB / 1.023 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.4637, allocations: 77.11 kB / 1.023 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.4637, allocations: 3.953 kB / 1.023 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4639, allocations: 4 kB / 1.024 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.4639, allocations: 0 / 1.024 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4639, allocations: 4.031 kB / 1.024 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.464, allocations: 91.27 kB / 1.024 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.4e-07/0.464, allocations: 0 / 1.024 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002633/0.4643, allocations: 4 kB / 1.024 GB, free: 1.09 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.4644, allocations: 95.25 kB / 1.024 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.4645, allocations: 19.92 kB / 1.024 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4645, allocations: 192 / 1.024 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.4645, allocations: 8 kB / 1.024 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.4647, allocations: 4 kB / 1.024 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.4651, allocations: 120.5 kB / 1.024 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.4654, allocations: 0.677 MB / 1.024 GB, free: 112 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.747e-05/0.4655, allocations: 12.05 kB / 1.025 GB, free: 100 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.4655, allocations: 7.438 kB / 1.025 GB, free: 92 kB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/0.4655, allocations: 0 / 1.025 GB, free: 92 kB / 0.6667 GB Notification: Performance of Templates: time 0.003059/0.4686, allocations: 444.1 kB / 1.025 GB, free: 15.67 MB / 0.6823 GB