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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001209/0.00121, allocations: 179.3 kB / 371.6 MB, free: 3.395 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.997/1.997, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001024/0.001024, allocations: 92.58 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.408e-05/4.41e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2975, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.087/2.385, allocations: 455.5 MB / 1.425 GB, free: 289.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/2.385, allocations: 96.39 kB / 1.425 GB, free: 289.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.579/6.964, allocations: 1.167 GB / 2.592 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.813e-06/6.964, allocations: 3.391 kB / 2.592 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002924/6.964, allocations: 55.36 kB / 2.592 GB, free: 129.6 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.00665/6.971, allocations: 2.074 MB / 2.594 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/6.971, allocations: 9.875 kB / 2.594 GB, free: 128.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/6.974, allocations: 454.5 kB / 2.595 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007997/6.982, allocations: 2.3 MB / 2.597 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/6.982, allocations: 92.94 kB / 2.597 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/6.982, allocations: 126.8 kB / 2.597 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/6.985, allocations: 1.245 MB / 2.598 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/6.985, allocations: 7.562 kB / 2.598 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/6.985, allocations: 47.91 kB / 2.598 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.033e-05/6.985, allocations: 32.3 kB / 2.598 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/6.987, allocations: 0.838 MB / 2.599 GB, free: 127.9 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.009711/6.997, allocations: 6.874 MB / 2.606 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/6.998, allocations: 1.143 MB / 2.607 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/6.999, allocations: 312.1 kB / 2.607 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004683/7.004, allocations: 2.91 MB / 2.61 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005987/7.004, allocations: 352.8 kB / 2.61 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006974/7.005, allocations: 94.92 kB / 2.611 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 3.647e-06/7.005, allocations: 0 / 2.611 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.001414/7.006, allocations: 0.6685 MB / 2.611 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/7.007, allocations: 162.6 kB / 2.611 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/7.009, allocations: 1.349 MB / 2.613 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/7.009, allocations: 41.7 kB / 2.613 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007756/7.01, allocations: 0.8872 MB / 2.614 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/7.01, allocations: 216.1 kB / 2.614 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/7.01, allocations: 24.05 kB / 2.614 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/7.01, allocations: 341.7 kB / 2.614 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/7.011, allocations: 269.2 kB / 2.614 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/7.011, allocations: 0.7056 MB / 2.615 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/7.012, allocations: 399.9 kB / 2.615 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/7.012, allocations: 6.953 kB / 2.615 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002134/7.014, allocations: 1.107 MB / 2.617 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/7.015, allocations: 4.559 MB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/7.015, allocations: 14.59 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.283e-05/7.015, allocations: 17.94 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/7.016, allocations: 245.8 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/7.016, allocations: 24.61 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/7.018, allocations: 119.6 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/7.018, allocations: 57.27 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/7.018, allocations: 3.812 kB / 2.621 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001692/7.02, allocations: 0.9297 MB / 2.622 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/7.02, allocations: 19.7 kB / 2.622 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/7.02, allocations: 18.84 kB / 2.622 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/7.021, allocations: 247.7 kB / 2.623 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/7.021, allocations: 24.02 kB / 2.623 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/7.022, allocations: 115.5 kB / 2.623 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/7.022, allocations: 53.2 kB / 2.623 GB, free: 114.4 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 () * 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.0002972/7.023, allocations: 176 kB / 2.623 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/7.023, allocations: 168.2 kB / 2.623 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/7.025, allocations: 0.9467 MB / 2.624 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/7.025, allocations: 10.38 kB / 2.624 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/7.025, allocations: 1.344 kB / 2.624 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/7.026, allocations: 0.7816 MB / 2.625 GB, free: 113.8 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.004264/7.031, allocations: 2.151 MB / 2.627 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/7.031, allocations: 1.156 kB / 2.627 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006763/7.031, allocations: 129.9 kB / 2.627 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/7.032, allocations: 35.22 kB / 2.627 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/7.032, allocations: 23.7 kB / 2.627 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007972/7.033, allocations: 1.305 MB / 2.628 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/7.033, allocations: 2.219 kB / 2.628 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/7.034, allocations: 1.314 MB / 2.63 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/7.035, allocations: 343.9 kB / 2.63 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/7.035, allocations: 23.11 kB / 2.63 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/7.036, allocations: 100.3 kB / 2.63 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/7.037, allocations: 57.83 kB / 2.63 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/7.037, allocations: 34.56 kB / 2.63 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001624/7.038, allocations: 1.08 MB / 2.631 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.11e-07/7.038, allocations: 3.938 kB / 2.631 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00382/7.042, allocations: 1.014 MB / 2.632 GB, free: 111.3 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) * 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.002751/7.045, allocations: 1.309 MB / 2.634 GB, free: 111 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002614/7.047, allocations: 1.445 MB / 2.635 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/7.047, allocations: 0 / 2.635 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/7.048, allocations: 460.9 kB / 2.635 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/7.052, allocations: 0.731 MB / 2.636 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/7.056, allocations: 2.336 MB / 2.638 GB, free: 110 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008266/7.057, allocations: 1.412 MB / 2.64 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002554/7.06, allocations: 0.6027 MB / 2.64 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/7.06, allocations: 114.6 kB / 2.64 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.433e-06/7.06, allocations: 0 / 2.64 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.07144/7.131, allocations: 40.63 MB / 2.68 GB, free: 107.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)