Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.643/1.643, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.0009068/0.0009069, allocations: 186.1 kB / 371.2 MB, free: 10.82 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.535/1.535, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007905/0.0007905, allocations: 92.28 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005475/0.0005475, allocations: 15.33 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2786, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7309/1.01, allocations: 134.5 MB / 1.11 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/1.01, allocations: 40.5 kB / 1.11 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/1.01, allocations: 4 kB / 1.11 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/1.01, allocations: 7.734 kB / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/1.01, allocations: 10.72 kB / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/1.011, allocations: 136.7 kB / 1.11 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/1.011, allocations: 41.72 kB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/1.011, allocations: 2.062 kB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/1.011, allocations: 18.34 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/1.011, allocations: 16.77 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/1.011, allocations: 5.5 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/1.012, allocations: 97.22 kB / 1.11 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/1.012, allocations: 9.859 kB / 1.11 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/1.012, allocations: 28.08 kB / 1.11 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/1.012, allocations: 55.75 kB / 1.11 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.012, allocations: 0 / 1.11 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/1.012, allocations: 0 / 1.11 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.817e-06/1.012, allocations: 1.312 kB / 1.11 GB, free: 1.965 MB / 0.6823 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.000537/1.012, allocations: 342.8 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.012, allocations: 9.844 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/1.013, allocations: 24.88 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.013, allocations: 168.5 kB / 1.111 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.18e-05/1.013, allocations: 35.75 kB / 1.111 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/1.013, allocations: 2.125 kB / 1.111 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/1.013, allocations: 45.94 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.013, allocations: 5.812 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.013, allocations: 0 / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/1.013, allocations: 4.625 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/1.013, allocations: 20 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/1.014, allocations: 263.5 kB / 1.111 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/1.014, allocations: 24.25 kB / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/1.014, allocations: 13.31 kB / 1.111 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.014, allocations: 91.28 kB / 1.111 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.014, allocations: 34.53 kB / 1.111 GB, free: 16.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/1.014, allocations: 3.984 kB / 1.111 GB, free: 16.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002991/1.015, allocations: 51.91 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.015, allocations: 56.23 kB / 1.112 GB, free: 16.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/1.015, allocations: 110.9 kB / 1.112 GB, free: 16.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.015, allocations: 25.7 kB / 1.112 GB, free: 16.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/1.015, allocations: 85.95 kB / 1.112 GB, free: 16.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/1.015, allocations: 9.125 kB / 1.112 GB, free: 16.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.015, allocations: 0 / 1.112 GB, free: 16.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.015, allocations: 313.3 kB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/1.015, allocations: 6.328 kB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/1.015, allocations: 28.58 kB / 1.112 GB, free: 16.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/1.015, allocations: 30.84 kB / 1.112 GB, free: 16.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.015, allocations: 0 / 1.112 GB, free: 16.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/1.015, allocations: 54.39 kB / 1.112 GB, free: 16.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.015, allocations: 5.719 kB / 1.112 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.015, allocations: 6.359 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.015, allocations: 0 / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/1.015, allocations: 6.797 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.015, allocations: 2.188 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/1.015, allocations: 8.875 kB / 1.112 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/1.016, allocations: 1.562 kB / 1.112 GB, free: 16.14 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 0.0001012/1.016, allocations: 115.9 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/1.016, allocations: 2.469 kB / 1.112 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/1.016, allocations: 10.98 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.016, allocations: 1.844 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.016, allocations: 0 / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.016, allocations: 5.688 kB / 1.112 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/1.016, allocations: 359.4 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.016, allocations: 0 / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/1.016, allocations: 4.203 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.016, allocations: 3.938 kB / 1.113 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/1.016, allocations: 9.328 kB / 1.113 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.016, allocations: 1.031 kB / 1.113 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.016, allocations: 1.438 kB / 1.113 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/1.016, allocations: 68.02 kB / 1.113 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/1.016, allocations: 83.09 kB / 1.113 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/1.016, allocations: 5.609 kB / 1.113 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/1.017, allocations: 9.516 kB / 1.113 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/1.017, allocations: 9.391 kB / 1.113 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/1.017, allocations: 1.219 kB / 1.113 GB, free: 15.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.862e-05/1.017, allocations: 84.39 kB / 1.113 GB, free: 15.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.433e-06/1.017, allocations: 0 / 1.113 GB, free: 15.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003083/1.017, allocations: 7 kB / 1.113 GB, free: 15.36 MB / 0.698 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.0001594/1.017, allocations: 105.2 kB / 1.113 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.782e-05/1.017, allocations: 13.64 kB / 1.113 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.017, allocations: 1.031 kB / 1.113 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/1.017, allocations: 11.72 kB / 1.113 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/1.018, allocations: 4.516 kB / 1.113 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/1.018, allocations: 134.8 kB / 1.113 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.018, allocations: 0.676 MB / 1.114 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.025e-05/1.018, allocations: 9.5 kB / 1.114 GB, free: 14.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/1.018, allocations: 9.469 kB / 1.114 GB, free: 14.43 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/1.018, allocations: 0 / 1.114 GB, free: 14.43 MB / 0.698 GB Notification: Performance of Templates: time 0.003308/1.022, allocations: 0.4986 MB / 1.114 GB, free: 14.37 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)