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 2.557/2.557, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001417/0.001417, allocations: 182.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.426/2.426, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009298/0.0009299, allocations: 97.81 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005371/0.0005375, allocations: 14.94 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 115.3 MB / 0.9783 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.889/1.111, allocations: 134.4 MB / 1.11 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/1.111, allocations: 48.98 kB / 1.11 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/1.111, allocations: 0 / 1.11 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/1.111, allocations: 6.625 kB / 1.11 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/1.111, allocations: 18.66 kB / 1.11 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/1.112, allocations: 134.5 kB / 1.11 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000103/1.112, allocations: 47.86 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/1.112, allocations: 1.984 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/1.112, allocations: 9.422 kB / 1.11 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.626e-05/1.112, allocations: 21.25 kB / 1.11 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/1.112, allocations: 4 kB / 1.11 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/1.113, allocations: 99.08 kB / 1.11 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/1.113, allocations: 5.203 kB / 1.11 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/1.113, allocations: 33.64 kB / 1.11 GB, free: 17.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/1.113, allocations: 54.17 kB / 1.11 GB, free: 17.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.113, allocations: 2.75 kB / 1.11 GB, free: 17.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.506e-06/1.113, allocations: 5.938 kB / 1.11 GB, free: 17.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.14e-06/1.113, allocations: 1.859 kB / 1.11 GB, free: 17.87 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.0004451/1.114, allocations: 334.7 kB / 1.11 GB, free: 17.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.114, allocations: 8.875 kB / 1.11 GB, free: 17.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/1.114, allocations: 30 kB / 1.11 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/1.114, allocations: 165.2 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/1.114, allocations: 27.5 kB / 1.111 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/1.114, allocations: 1.188 kB / 1.111 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/1.114, allocations: 48.11 kB / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.114, allocations: 1.344 kB / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.115, allocations: 7.25 kB / 1.111 GB, free: 17.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/1.115, allocations: 6.203 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/1.115, allocations: 24.45 kB / 1.111 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/1.115, allocations: 253.7 kB / 1.111 GB, free: 16.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/1.115, allocations: 23.75 kB / 1.111 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/1.115, allocations: 16.08 kB / 1.111 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.115, allocations: 94.11 kB / 1.111 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.115, allocations: 36.38 kB / 1.111 GB, free: 16.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.615e-06/1.115, allocations: 3.984 kB / 1.111 GB, free: 16.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002975/1.116, allocations: 51.88 kB / 1.111 GB, free: 16.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.116, allocations: 57.39 kB / 1.111 GB, free: 16.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/1.116, allocations: 105.2 kB / 1.111 GB, free: 16.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.116, allocations: 26.98 kB / 1.111 GB, free: 16.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/1.116, allocations: 86.38 kB / 1.111 GB, free: 16.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/1.116, allocations: 6.047 kB / 1.111 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.116, allocations: 3.625 kB / 1.111 GB, free: 16.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.116, allocations: 312.6 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/1.116, allocations: 3.875 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/1.116, allocations: 28.73 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.195e-05/1.116, allocations: 10.56 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.116, allocations: 1.75 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/1.116, allocations: 54.36 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.116, allocations: 10.53 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.117, allocations: 0 / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.117, allocations: 1.469 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/1.117, allocations: 11.72 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/1.117, allocations: 0.75 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/1.117, allocations: 2.031 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/1.117, allocations: 1.562 kB / 1.112 GB, free: 16.08 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 9.469e-05/1.117, allocations: 112.9 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/1.117, allocations: 5.219 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/1.117, allocations: 8.859 kB / 1.112 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.117, allocations: 3.938 kB / 1.112 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.117, allocations: 5.578 kB / 1.112 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.117, allocations: 0 / 1.112 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/1.117, allocations: 360.3 kB / 1.112 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.117, allocations: 6.266 kB / 1.112 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/1.117, allocations: 3.781 kB / 1.112 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.117, allocations: 1.094 kB / 1.112 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.117, allocations: 1.125 kB / 1.112 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.117, allocations: 1.781 kB / 1.112 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.117, allocations: 10.19 kB / 1.112 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/1.118, allocations: 69.08 kB / 1.112 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/1.118, allocations: 83.94 kB / 1.113 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/1.118, allocations: 2.078 kB / 1.113 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.118, allocations: 4.328 kB / 1.113 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/1.118, allocations: 5.734 kB / 1.113 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/1.118, allocations: 1.688 kB / 1.113 GB, free: 15.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.328e-05/1.118, allocations: 80.31 kB / 1.113 GB, free: 15.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.118, allocations: 0 / 1.113 GB, free: 15.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002471/1.118, allocations: 9.875 kB / 1.113 GB, free: 15.3 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.0001614/1.118, allocations: 100.7 kB / 1.113 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001064/1.118, allocations: 25.64 kB / 1.113 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.118, allocations: 0 / 1.113 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/1.118, allocations: 7.438 kB / 1.113 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.119, allocations: 7.125 kB / 1.113 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/1.119, allocations: 129.2 kB / 1.113 GB, free: 15.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/1.119, allocations: 0.6799 MB / 1.114 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.22e-05/1.12, allocations: 10.17 kB / 1.114 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/1.12, allocations: 10.45 kB / 1.114 GB, free: 14.37 MB / 0.698 GB Notification: Performance of SimCode: time 6.02e-07/1.12, allocations: 0 / 1.114 GB, free: 14.37 MB / 0.698 GB Notification: Performance of Templates: time 0.003258/1.123, allocations: 0.4944 MB / 1.114 GB, free: 14.31 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)