Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.846/1.846, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.0009285/0.0009285, allocations: 187.2 kB / 372 MB, free: 10.28 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.561/1.561, allocations: 205.4 MB / 0.6307 GB, free: 9.918 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.0007296/0.0007298, allocations: 91.8 kB / 0.7441 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006018/0.0006019, allocations: 9.938 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2947, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7207/1.016, allocations: 134.5 MB / 1.111 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/1.016, allocations: 45.41 kB / 1.111 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/1.016, allocations: 0 / 1.111 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/1.016, allocations: 0 / 1.111 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/1.016, allocations: 21.34 kB / 1.111 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/1.017, allocations: 135.6 kB / 1.111 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/1.017, allocations: 45.58 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/1.017, allocations: 1.875 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/1.017, allocations: 13.53 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/1.017, allocations: 16.17 kB / 1.111 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/1.017, allocations: 3.391 kB / 1.111 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/1.017, allocations: 99.41 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/1.017, allocations: 6.672 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/1.017, allocations: 35.7 kB / 1.111 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/1.018, allocations: 56.84 kB / 1.111 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.018, allocations: 3.312 kB / 1.111 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/1.018, allocations: 1.469 kB / 1.111 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.018, allocations: 0 / 1.111 GB, free: 2.551 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.0005289/1.018, allocations: 327.4 kB / 1.112 GB, free: 18.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.018, allocations: 11.92 kB / 1.112 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/1.019, allocations: 29.5 kB / 1.112 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.019, allocations: 168.4 kB / 1.112 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/1.019, allocations: 28.7 kB / 1.112 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/1.019, allocations: 1.031 kB / 1.112 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/1.019, allocations: 47.77 kB / 1.112 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.019, allocations: 0 / 1.112 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.019, allocations: 2.875 kB / 1.112 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/1.019, allocations: 3.047 kB / 1.112 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/1.019, allocations: 27.83 kB / 1.112 GB, free: 17.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/1.02, allocations: 254.8 kB / 1.112 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.476e-05/1.02, allocations: 22.41 kB / 1.112 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/1.02, allocations: 11.69 kB / 1.112 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/1.02, allocations: 101.2 kB / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.02, allocations: 36.44 kB / 1.112 GB, free: 17.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.093e-06/1.02, allocations: 0 / 1.112 GB, free: 17.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002461/1.02, allocations: 57.75 kB / 1.112 GB, free: 17.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/1.02, allocations: 51.41 kB / 1.112 GB, free: 17.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.02, allocations: 106 kB / 1.113 GB, free: 17.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.02, allocations: 28.08 kB / 1.113 GB, free: 17.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/1.02, allocations: 90.39 kB / 1.113 GB, free: 17.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/1.02, allocations: 5.781 kB / 1.113 GB, free: 17.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.02, allocations: 5.094 kB / 1.113 GB, free: 17.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.02, allocations: 311.9 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/1.02, allocations: 4.562 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/1.021, allocations: 28.38 kB / 1.113 GB, free: 16.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/1.021, allocations: 14.2 kB / 1.113 GB, free: 16.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.021, allocations: 0 / 1.113 GB, free: 16.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.732e-05/1.021, allocations: 55.52 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.021, allocations: 4.688 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.021, allocations: 5.969 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.021, allocations: 5.328 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/1.021, allocations: 5.75 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.021, allocations: 3.625 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/1.021, allocations: 1.25 kB / 1.113 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/1.021, allocations: 6.188 kB / 1.113 GB, free: 16.76 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 8.915e-05/1.021, allocations: 109.7 kB / 1.113 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/1.021, allocations: 8.531 kB / 1.113 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/1.021, allocations: 4.75 kB / 1.113 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.021, allocations: 5.172 kB / 1.113 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.021, allocations: 0 / 1.113 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.021, allocations: 0.6562 kB / 1.113 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/1.021, allocations: 363.3 kB / 1.114 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.021, allocations: 1.906 kB / 1.114 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/1.021, allocations: 3.531 kB / 1.114 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.021, allocations: 3.953 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.021, allocations: 1.125 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.021, allocations: 2.125 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.021, allocations: 3.938 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.859e-05/1.022, allocations: 74.86 kB / 1.114 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/1.022, allocations: 80.28 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.022, allocations: 5.812 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/1.022, allocations: 5.172 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/1.022, allocations: 1.969 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.022, allocations: 1.156 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.767e-05/1.022, allocations: 83.08 kB / 1.114 GB, free: 15.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 4.031 kB / 1.114 GB, free: 15.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000206/1.022, allocations: 6.875 kB / 1.114 GB, free: 15.99 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.0001723/1.022, allocations: 102.1 kB / 1.114 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001017/1.022, allocations: 18.64 kB / 1.114 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.022, allocations: 1.188 kB / 1.114 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/1.022, allocations: 8.094 kB / 1.114 GB, free: 15.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/1.023, allocations: 8.266 kB / 1.114 GB, free: 15.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/1.023, allocations: 131.2 kB / 1.114 GB, free: 15.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/1.023, allocations: 0.6748 MB / 1.115 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.502e-05/1.023, allocations: 15.17 kB / 1.115 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/1.023, allocations: 12.41 kB / 1.115 GB, free: 15.05 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/1.023, allocations: 1.031 kB / 1.115 GB, free: 15.05 MB / 0.698 GB Notification: Performance of Templates: time 0.003092/1.026, allocations: 498.5 kB / 1.115 GB, free: 15 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)