Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 293 MB / 309 MB, free: 4.809 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.001599/0.001599, allocations: 172.5 kB / 378.7 MB, free: 1.016 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.719/1.719, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007674/0.0007674, allocations: 89.58 kB / 0.7527 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2726, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.55/1.823, allocations: 455.8 MB / 1.436 GB, free: 265.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.823, allocations: 101.5 kB / 1.436 GB, free: 265.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.976/5.799, allocations: 1.164 GB / 2.6 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.324e-06/5.799, allocations: 0 / 2.6 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003728/5.799, allocations: 56.8 kB / 2.6 GB, free: 124.9 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007293/5.806, allocations: 2.551 MB / 2.603 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/5.806, allocations: 6.219 kB / 2.603 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/5.809, allocations: 461.6 kB / 2.603 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006009/5.815, allocations: 2.286 MB / 2.605 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/5.815, allocations: 90.72 kB / 2.605 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/5.815, allocations: 120.2 kB / 2.605 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/5.818, allocations: 1.331 MB / 2.607 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/5.818, allocations: 8.297 kB / 2.607 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/5.818, allocations: 48.19 kB / 2.607 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/5.818, allocations: 30.38 kB / 2.607 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/5.82, allocations: 0.9686 MB / 2.608 GB, free: 122.8 MB / 0.9636 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.009199/5.829, allocations: 6.84 MB / 2.614 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/5.831, allocations: 1.265 MB / 2.616 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/5.831, allocations: 366.9 kB / 2.616 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004442/5.836, allocations: 2.888 MB / 2.619 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009236/5.837, allocations: 406.9 kB / 2.619 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007557/5.838, allocations: 82.41 kB / 2.619 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 4.879e-06/5.838, allocations: 3.344 kB / 2.619 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.002947/5.841, allocations: 1.194 MB / 2.621 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/5.841, allocations: 163.8 kB / 2.621 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/5.843, allocations: 1.513 MB / 2.622 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/5.843, allocations: 47.05 kB / 2.622 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/5.844, allocations: 0.8864 MB / 2.623 GB, free: 115 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/5.844, allocations: 219.5 kB / 2.623 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/5.844, allocations: 19.66 kB / 2.623 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.142e-05/5.844, allocations: 348.5 kB / 2.624 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/5.845, allocations: 329.1 kB / 2.624 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/5.846, allocations: 0.7686 MB / 2.625 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/5.847, allocations: 1.045 MB / 2.626 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/5.847, allocations: 3.844 kB / 2.626 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002504/5.85, allocations: 1.21 MB / 2.627 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/5.85, allocations: 448.2 kB / 2.627 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/5.85, allocations: 21.86 kB / 2.627 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/5.85, allocations: 16.31 kB / 2.627 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/5.851, allocations: 244.9 kB / 2.628 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/5.851, allocations: 25.78 kB / 2.628 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/5.853, allocations: 116.7 kB / 2.628 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/5.853, allocations: 60.19 kB / 2.628 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/5.853, allocations: 6.281 kB / 2.628 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001781/5.855, allocations: 1.042 MB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/5.855, allocations: 13.03 kB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/5.855, allocations: 17.97 kB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/5.855, allocations: 239.8 kB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/5.855, allocations: 28.86 kB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/5.857, allocations: 109.6 kB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/5.857, allocations: 57.45 kB / 2.629 GB, free: 112.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (121): * Single equations (assignments): 117 * 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.001033/5.858, allocations: 492.3 kB / 2.63 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/5.858, allocations: 167.3 kB / 2.63 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/5.86, allocations: 1.125 MB / 2.631 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/5.86, allocations: 6.75 kB / 2.631 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/5.86, allocations: 3.422 kB / 2.631 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/5.861, allocations: 0.9681 MB / 2.632 GB, free: 112 MB / 0.9636 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.003717/5.865, allocations: 2.324 MB / 2.634 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/5.865, allocations: 6.406 kB / 2.634 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/5.866, allocations: 139.3 kB / 2.634 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/5.866, allocations: 23.31 kB / 2.634 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/5.866, allocations: 19.05 kB / 2.634 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007429/5.867, allocations: 1.302 MB / 2.636 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/5.867, allocations: 0 / 2.636 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/5.869, allocations: 1.511 MB / 2.637 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007478/5.87, allocations: 335.6 kB / 2.637 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/5.87, allocations: 17.44 kB / 2.637 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/5.871, allocations: 106.2 kB / 2.638 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/5.871, allocations: 57.58 kB / 2.638 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/5.872, allocations: 30.91 kB / 2.638 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001546/5.873, allocations: 1.066 MB / 2.639 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.5e-07/5.873, allocations: 3.656 kB / 2.639 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003148/5.876, allocations: 1.001 MB / 2.64 GB, free: 109.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002598/5.879, allocations: 1.316 MB / 2.641 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00287/5.882, allocations: 1.541 MB / 2.642 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/5.882, allocations: 6.594 kB / 2.642 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/5.883, allocations: 0.5018 MB / 2.643 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/5.886, allocations: 0.7342 MB / 2.644 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/5.892, allocations: 3.687 MB / 2.647 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008606/5.893, allocations: 1.371 MB / 2.649 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002158/5.895, allocations: 435 kB / 2.649 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/5.895, allocations: 133.8 kB / 2.649 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/5.895, allocations: 0 / 2.649 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.05975/5.955, allocations: 35.92 MB / 2.684 GB, free: 104.2 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)