Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 288.3 MB / 303.2 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 183.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009257/0.0009262, allocations: 98.78 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 11 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2448, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6223/0.8672, allocations: 124.9 MB / 1.101 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.8674, allocations: 129.5 kB / 1.102 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.8674, allocations: 0 / 1.102 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 9.359e-05/0.8676, allocations: 3.688 kB / 1.102 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 3.222e-05/0.8676, allocations: 10.05 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.8679, allocations: 74.39 kB / 1.102 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.868, allocations: 16.09 kB / 1.102 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.868, allocations: 0.75 kB / 1.102 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.8681, allocations: 15.7 kB / 1.102 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.8681, allocations: 9.266 kB / 1.102 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.8681, allocations: 3.328 kB / 1.102 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.8683, allocations: 49.09 kB / 1.102 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.8684, allocations: 8.703 kB / 1.102 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.8685, allocations: 29.05 kB / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.73e-05/0.8686, allocations: 29.06 kB / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.8686, allocations: 0 / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8686, allocations: 1.438 kB / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.8686, allocations: 3.938 kB / 1.102 GB, free: 18.59 MB / 0.698 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.0003364/0.8689, allocations: 333.8 kB / 1.102 GB, free: 18.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.869, allocations: 13.8 kB / 1.102 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.8692, allocations: 26.09 kB / 1.102 GB, free: 18.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.41e-05/0.8693, allocations: 166 kB / 1.102 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.8694, allocations: 27.11 kB / 1.102 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.8694, allocations: 1.031 kB / 1.102 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.8695, allocations: 49.47 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8695, allocations: 2.203 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8696, allocations: 2.422 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.8696, allocations: 2.625 kB / 1.102 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.241e-05/0.8697, allocations: 29.77 kB / 1.102 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.87, allocations: 249.9 kB / 1.103 GB, free: 17.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.992e-05/0.87, allocations: 19.33 kB / 1.103 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.8701, allocations: 5.25 kB / 1.103 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.8701, allocations: 37.83 kB / 1.103 GB, free: 17.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8701, allocations: 0 / 1.103 GB, free: 17.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001104/0.8702, allocations: 41.41 kB / 1.103 GB, free: 17.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.8702, allocations: 51.41 kB / 1.103 GB, free: 17.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.8703, allocations: 104.4 kB / 1.103 GB, free: 17.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.8703, allocations: 25.7 kB / 1.103 GB, free: 17.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.8704, allocations: 98.48 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.8704, allocations: 1.188 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.8704, allocations: 0 / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8705, allocations: 319.2 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.8705, allocations: 5.609 kB / 1.103 GB, free: 16.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.8706, allocations: 24.58 kB / 1.103 GB, free: 16.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.8706, allocations: 5.25 kB / 1.103 GB, free: 16.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8706, allocations: 0 / 1.103 GB, free: 16.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.563e-05/0.8707, allocations: 59.77 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.8707, allocations: 6.031 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.8707, allocations: 1.859 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.8707, allocations: 5.203 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.8708, allocations: 10.25 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8708, allocations: 3.453 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.8708, allocations: 5.25 kB / 1.103 GB, free: 16.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.8708, allocations: 1.188 kB / 1.103 GB, free: 16.9 MB / 0.698 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 6.223e-05/0.8709, allocations: 112.7 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.8709, allocations: 5.094 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.634e-05/0.871, allocations: 6.609 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.871, allocations: 7.938 kB / 1.104 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.871, allocations: 1.219 kB / 1.104 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.871, allocations: 0 / 1.104 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.8712, allocations: 343.2 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8712, allocations: 2.719 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.8712, allocations: 2.281 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8712, allocations: 7.984 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.8712, allocations: 2.062 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8712, allocations: 5.969 kB / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8713, allocations: 0 / 1.104 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.068e-05/0.8713, allocations: 57.41 kB / 1.104 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.8714, allocations: 77.11 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.8714, allocations: 5.391 kB / 1.104 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.8715, allocations: 9.688 kB / 1.104 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-06/0.8715, allocations: 1.469 kB / 1.104 GB, free: 16.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.8715, allocations: 0 / 1.104 GB, free: 16.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.8715, allocations: 88.06 kB / 1.104 GB, free: 16.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8715, allocations: 3.938 kB / 1.104 GB, free: 16.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001908/0.8717, allocations: 5.562 kB / 1.104 GB, free: 16.14 MB / 0.698 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 8.351e-05/0.8718, allocations: 99.98 kB / 1.104 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.8719, allocations: 15.12 kB / 1.104 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8719, allocations: 1.531 kB / 1.104 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.671e-06/0.8719, allocations: 3.359 kB / 1.104 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.8721, allocations: 5.812 kB / 1.104 GB, free: 16.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.8723, allocations: 127.1 kB / 1.104 GB, free: 15.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.8725, allocations: 0.6791 MB / 1.105 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.8725, allocations: 10.5 kB / 1.105 GB, free: 15.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.8726, allocations: 8.25 kB / 1.105 GB, free: 15.22 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.8726, allocations: 0 / 1.105 GB, free: 15.22 MB / 0.698 GB Notification: Performance of Templates: time 0.001965/0.8745, allocations: 436.1 kB / 1.105 GB, free: 15.2 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)