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.835/1.835, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001223/0.001223, allocations: 182.7 kB / 371.8 MB, free: 10.3 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.942/1.942, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001028/0.001028, allocations: 109 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 19.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.839/7.042, allocations: 2.376 GB / 3.356 GB, free: 248 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/7.042, allocations: 98.19 kB / 3.356 GB, free: 248 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.24/12.28, allocations: 1.33 GB / 4.686 GB, free: 9.625 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.396e-06/12.28, allocations: 0 / 4.686 GB, free: 9.625 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008671/12.28, allocations: 98.53 kB / 4.686 GB, free: 9.531 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.0171/12.3, allocations: 4.196 MB / 4.69 GB, free: 5.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/12.3, allocations: 8.031 kB / 4.69 GB, free: 5.262 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008278/12.31, allocations: 1.143 MB / 4.691 GB, free: 4.113 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7467/13.06, allocations: 4.781 MB / 4.696 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/13.06, allocations: 188.5 kB / 4.696 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/13.06, allocations: 253.9 kB / 4.696 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009975/13.07, allocations: 3.115 MB / 4.7 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.856e-05/13.07, allocations: 4.656 kB / 4.7 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003604/13.07, allocations: 99.55 kB / 4.7 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/13.07, allocations: 105.9 kB / 4.7 GB, free: 109.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005541/13.07, allocations: 2.587 MB / 4.702 GB, free: 109.8 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.03007/13.1, allocations: 13.26 MB / 4.715 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/13.11, allocations: 2.369 MB / 4.718 GB, free: 104.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/13.12, allocations: 4.38 MB / 4.722 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/13.12, allocations: 0.9887 MB / 4.723 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002011/13.12, allocations: 201.3 kB / 4.723 GB, free: 102.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 5.771e-06/13.12, allocations: 0 / 4.723 GB, free: 102.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01386/13.14, allocations: 5.739 MB / 4.729 GB, free: 101.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/13.14, allocations: 117.5 kB / 4.729 GB, free: 101.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007466/13.14, allocations: 2.786 MB / 4.731 GB, free: 101 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008366/13.15, allocations: 69.69 kB / 4.731 GB, free: 100.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00188/13.15, allocations: 1.502 MB / 4.733 GB, free: 100.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/13.15, allocations: 0.5119 MB / 4.733 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/13.15, allocations: 39.59 kB / 4.733 GB, free: 100.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001905/13.15, allocations: 397 kB / 4.734 GB, free: 100 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/13.15, allocations: 0.926 MB / 4.735 GB, free: 100 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/13.15, allocations: 1.57 MB / 4.736 GB, free: 99.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/13.15, allocations: 1.192 MB / 4.737 GB, free: 99.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/13.15, allocations: 2.781 kB / 4.737 GB, free: 99.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006278/13.16, allocations: 3.077 MB / 4.74 GB, free: 99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001414/13.16, allocations: 7.167 MB / 4.747 GB, free: 91.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.544e-05/13.16, allocations: 26.08 kB / 4.747 GB, free: 91.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/13.16, allocations: 464.5 kB / 4.748 GB, free: 91.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/13.17, allocations: 493.3 kB / 4.748 GB, free: 91.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/13.17, allocations: 2.725 MB / 4.751 GB, free: 89.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/13.18, allocations: 223.9 kB / 4.751 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007099/13.18, allocations: 115.2 kB / 4.751 GB, free: 89.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/13.18, allocations: 3.375 kB / 4.751 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008053/13.18, allocations: 2.763 MB / 4.754 GB, free: 89.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/13.18, allocations: 18.89 kB / 4.754 GB, free: 89.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002874/13.19, allocations: 491.4 kB / 4.755 GB, free: 89.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/13.19, allocations: 478.5 kB / 4.755 GB, free: 89.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/13.19, allocations: 2.742 MB / 4.758 GB, free: 87.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/13.2, allocations: 201.6 kB / 4.758 GB, free: 87.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009031/13.2, allocations: 113.5 kB / 4.758 GB, free: 87.79 MB / 0.948 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.00393/13.2, allocations: 1.092 MB / 4.759 GB, free: 87.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/13.21, allocations: 308 kB / 4.759 GB, free: 87.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007438/13.21, allocations: 2.472 MB / 4.762 GB, free: 87.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/13.21, allocations: 22.12 kB / 4.762 GB, free: 87.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/13.21, allocations: 2.469 kB / 4.762 GB, free: 87.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004163/13.22, allocations: 2.116 MB / 4.764 GB, free: 86.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/13.23, allocations: 5.364 MB / 4.769 GB, free: 86.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/13.23, allocations: 1.062 kB / 4.769 GB, free: 86.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/13.24, allocations: 282.2 kB / 4.769 GB, free: 86.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/13.24, allocations: 303.7 kB / 4.77 GB, free: 86.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/13.24, allocations: 46.53 kB / 4.77 GB, free: 86.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006398/13.24, allocations: 8.888 MB / 4.778 GB, free: 78.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/13.24, allocations: 5.281 kB / 4.778 GB, free: 78.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006771/13.25, allocations: 3.543 MB / 4.782 GB, free: 78.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003029/13.25, allocations: 0.6688 MB / 4.782 GB, free: 77.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/13.26, allocations: 40.06 kB / 4.783 GB, free: 77.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003162/13.26, allocations: 139.9 kB / 4.783 GB, free: 77.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/13.26, allocations: 113.9 kB / 4.783 GB, free: 77.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/13.26, allocations: 78.98 kB / 4.783 GB, free: 77.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004985/13.26, allocations: 2.122 MB / 4.785 GB, free: 77.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/13.26, allocations: 6.125 kB / 4.785 GB, free: 77.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01108/13.28, allocations: 1.786 MB / 4.787 GB, free: 77.71 MB / 0.948 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 (149): * Single equations (assignments): 135 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005598/13.28, allocations: 2.179 MB / 4.789 GB, free: 77.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01128/13.29, allocations: 4.045 MB / 4.793 GB, free: 76.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/13.29, allocations: 4.5 kB / 4.793 GB, free: 76.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003324/13.3, allocations: 1.686 MB / 4.794 GB, free: 76.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01073/13.31, allocations: 1.682 MB / 4.796 GB, free: 76.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/13.32, allocations: 7.783 MB / 4.804 GB, free: 73.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003607/13.33, allocations: 2.451 MB / 4.806 GB, free: 72.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006474/13.33, allocations: 1.158 MB / 4.807 GB, free: 72.56 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/13.34, allocations: 262.9 kB / 4.807 GB, free: 72.55 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/13.34, allocations: 1.438 kB / 4.807 GB, free: 72.55 MB / 0.948 GB Notification: Performance of Templates: time 0.1413/13.48, allocations: 83.02 MB / 4.888 GB, free: 68.27 MB / 0.948 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)