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.74/1.74, allocations: 288.3 MB / 303.2 MB, free: 8.223 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.001162/0.001162, allocations: 179.5 kB / 371.8 MB, free: 10.25 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.903/1.903, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.001104/0.001104, allocations: 99.41 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004722, allocations: 19.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.297, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.264/5.561, allocations: 2.053 GB / 3.033 GB, free: 218.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/5.562, allocations: 76.7 kB / 3.033 GB, free: 218.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06694/5.628, allocations: 37.43 MB / 3.069 GB, free: 187.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.222e-06/5.629, allocations: 0 / 3.069 GB, free: 187.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.134e-06/5.629, allocations: 4 kB / 3.069 GB, free: 187.1 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.000299/5.629, allocations: 347 kB / 3.07 GB, free: 186.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/5.629, allocations: 8.031 kB / 3.07 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/5.629, allocations: 40.44 kB / 3.07 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/5.629, allocations: 159.1 kB / 3.07 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/5.629, allocations: 25.7 kB / 3.07 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/5.629, allocations: 4 kB / 3.07 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/5.63, allocations: 53.42 kB / 3.07 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/5.63, allocations: 0 / 3.07 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/5.63, allocations: 0 / 3.07 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/5.63, allocations: 4 kB / 3.07 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/5.63, allocations: 23.12 kB / 3.07 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/5.63, allocations: 252 kB / 3.07 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/5.63, allocations: 22.58 kB / 3.07 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/5.63, allocations: 92.97 kB / 3.07 GB, free: 186 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/5.63, allocations: 42.5 kB / 3.07 GB, free: 185.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/5.63, allocations: 0 / 3.07 GB, free: 185.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002072/5.63, allocations: 49.08 kB / 3.071 GB, free: 185.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/5.63, allocations: 51.41 kB / 3.071 GB, free: 185.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/5.63, allocations: 100.9 kB / 3.071 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/5.63, allocations: 29.64 kB / 3.071 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/5.631, allocations: 88.17 kB / 3.071 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-06/5.631, allocations: 3.906 kB / 3.071 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/5.631, allocations: 0 / 3.071 GB, free: 185.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/5.631, allocations: 322.1 kB / 3.071 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/5.631, allocations: 0 / 3.071 GB, free: 185.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/5.631, allocations: 29.95 kB / 3.071 GB, free: 185.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/5.631, allocations: 15.92 kB / 3.071 GB, free: 185.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/5.631, allocations: 0 / 3.071 GB, free: 185.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.281e-05/5.631, allocations: 53.19 kB / 3.071 GB, free: 185.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/5.631, allocations: 4 kB / 3.071 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/5.631, allocations: 3.938 kB / 3.071 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/5.631, allocations: 4.281 kB / 3.071 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.29e-05/5.631, allocations: 7.953 kB / 3.071 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/5.631, allocations: 0 / 3.071 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/5.631, allocations: 11.66 kB / 3.071 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/5.631, allocations: 4.094 kB / 3.071 GB, free: 185.1 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 () * 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 5.325e-05/5.631, allocations: 110.7 kB / 3.071 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/5.631, allocations: 3.984 kB / 3.071 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/5.631, allocations: 15.05 kB / 3.071 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/5.631, allocations: 0 / 3.071 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/5.631, allocations: 3.953 kB / 3.071 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/5.631, allocations: 3.938 kB / 3.071 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/5.631, allocations: 355 kB / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/5.631, allocations: 0 / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/5.631, allocations: 11.92 kB / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/5.631, allocations: 0 / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/5.631, allocations: 7.953 kB / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/5.631, allocations: 0 / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/5.631, allocations: 0 / 3.072 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.867e-05/5.631, allocations: 75.66 kB / 3.072 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/5.631, allocations: 92.95 kB / 3.072 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/5.631, allocations: 0 / 3.072 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/5.632, allocations: 8 kB / 3.072 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/5.632, allocations: 3.938 kB / 3.072 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/5.632, allocations: 4 kB / 3.072 GB, free: 184.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.31e-05/5.632, allocations: 83.27 kB / 3.072 GB, free: 184.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.632, allocations: 4.031 kB / 3.072 GB, free: 184.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003075/5.632, allocations: 41.17 kB / 3.072 GB, free: 184.2 MB / 0.948 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.0005496/5.632, allocations: 0.5508 MB / 3.073 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/5.633, allocations: 15.86 kB / 3.073 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/5.633, allocations: 0 / 3.073 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/5.633, allocations: 7.938 kB / 3.073 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/5.633, allocations: 7.938 kB / 3.073 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/5.633, allocations: 126.2 kB / 3.073 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/5.633, allocations: 0.6809 MB / 3.073 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.475e-05/5.633, allocations: 7.984 kB / 3.073 GB, free: 182.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/5.633, allocations: 11.44 kB / 3.073 GB, free: 182.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.21e-07/5.633, allocations: 0 / 3.073 GB, free: 182.8 MB / 0.948 GB Notification: Performance of Templates: time 0.008762/5.642, allocations: 7.585 MB / 3.081 GB, free: 175.2 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)