Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.923/4.923, allocations: 0.5623 GB / 0.5776 GB, free: 3.289 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.002457/0.002457, allocations: 356.7 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.113/4.113, allocations: 410.7 MB / 1.113 GB, free: 5.852 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.001815/0.001815, allocations: 192.1 kB / 1.226 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 16 kB / 1.349 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7009, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1637/0.8647, allocations: 134.3 MB / 1.593 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.8651, allocations: 143.6 kB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.8651, allocations: 0 / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.8652, allocations: 7.984 kB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.8653, allocations: 11.92 kB / 1.593 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.8659, allocations: 135.4 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.866, allocations: 43.84 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.8661, allocations: 0 / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.8661, allocations: 15.97 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.8662, allocations: 11.94 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.8662, allocations: 4 kB / 1.593 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.8666, allocations: 99.66 kB / 1.593 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.8667, allocations: 11.92 kB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.8667, allocations: 25.7 kB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.8669, allocations: 50.05 kB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8669, allocations: 0 / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8669, allocations: 4 kB / 1.593 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8669, allocations: 3.938 kB / 1.593 GB, free: 149.4 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.0003445/0.8673, allocations: 331.3 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.8673, allocations: 19.62 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.8677, allocations: 23.92 kB / 1.593 GB, free: 149 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.8678, allocations: 167 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.8679, allocations: 29.69 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.868, allocations: 1.688 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.8681, allocations: 49.69 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8682, allocations: 0 / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.8682, allocations: 7.938 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.8682, allocations: 3.953 kB / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.8683, allocations: 23.92 kB / 1.594 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.8686, allocations: 253 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.38e-05/0.8687, allocations: 26.58 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.8687, allocations: 4.859 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.8689, allocations: 97.16 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.869, allocations: 46.44 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.869, allocations: 0 / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002712/0.8693, allocations: 42.31 kB / 1.594 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.8693, allocations: 59.39 kB / 1.594 GB, free: 148 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.8694, allocations: 101.9 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.8694, allocations: 25.7 kB / 1.594 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.8694, allocations: 92.05 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.8695, allocations: 11.88 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.8695, allocations: 0 / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.8695, allocations: 310.8 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.8696, allocations: 8 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.8696, allocations: 33.12 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.8697, allocations: 12 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8697, allocations: 0 / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.8698, allocations: 53.62 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8698, allocations: 4 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8698, allocations: 3.953 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8698, allocations: 0 / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.8699, allocations: 8.094 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8699, allocations: 4 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.87, allocations: 4 kB / 1.595 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.87, allocations: 0 / 1.595 GB, free: 147.3 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 6.152e-05/0.8701, allocations: 109.8 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.8701, allocations: 7.891 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.8702, allocations: 7.125 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.8702, allocations: 3.953 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8702, allocations: 3.938 kB / 1.595 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.8702, allocations: 85.11 kB / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.8702, allocations: 0 / 1.595 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.8704, allocations: 11.92 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.8704, allocations: 3.938 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.566e-05/0.8705, allocations: 113 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.972e-05/0.8706, allocations: 210.8 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.2e-05/0.8707, allocations: 8 kB / 1.595 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.8707, allocations: 87.27 kB / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of Backend: time 8.32e-07/0.8707, allocations: 0 / 1.595 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.8712, allocations: 122.1 kB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004005/0.8717, allocations: 0.5684 MB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004132/0.8758, allocations: 0.9363 MB / 1.597 GB, free: 145 MB / 0.8542 GB