Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001628/0.001628, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 252 MB / 0.5102 GB, free: 4.891 MB / 414.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.0005519/0.0005519, allocations: 12 kB / 0.6243 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6075, allocations: 106.3 MB / 0.7281 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1668/0.7743, allocations: 134.5 MB / 0.8594 GB, free: 4.609 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.7745, allocations: 43.89 kB / 0.8595 GB, free: 4.566 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.7746, allocations: 0 / 0.8595 GB, free: 4.566 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.7747, allocations: 7.875 kB / 0.8595 GB, free: 4.559 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.7748, allocations: 3.984 kB / 0.8595 GB, free: 4.555 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.7756, allocations: 153.5 kB / 0.8596 GB, free: 4.406 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.7757, allocations: 43.88 kB / 0.8597 GB, free: 4.363 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.7757, allocations: 0 / 0.8597 GB, free: 4.363 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.531e-05/0.7758, allocations: 15.92 kB / 0.8597 GB, free: 4.348 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.7759, allocations: 15.98 kB / 0.8597 GB, free: 4.332 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.7759, allocations: 3.938 kB / 0.8597 GB, free: 4.328 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.7763, allocations: 99.66 kB / 0.8598 GB, free: 4.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.7763, allocations: 8 kB / 0.8598 GB, free: 4.223 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.7764, allocations: 25.7 kB / 0.8598 GB, free: 4.191 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.7765, allocations: 57.91 kB / 0.8599 GB, free: 4.137 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.7765, allocations: 4 kB / 0.8599 GB, free: 4.133 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7765, allocations: 0 / 0.8599 GB, free: 4.133 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7766, allocations: 0 / 0.8599 GB, free: 4.133 MB / 0.67 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.0004481/0.777, allocations: 331.4 kB / 0.8602 GB, free: 3.762 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7771, allocations: 8.031 kB / 0.8602 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.7774, allocations: 27.92 kB / 0.8603 GB, free: 3.727 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.7776, allocations: 175 kB / 0.8604 GB, free: 3.516 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/0.7776, allocations: 25.7 kB / 0.8604 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.7777, allocations: 4 kB / 0.8604 GB, free: 3.48 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.7778, allocations: 53.66 kB / 0.8605 GB, free: 3.422 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7778, allocations: 0 / 0.8605 GB, free: 3.422 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.7778, allocations: 0 / 0.8605 GB, free: 3.422 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.7779, allocations: 3.984 kB / 0.8605 GB, free: 3.418 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.7779, allocations: 23.95 kB / 0.8605 GB, free: 3.395 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.7783, allocations: 260.9 kB / 0.8608 GB, free: 3.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.7783, allocations: 26.45 kB / 0.8608 GB, free: 3.055 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.7784, allocations: 12.84 kB / 0.8608 GB, free: 3.039 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.7785, allocations: 89.17 kB / 0.8609 GB, free: 2.934 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.7786, allocations: 38.55 kB / 0.8609 GB, free: 2.887 MB / 0.67 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7786, allocations: 0 / 0.8609 GB, free: 2.887 MB / 0.67 GB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.7788, allocations: 53.64 kB / 0.861 GB, free: 2.828 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.7788, allocations: 55.34 kB / 0.861 GB, free: 2.762 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.7789, allocations: 101.8 kB / 0.8611 GB, free: 2.652 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.779, allocations: 29.7 kB / 0.8612 GB, free: 2.617 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.779, allocations: 88.03 kB / 0.8612 GB, free: 2.527 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.779, allocations: 8.031 kB / 0.8613 GB, free: 2.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.779, allocations: 4 kB / 0.8613 GB, free: 2.516 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.7792, allocations: 314.8 kB / 0.8616 GB, free: 2.199 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.7792, allocations: 0 / 0.8616 GB, free: 2.199 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.7792, allocations: 26.56 kB / 0.8616 GB, free: 2.164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.7793, allocations: 8 kB / 0.8616 GB, free: 2.156 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7793, allocations: 4 kB / 0.8616 GB, free: 2.152 MB / 0.67 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.993e-05/0.7794, allocations: 53.62 kB / 0.8616 GB, free: 2.094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7794, allocations: 4 kB / 0.8617 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.7794, allocations: 4 kB / 0.8617 GB, free: 2.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7794, allocations: 7.953 kB / 0.8617 GB, free: 2.078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.7795, allocations: 4 kB / 0.8617 GB, free: 2.074 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7795, allocations: 7.875 kB / 0.8617 GB, free: 2.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.7795, allocations: 4 kB / 0.8617 GB, free: 2.062 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.7795, allocations: 0 / 0.8617 GB, free: 2.062 MB / 0.67 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 8.466e-05/0.7796, allocations: 121.9 kB / 0.8618 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.7797, allocations: 0 / 0.8618 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.7797, allocations: 3.125 kB / 0.8618 GB, free: 1.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.7797, allocations: 4 kB / 0.8618 GB, free: 1.926 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7797, allocations: 3.953 kB / 0.8618 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7797, allocations: 0 / 0.8618 GB, free: 1.922 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.78, allocations: 363.5 kB / 0.8622 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.78, allocations: 4.031 kB / 0.8622 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.7801, allocations: 4 kB / 0.8622 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7801, allocations: 3.953 kB / 0.8622 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.7801, allocations: 0 / 0.8622 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7801, allocations: 7.938 kB / 0.8622 GB, free: 1.484 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7801, allocations: 0 / 0.8622 GB, free: 1.484 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.513e-05/0.7802, allocations: 77.92 kB / 0.8622 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.7802, allocations: 81.11 kB / 0.8623 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.7802, allocations: 3.953 kB / 0.8623 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.7803, allocations: 4 kB / 0.8623 GB, free: 1.281 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.7803, allocations: 4.266 kB / 0.8623 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.7803, allocations: 0 / 0.8623 GB, free: 1.277 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.7804, allocations: 83.27 kB / 0.8624 GB, free: 1.195 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7804, allocations: 0 / 0.8624 GB, free: 1.195 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001884/0.7806, allocations: 12 kB / 0.8624 GB, free: 1.184 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001309/0.7807, allocations: 107.2 kB / 0.8625 GB, free: 1.07 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 8.413e-05/0.7808, allocations: 15.92 kB / 0.8625 GB, free: 1.055 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7808, allocations: 0 / 0.8625 GB, free: 1.055 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.7809, allocations: 4 kB / 0.8625 GB, free: 1.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.7811, allocations: 8 kB / 0.8626 GB, free: 1.043 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.7814, allocations: 133.6 kB / 0.8627 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.7817, allocations: 0.677 MB / 0.8633 GB, free: 184 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.161e-05/0.7817, allocations: 11.98 kB / 0.8634 GB, free: 172 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.7818, allocations: 11.44 kB / 0.8634 GB, free: 160 kB / 0.67 GB Notification: Performance of SimCode: time 2.1e-07/0.7818, allocations: 0 / 0.8634 GB, free: 160 kB / 0.67 GB Notification: Performance of Templates: time 0.002634/0.7844, allocations: 0.4883 MB / 0.8638 GB, free: 15.67 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: