Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.573/2.573, allocations: 287.5 MB / 303.2 MB, free: 8.199 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.001313/0.001312, allocations: 174.2 kB / 371.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.000868/0.0008674, allocations: 95.14 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 10.03 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.473/7.684, allocations: 2.376 GB / 3.355 GB, free: 325 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/7.684, allocations: 97.36 kB / 3.356 GB, free: 325 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.262/13.95, allocations: 1.322 GB / 4.678 GB, free: 92.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.943e-06/13.95, allocations: 3.391 kB / 4.678 GB, free: 92.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006814/13.95, allocations: 95.91 kB / 4.678 GB, free: 92 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.01691/13.96, allocations: 4.143 MB / 4.682 GB, free: 87.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/13.96, allocations: 8.031 kB / 4.682 GB, free: 87.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/13.97, allocations: 1.144 MB / 4.683 GB, free: 86.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/13.99, allocations: 4.636 MB / 4.687 GB, free: 81.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/13.99, allocations: 188.9 kB / 4.687 GB, free: 81.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008998/13.99, allocations: 248.9 kB / 4.688 GB, free: 81.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008574/14, allocations: 3.131 MB / 4.691 GB, free: 78.22 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/14, allocations: 10.62 kB / 4.691 GB, free: 78.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004573/14, allocations: 96 kB / 4.691 GB, free: 78.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/14, allocations: 108.2 kB / 4.691 GB, free: 78.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/14.01, allocations: 2.558 MB / 4.693 GB, free: 75.43 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.031/14.04, allocations: 13.05 MB / 4.706 GB, free: 61.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004863/14.05, allocations: 2.312 MB / 4.708 GB, free: 59.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/14.05, allocations: 0.9758 MB / 4.709 GB, free: 58.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/14.06, allocations: 4.248 MB / 4.714 GB, free: 53.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/14.06, allocations: 0.9852 MB / 4.715 GB, free: 52.87 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002045/14.07, allocations: 190.3 kB / 4.715 GB, free: 52.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 5.921e-06/14.07, allocations: 0 / 4.715 GB, free: 52.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01877/14.09, allocations: 5.976 MB / 4.721 GB, free: 46.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/14.09, allocations: 120.1 kB / 4.721 GB, free: 46.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005879/14.09, allocations: 2.909 MB / 4.724 GB, free: 43.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006903/14.09, allocations: 69.7 kB / 4.724 GB, free: 43.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/14.09, allocations: 1.51 MB / 4.725 GB, free: 41.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008612/14.09, allocations: 0.5045 MB / 4.726 GB, free: 41.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/14.1, allocations: 48 kB / 4.726 GB, free: 41.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/14.1, allocations: 386.2 kB / 4.726 GB, free: 40.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/14.1, allocations: 0.9255 MB / 4.727 GB, free: 39.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003087/14.1, allocations: 1.573 MB / 4.728 GB, free: 38.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/14.11, allocations: 2.424 MB / 4.731 GB, free: 35.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/14.11, allocations: 4 kB / 4.731 GB, free: 35.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01018/14.12, allocations: 3.057 MB / 4.734 GB, free: 32.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/14.12, allocations: 0.5888 MB / 4.734 GB, free: 31.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/14.12, allocations: 23.97 kB / 4.734 GB, free: 31.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003877/14.12, allocations: 457.2 kB / 4.735 GB, free: 31.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/14.13, allocations: 463.2 kB / 4.735 GB, free: 30.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/14.13, allocations: 2.706 MB / 4.738 GB, free: 27.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/14.14, allocations: 223.3 kB / 4.738 GB, free: 27.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005956/14.14, allocations: 116 kB / 4.738 GB, free: 27.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/14.14, allocations: 4 kB / 4.738 GB, free: 27.38 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008623/14.14, allocations: 2.743 MB / 4.741 GB, free: 24.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.839e-05/14.15, allocations: 20.06 kB / 4.741 GB, free: 24.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006455/14.15, allocations: 469.2 kB / 4.741 GB, free: 24.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00573/14.16, allocations: 455.3 kB / 4.742 GB, free: 23.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006722/14.16, allocations: 2.715 MB / 4.744 GB, free: 20.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004745/14.17, allocations: 199.5 kB / 4.745 GB, free: 20.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/14.17, allocations: 108 kB / 4.745 GB, free: 20.52 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.003199/14.17, allocations: 1.09 MB / 4.746 GB, free: 19.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/14.17, allocations: 308.2 kB / 4.746 GB, free: 19.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/14.18, allocations: 2.803 MB / 4.749 GB, free: 16.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/14.18, allocations: 20 kB / 4.749 GB, free: 16.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/14.18, allocations: 4.125 kB / 4.749 GB, free: 16.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005473/14.19, allocations: 2.461 MB / 4.751 GB, free: 13.53 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 postOpt removeSimpleEquations (simulation): time 0.01511/14.2, allocations: 5.618 MB / 4.757 GB, free: 7.715 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/14.2, allocations: 8.156 kB / 4.757 GB, free: 7.707 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/14.21, allocations: 295.6 kB / 4.757 GB, free: 7.418 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009232/14.21, allocations: 204.9 kB / 4.757 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/14.21, allocations: 47.97 kB / 4.757 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/14.21, allocations: 8.258 MB / 4.765 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/14.21, allocations: 4.156 kB / 4.765 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/14.22, allocations: 3.761 MB / 4.769 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/14.23, allocations: 0.6297 MB / 4.77 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/14.23, allocations: 39.94 kB / 4.77 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/14.23, allocations: 135.7 kB / 4.77 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/14.23, allocations: 117.1 kB / 4.77 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003374/14.23, allocations: 71.94 kB / 4.77 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.005286/14.24, allocations: 1.951 MB / 4.772 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.31e-07/14.24, allocations: 0 / 4.772 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01007/14.25, allocations: 1.734 MB / 4.774 GB, free: 5.492 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.005683/14.25, allocations: 2.166 MB / 4.776 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.7514/15, allocations: 4.015 MB / 4.78 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/15.01, allocations: 2.438 kB / 4.78 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/15.01, allocations: 1.631 MB / 4.781 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01517/15.02, allocations: 1.654 MB / 4.783 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/15.04, allocations: 7.795 MB / 4.79 GB, free: 137 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004744/15.05, allocations: 2.382 MB / 4.793 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008365/15.06, allocations: 1.165 MB / 4.794 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/15.06, allocations: 260.4 kB / 4.794 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.062e-06/15.06, allocations: 1.375 kB / 4.794 GB, free: 136.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.1971/15.26, allocations: 81.18 MB / 4.873 GB, free: 132.9 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)