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.615/1.615, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.0009484/0.0009484, allocations: 176.8 kB / 361.4 MB, free: 6.832 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.662/1.662, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008129/0.0008128, allocations: 105.4 kB / 0.7331 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.149e-05, allocations: 8 kB / 0.8517 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7478, allocations: 115.3 MB / 0.9643 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.983, allocations: 2.053 GB / 3.017 GB, free: 109.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/5.983, allocations: 79.89 kB / 3.017 GB, free: 109.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06883/6.052, allocations: 36.73 MB / 3.053 GB, free: 72.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/6.052, allocations: 0 / 3.053 GB, free: 72.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.796e-06/6.052, allocations: 0 / 3.053 GB, free: 72.15 MB / 0.948 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.0003674/6.053, allocations: 334.5 kB / 3.053 GB, free: 71.78 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/6.053, allocations: 8.031 kB / 3.053 GB, free: 71.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/6.053, allocations: 31.84 kB / 3.053 GB, free: 71.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/6.053, allocations: 167 kB / 3.053 GB, free: 71.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/6.053, allocations: 29.7 kB / 3.054 GB, free: 71.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/6.053, allocations: 4 kB / 3.054 GB, free: 71.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/6.053, allocations: 23.92 kB / 3.054 GB, free: 71.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/6.053, allocations: 41.69 kB / 3.054 GB, free: 71.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/6.053, allocations: 7.922 kB / 3.054 GB, free: 71.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/6.053, allocations: 0 / 3.054 GB, free: 71.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/6.053, allocations: 3.953 kB / 3.054 GB, free: 71.42 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/6.054, allocations: 330.6 kB / 3.054 GB, free: 71.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/6.054, allocations: 22.52 kB / 3.054 GB, free: 71.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/6.054, allocations: 4.859 kB / 3.054 GB, free: 71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/6.054, allocations: 0 / 3.054 GB, free: 71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/6.054, allocations: 34.25 kB / 3.054 GB, free: 70.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/6.054, allocations: 0 / 3.054 GB, free: 70.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002238/6.054, allocations: 45.7 kB / 3.054 GB, free: 70.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/6.054, allocations: 55.41 kB / 3.054 GB, free: 70.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/6.054, allocations: 93 kB / 3.054 GB, free: 70.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/6.054, allocations: 25.7 kB / 3.054 GB, free: 70.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/6.054, allocations: 103.9 kB / 3.054 GB, free: 70.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/6.054, allocations: 0 / 3.054 GB, free: 70.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/6.054, allocations: 0 / 3.054 GB, free: 70.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/6.055, allocations: 310.8 kB / 3.055 GB, free: 70.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/6.055, allocations: 11.97 kB / 3.055 GB, free: 70.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/6.055, allocations: 22.58 kB / 3.055 GB, free: 70.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/6.055, allocations: 7.984 kB / 3.055 GB, free: 70.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/6.055, allocations: 0 / 3.055 GB, free: 70.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.265e-05/6.055, allocations: 53.62 kB / 3.055 GB, free: 70.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/6.055, allocations: 5.25 kB / 3.055 GB, free: 70.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/6.055, allocations: 4.094 kB / 3.055 GB, free: 70.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/6.055, allocations: 4 kB / 3.055 GB, free: 70.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/6.055, allocations: 4 kB / 3.055 GB, free: 70.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/6.055, allocations: 7.547 kB / 3.055 GB, free: 70.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/6.055, allocations: 7.906 kB / 3.055 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/6.055, allocations: 0 / 3.055 GB, free: 70.16 MB / 0.948 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 () * 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 5.865e-05/6.055, allocations: 105 kB / 3.055 GB, free: 70.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/6.055, allocations: 0 / 3.055 GB, free: 70.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/6.055, allocations: 7.734 kB / 3.055 GB, free: 70.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/6.055, allocations: 4 kB / 3.055 GB, free: 70.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/6.055, allocations: 0 / 3.055 GB, free: 70.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/6.055, allocations: 11.89 kB / 3.055 GB, free: 70.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/6.055, allocations: 323.3 kB / 3.055 GB, free: 69.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/6.055, allocations: 4 kB / 3.055 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/6.055, allocations: 0 / 3.055 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/6.055, allocations: 0 / 3.055 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/6.055, allocations: 0 / 3.055 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/6.055, allocations: 3.969 kB / 3.055 GB, free: 69.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/6.055, allocations: 7.953 kB / 3.055 GB, free: 69.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.725e-05/6.055, allocations: 61.12 kB / 3.055 GB, free: 69.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/6.055, allocations: 81.02 kB / 3.055 GB, free: 69.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/6.055, allocations: 0 / 3.055 GB, free: 69.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/6.056, allocations: 4 kB / 3.055 GB, free: 69.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/6.056, allocations: 7.922 kB / 3.055 GB, free: 69.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/6.056, allocations: 13.36 kB / 3.055 GB, free: 69.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.978e-05/6.056, allocations: 83.28 kB / 3.055 GB, free: 69.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/6.056, allocations: 0 / 3.055 GB, free: 69.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002903/6.056, allocations: 27.98 kB / 3.055 GB, free: 69.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007879/6.057, allocations: 0.6399 MB / 3.056 GB, free: 68.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.01e-05/6.057, allocations: 8 kB / 3.056 GB, free: 68.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/6.057, allocations: 0 / 3.056 GB, free: 68.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/6.057, allocations: 0 / 3.056 GB, free: 68.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/6.057, allocations: 9.094 kB / 3.056 GB, free: 68.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/6.057, allocations: 68.31 kB / 3.056 GB, free: 68.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/6.057, allocations: 0.6811 MB / 3.057 GB, free: 67.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.524e-05/6.057, allocations: 4 kB / 3.057 GB, free: 67.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/6.058, allocations: 7.438 kB / 3.057 GB, free: 67.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/6.058, allocations: 0 / 3.057 GB, free: 67.89 MB / 0.948 GB Notification: Performance of Templates: time 0.006559/6.064, allocations: 3.606 MB / 3.06 GB, free: 64.31 MB / 0.948 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)