Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 293 MB / 309 MB, free: 4.781 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.0009003/0.0009005, allocations: 176.5 kB / 378.7 MB, free: 1.035 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.688/1.688, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008641/0.0008642, allocations: 86.34 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.168/5.457, allocations: 2.129 GB / 3.12 GB, free: 82.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/5.457, allocations: 95.95 kB / 3.12 GB, free: 82.67 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.92/13.38, allocations: 2.048 GB / 5.167 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.104e-06/13.38, allocations: 0 / 5.167 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005365/13.38, allocations: 61.94 kB / 5.167 GB, free: 102.2 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01167/13.39, allocations: 2.942 MB / 5.17 GB, free: 101 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/13.39, allocations: 9.844 kB / 5.17 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/13.39, allocations: 0.7705 MB / 5.171 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008012/13.4, allocations: 2.266 MB / 5.173 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/13.4, allocations: 105.8 kB / 5.173 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007478/13.4, allocations: 144.9 kB / 5.173 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/13.41, allocations: 1.61 MB / 5.175 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.099e-05/13.41, allocations: 3.531 kB / 5.175 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/13.41, allocations: 57.97 kB / 5.175 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/13.41, allocations: 45.72 kB / 5.175 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/13.41, allocations: 1.276 MB / 5.176 GB, free: 100.2 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/13.43, allocations: 7.451 MB / 5.184 GB, free: 96.29 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/13.43, allocations: 1.504 MB / 5.185 GB, free: 95.61 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/13.43, allocations: 479.3 kB / 5.186 GB, free: 95.59 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/13.43, allocations: 0.7598 MB / 5.186 GB, free: 94.84 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/13.43, allocations: 0.5223 MB / 5.187 GB, free: 94.78 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001303/13.44, allocations: 129.6 kB / 5.187 GB, free: 94.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 9.437e-06/13.44, allocations: 0 / 5.187 GB, free: 94.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.003836/13.44, allocations: 1.498 MB / 5.188 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/13.44, allocations: 169.5 kB / 5.189 GB, free: 94.31 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/13.44, allocations: 1.564 MB / 5.19 GB, free: 94.08 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/13.44, allocations: 49.02 kB / 5.19 GB, free: 94.05 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/13.44, allocations: 0.939 MB / 5.191 GB, free: 93.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/13.44, allocations: 299.8 kB / 5.191 GB, free: 93.61 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/13.44, allocations: 20.78 kB / 5.191 GB, free: 93.61 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/13.44, allocations: 345.4 kB / 5.192 GB, free: 93.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009997/13.45, allocations: 404.8 kB / 5.192 GB, free: 93.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/13.45, allocations: 0.8069 MB / 5.193 GB, free: 92.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/13.45, allocations: 1.163 MB / 5.194 GB, free: 92.48 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/13.45, allocations: 3.594 kB / 5.194 GB, free: 92.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00278/13.45, allocations: 1.369 MB / 5.195 GB, free: 92.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002363/13.45, allocations: 382.5 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/13.45, allocations: 8.469 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/13.45, allocations: 12.84 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/13.45, allocations: 264.4 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-05/13.45, allocations: 27.14 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/13.46, allocations: 144.9 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/13.46, allocations: 50.81 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/13.46, allocations: 9.562 kB / 5.196 GB, free: 91.87 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00221/13.46, allocations: 1.184 MB / 5.197 GB, free: 91.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/13.46, allocations: 13.88 kB / 5.197 GB, free: 91.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/13.46, allocations: 13.66 kB / 5.197 GB, free: 91.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/13.46, allocations: 266.8 kB / 5.198 GB, free: 91.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/13.46, allocations: 23.31 kB / 5.198 GB, free: 91.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/13.46, allocations: 144.6 kB / 5.198 GB, free: 91.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/13.46, allocations: 53.28 kB / 5.198 GB, free: 91.8 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001286/13.46, allocations: 0.5466 MB / 5.198 GB, free: 91.61 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/13.46, allocations: 179.1 kB / 5.199 GB, free: 91.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/13.47, allocations: 1.111 MB / 5.2 GB, free: 91.42 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/13.47, allocations: 7.344 kB / 5.2 GB, free: 91.42 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/13.47, allocations: 7.312 kB / 5.2 GB, free: 91.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/13.47, allocations: 1.171 MB / 5.201 GB, free: 90.94 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/13.47, allocations: 2.782 MB / 5.203 GB, free: 90.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/13.47, allocations: 0 / 5.203 GB, free: 90.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/13.47, allocations: 182.4 kB / 5.204 GB, free: 90.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/13.47, allocations: 41.92 kB / 5.204 GB, free: 90.38 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.213e-05/13.47, allocations: 28.75 kB / 5.204 GB, free: 90.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/13.48, allocations: 1.423 MB / 5.205 GB, free: 89.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/13.48, allocations: 2.875 kB / 5.205 GB, free: 89.12 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/13.48, allocations: 1.673 MB / 5.207 GB, free: 88.81 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009704/13.48, allocations: 335.8 kB / 5.207 GB, free: 88.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/13.48, allocations: 19.03 kB / 5.207 GB, free: 88.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/13.48, allocations: 144 kB / 5.207 GB, free: 88.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/13.48, allocations: 70.28 kB / 5.207 GB, free: 88.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/13.48, allocations: 30.45 kB / 5.207 GB, free: 88.61 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002099/13.48, allocations: 1.052 MB / 5.208 GB, free: 88.46 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.2e-07/13.48, allocations: 0 / 5.208 GB, free: 88.46 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005637/13.49, allocations: 1.327 MB / 5.21 GB, free: 88.29 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00643/13.5, allocations: 3.672 MB / 5.213 GB, free: 86.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003496/13.5, allocations: 1.76 MB / 5.215 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/13.5, allocations: 3.188 kB / 5.215 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/13.5, allocations: 0.5759 MB / 5.216 GB, free: 86.54 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/13.51, allocations: 0.7904 MB / 5.216 GB, free: 86.49 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008943/13.51, allocations: 4.374 MB / 5.221 GB, free: 84.67 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/13.52, allocations: 1.499 MB / 5.222 GB, free: 83.94 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002575/13.52, allocations: 462 kB / 5.222 GB, free: 83.92 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/13.52, allocations: 137.3 kB / 5.223 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of SimCode: time 8.31e-07/13.52, allocations: 0 / 5.223 GB, free: 83.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.1015/13.62, allocations: 63.47 MB / 5.285 GB, free: 80.6 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)