Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.603/1.603, allocations: 288.4 MB / 304.3 MB, free: 8.043 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.001151/0.00115, allocations: 188.4 kB / 373 MB, free: 10.14 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.486/1.486, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0006719/0.000672, allocations: 102.1 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004096, allocations: 11.44 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2324, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/6.472, allocations: 2.376 GB / 3.357 GB, free: 312.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/6.472, allocations: 92.81 kB / 3.357 GB, free: 312 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.194/10.67, allocations: 1.322 GB / 4.679 GB, free: 70.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.767e-06/10.67, allocations: 4 kB / 4.679 GB, free: 70.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004478/10.67, allocations: 102.8 kB / 4.679 GB, free: 69.93 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01138/10.68, allocations: 4.15 MB / 4.683 GB, free: 65.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/10.68, allocations: 8.031 kB / 4.683 GB, free: 65.72 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/10.68, allocations: 1.14 MB / 4.684 GB, free: 64.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/10.7, allocations: 4.648 MB / 4.689 GB, free: 59.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/10.7, allocations: 184.9 kB / 4.689 GB, free: 59.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/10.7, allocations: 248.8 kB / 4.689 GB, free: 59.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/10.7, allocations: 3.136 MB / 4.692 GB, free: 56.14 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/10.7, allocations: 4 kB / 4.692 GB, free: 56.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/10.7, allocations: 103.5 kB / 4.693 GB, free: 56.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.147e-05/10.7, allocations: 100.3 kB / 4.693 GB, free: 55.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/10.71, allocations: 2.562 MB / 4.695 GB, free: 53.36 MB / 0.948 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.01822/10.72, allocations: 13.06 MB / 4.708 GB, free: 39.65 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/10.73, allocations: 2.307 MB / 4.71 GB, free: 37.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/10.73, allocations: 0.9789 MB / 4.711 GB, free: 36.27 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00991/10.74, allocations: 4.245 MB / 4.715 GB, free: 31.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/10.74, allocations: 1.001 MB / 4.716 GB, free: 30.78 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001774/10.74, allocations: 170.5 kB / 4.716 GB, free: 30.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 4.729e-06/10.74, allocations: 8 kB / 4.716 GB, free: 30.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01117/10.75, allocations: 5.978 MB / 4.722 GB, free: 24.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/10.75, allocations: 124.1 kB / 4.722 GB, free: 24.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/10.76, allocations: 2.901 MB / 4.725 GB, free: 21.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/10.76, allocations: 65.7 kB / 4.725 GB, free: 21.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/10.76, allocations: 1.514 MB / 4.727 GB, free: 19.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/10.76, allocations: 0.52 MB / 4.727 GB, free: 19.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/10.76, allocations: 40 kB / 4.727 GB, free: 19.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/10.76, allocations: 390.2 kB / 4.728 GB, free: 18.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/10.76, allocations: 0.9176 MB / 4.729 GB, free: 17.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/10.76, allocations: 1.567 MB / 4.73 GB, free: 15.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/10.76, allocations: 2.432 MB / 4.732 GB, free: 13.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/10.76, allocations: 4 kB / 4.732 GB, free: 13.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005456/10.77, allocations: 3.053 MB / 4.735 GB, free: 10.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002842/10.77, allocations: 0.5979 MB / 4.736 GB, free: 9.414 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/10.77, allocations: 19.98 kB / 4.736 GB, free: 9.395 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/10.77, allocations: 453.2 kB / 4.737 GB, free: 8.945 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/10.77, allocations: 471.2 kB / 4.737 GB, free: 8.484 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/10.78, allocations: 2.71 MB / 4.74 GB, free: 5.617 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/10.78, allocations: 223.3 kB / 4.74 GB, free: 5.398 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/10.78, allocations: 115.9 kB / 4.74 GB, free: 5.285 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/10.78, allocations: 4 kB / 4.74 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004612/10.79, allocations: 2.743 MB / 4.743 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/10.79, allocations: 16 kB / 4.743 GB, free: 2.516 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/10.79, allocations: 465.3 kB / 4.743 GB, free: 2.055 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/10.79, allocations: 455.3 kB / 4.744 GB, free: 1.609 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/10.79, allocations: 2.721 MB / 4.746 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/10.8, allocations: 199.5 kB / 4.746 GB, free: 14.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/10.8, allocations: 99.97 kB / 4.746 GB, free: 14.44 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.002647/10.8, allocations: 1.095 MB / 4.748 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/10.8, allocations: 316.1 kB / 4.748 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004921/10.8, allocations: 2.796 MB / 4.751 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/10.8, allocations: 23.92 kB / 4.751 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/10.8, allocations: 8.125 kB / 4.751 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003448/10.81, allocations: 2.465 MB / 4.753 GB, free: 7.43 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.01046/10.82, allocations: 5.602 MB / 4.758 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/10.82, allocations: 4 kB / 4.758 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/10.82, allocations: 295.7 kB / 4.759 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005651/10.82, allocations: 201 kB / 4.759 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/10.82, allocations: 51.91 kB / 4.759 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6124/11.43, allocations: 8.262 MB / 4.767 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/11.43, allocations: 1.188 kB / 4.767 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007166/11.44, allocations: 3.766 MB / 4.771 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/11.44, allocations: 0.6227 MB / 4.771 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/11.44, allocations: 44.12 kB / 4.771 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/11.44, allocations: 135 kB / 4.772 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/11.45, allocations: 110.8 kB / 4.772 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/11.45, allocations: 72.55 kB / 4.772 GB, free: 125 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003809/11.45, allocations: 1.953 MB / 4.774 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.11e-07/11.45, allocations: 0 / 4.774 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007114/11.46, allocations: 1.737 MB / 4.775 GB, free: 124.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 140 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004589/11.46, allocations: 2.183 MB / 4.777 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009419/11.47, allocations: 4.018 MB / 4.781 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/11.47, allocations: 3.281 kB / 4.781 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/11.47, allocations: 1.638 MB / 4.783 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009542/11.48, allocations: 1.665 MB / 4.785 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/11.49, allocations: 7.802 MB / 4.792 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/11.5, allocations: 2.384 MB / 4.795 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004715/11.5, allocations: 1.171 MB / 4.796 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/11.5, allocations: 263.8 kB / 4.796 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.052e-06/11.5, allocations: 0 / 4.796 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.1375/11.64, allocations: 82.22 MB / 4.876 GB, free: 116 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)