Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.167/2.167, allocations: 251.1 MB / 266.7 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.00141, allocations: 180.1 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.878/2.878, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000905/0.0009049, allocations: 91.98 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004589, allocations: 15.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.8/8.011, allocations: 2.246 GB / 3.146 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005196/8.012, allocations: 102.7 kB / 3.146 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 14.46/22.47, allocations: 1.982 GB / 5.127 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.336e-06/22.47, allocations: 0 / 5.127 GB, free: 7.762 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004263/22.47, allocations: 59.92 kB / 5.128 GB, free: 7.703 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.01212/22.48, allocations: 2.955 MB / 5.13 GB, free: 4.676 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/22.48, allocations: 8.031 kB / 5.13 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008277/22.49, allocations: 0.7668 MB / 5.131 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009525/22.5, allocations: 2.191 MB / 5.133 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/22.5, allocations: 110.6 kB / 5.133 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007487/22.5, allocations: 144 kB / 5.134 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/22.51, allocations: 1.616 MB / 5.135 GB, free: 15.7 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/22.51, allocations: 7.938 kB / 5.135 GB, free: 15.7 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/22.51, allocations: 59.98 kB / 5.135 GB, free: 15.64 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-05/22.51, allocations: 50.53 kB / 5.135 GB, free: 15.59 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006392/22.51, allocations: 1.282 MB / 5.137 GB, free: 14.3 MB / 0.9324 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.01889/22.53, allocations: 7.404 MB / 5.144 GB, free: 6.324 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/22.54, allocations: 1.498 MB / 5.145 GB, free: 4.688 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/22.54, allocations: 476.2 kB / 5.146 GB, free: 4.219 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/22.54, allocations: 0.7594 MB / 5.146 GB, free: 3.312 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/22.54, allocations: 0.5204 MB / 5.147 GB, free: 2.781 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001583/22.54, allocations: 127.3 kB / 5.147 GB, free: 2.656 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=84): time 4.989e-06/22.54, allocations: 0 / 5.147 GB, free: 2.656 MB / 0.9324 GB Notification: Performance of matching and sorting (n=84): time 0.006503/22.55, allocations: 1.484 MB / 5.148 GB, free: 1.141 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/22.55, allocations: 171.2 kB / 5.149 GB, free: 0.9375 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7615/23.31, allocations: 1.563 MB / 5.15 GB, free: 132.6 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0003317/23.31, allocations: 48.89 kB / 5.15 GB, free: 132.6 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/23.31, allocations: 0.9311 MB / 5.151 GB, free: 132.5 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/23.32, allocations: 301.9 kB / 5.151 GB, free: 132.4 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/23.32, allocations: 21.19 kB / 5.151 GB, free: 132.4 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001165/23.32, allocations: 345.2 kB / 5.152 GB, free: 132.1 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/23.32, allocations: 409.5 kB / 5.152 GB, free: 132.1 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/23.32, allocations: 0.799 MB / 5.153 GB, free: 131.6 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/23.32, allocations: 0.5182 MB / 5.153 GB, free: 131.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/23.32, allocations: 2.281 kB / 5.153 GB, free: 131.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004916/23.33, allocations: 1.362 MB / 5.155 GB, free: 131.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002527/23.33, allocations: 380.9 kB / 5.155 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/23.33, allocations: 10.64 kB / 5.155 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.343e-05/23.33, allocations: 15.3 kB / 5.155 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/23.33, allocations: 255.8 kB / 5.155 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.22e-05/23.33, allocations: 21.56 kB / 5.155 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/23.33, allocations: 142.9 kB / 5.156 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/23.33, allocations: 53.55 kB / 5.156 GB, free: 131 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/23.33, allocations: 7.766 kB / 5.156 GB, free: 131 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004341/23.34, allocations: 1.177 MB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/23.34, allocations: 10.27 kB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/23.34, allocations: 15.47 kB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/23.34, allocations: 257.6 kB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.799e-05/23.34, allocations: 21.34 kB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/23.34, allocations: 152 kB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/23.34, allocations: 52.06 kB / 5.157 GB, free: 130.9 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (134): * Single equations (assignments): 130 * 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.001913/23.34, allocations: 0.5405 MB / 5.158 GB, free: 130.7 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/23.34, allocations: 182 kB / 5.158 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/23.35, allocations: 1.109 MB / 5.159 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/23.35, allocations: 10.34 kB / 5.159 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/23.35, allocations: 5.906 kB / 5.159 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003763/23.35, allocations: 1.167 MB / 5.16 GB, free: 130.1 MB / 0.9324 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.01125/23.37, allocations: 2.776 MB / 5.163 GB, free: 129.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/23.37, allocations: 1.531 kB / 5.163 GB, free: 129.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/23.37, allocations: 180.4 kB / 5.163 GB, free: 129.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003393/23.37, allocations: 42.3 kB / 5.163 GB, free: 129.5 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/23.37, allocations: 24.02 kB / 5.163 GB, free: 129.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/23.37, allocations: 1.427 MB / 5.165 GB, free: 128.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/23.37, allocations: 1.531 kB / 5.165 GB, free: 128.3 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006122/23.38, allocations: 1.669 MB / 5.166 GB, free: 128 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/23.38, allocations: 337.7 kB / 5.166 GB, free: 127.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/23.38, allocations: 20.94 kB / 5.166 GB, free: 127.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/23.38, allocations: 144.6 kB / 5.167 GB, free: 127.8 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/23.38, allocations: 64.44 kB / 5.167 GB, free: 127.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/23.38, allocations: 35.75 kB / 5.167 GB, free: 127.8 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.003034/23.38, allocations: 1.048 MB / 5.168 GB, free: 127.6 MB / 0.9324 GB Notification: Performance of sort global known variables: time 7.71e-07/23.38, allocations: 0 / 5.168 GB, free: 127.6 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.007122/23.39, allocations: 1.317 MB / 5.169 GB, free: 127.6 MB / 0.9324 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.007852/23.4, allocations: 3.635 MB / 5.173 GB, free: 126.3 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.006087/23.41, allocations: 1.751 MB / 5.174 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/23.41, allocations: 3.156 kB / 5.174 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.002019/23.41, allocations: 0.5755 MB / 5.175 GB, free: 125.9 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007039/23.41, allocations: 0.7961 MB / 5.176 GB, free: 125.9 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/23.43, allocations: 4.392 MB / 5.18 GB, free: 124.1 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/23.43, allocations: 1.501 MB / 5.181 GB, free: 123.4 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.003714/23.43, allocations: 461 kB / 5.182 GB, free: 123.3 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008096/23.43, allocations: 132.9 kB / 5.182 GB, free: 123.3 MB / 0.9324 GB Notification: Performance of SimCode: time 1.403e-06/23.43, allocations: 0 / 5.182 GB, free: 123.3 MB / 0.9324 GB Notification: Performance of Templates: time 0.1476/23.58, allocations: 62.67 MB / 5.243 GB, free: 121.6 MB / 0.9324 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)