Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 292.6 MB / 307.5 MB, free: 5.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.001152/0.001152, allocations: 185 kB / 377.1 MB, free: 1.527 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.67/1.67, allocations: 205.4 MB / 0.6367 GB, free: 9.586 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.001019/0.001019, allocations: 91.02 kB / 0.751 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003706, allocations: 8 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 116.3 MB / 0.9884 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/6.732, allocations: 2.377 GB / 3.365 GB, free: 204.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/6.733, allocations: 87.95 kB / 3.366 GB, free: 204.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.391/13.12, allocations: 1.33 GB / 4.696 GB, free: 79.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.166e-06/13.12, allocations: 3.594 kB / 4.696 GB, free: 79.17 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001081/13.13, allocations: 103 kB / 4.696 GB, free: 79.15 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.02018/13.15, allocations: 4.19 MB / 4.7 GB, free: 77.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/13.15, allocations: 6.438 kB / 4.7 GB, free: 77.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009025/13.15, allocations: 1.133 MB / 4.701 GB, free: 77.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/13.17, allocations: 4.8 MB / 4.706 GB, free: 77.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/13.17, allocations: 179.5 kB / 4.706 GB, free: 77.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/13.17, allocations: 257.8 kB / 4.706 GB, free: 77.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/13.19, allocations: 3.114 MB / 4.709 GB, free: 76.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/13.19, allocations: 5.875 kB / 4.709 GB, free: 76.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/13.19, allocations: 98.98 kB / 4.71 GB, free: 76.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/13.19, allocations: 101.7 kB / 4.71 GB, free: 76.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007424/13.2, allocations: 2.59 MB / 4.712 GB, free: 76.59 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.02638/13.22, allocations: 13.25 MB / 4.725 GB, free: 71.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/13.23, allocations: 2.362 MB / 4.727 GB, free: 70.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/13.24, allocations: 4.387 MB / 4.732 GB, free: 69.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/13.24, allocations: 0.9925 MB / 4.733 GB, free: 69.25 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002431/13.24, allocations: 199 kB / 4.733 GB, free: 69.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 7.263e-06/13.24, allocations: 0 / 4.733 GB, free: 69.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01532/13.26, allocations: 5.736 MB / 4.738 GB, free: 67.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/13.26, allocations: 120.6 kB / 4.739 GB, free: 67.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006331/13.26, allocations: 2.781 MB / 4.741 GB, free: 67.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006711/13.26, allocations: 69.59 kB / 4.741 GB, free: 67.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/13.26, allocations: 1.502 MB / 4.743 GB, free: 66.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/13.27, allocations: 0.5147 MB / 4.743 GB, free: 66.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/13.27, allocations: 41.78 kB / 4.743 GB, free: 66.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001631/13.27, allocations: 391 kB / 4.744 GB, free: 66.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/13.27, allocations: 0.9277 MB / 4.745 GB, free: 66.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/13.27, allocations: 1.575 MB / 4.746 GB, free: 65.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/13.27, allocations: 1.194 MB / 4.747 GB, free: 65.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/13.27, allocations: 6 kB / 4.747 GB, free: 65.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.007588/13.28, allocations: 3.072 MB / 4.75 GB, free: 65.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001891/13.28, allocations: 7.171 MB / 4.757 GB, free: 57.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.506e-05/13.28, allocations: 23.42 kB / 4.757 GB, free: 57.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/13.28, allocations: 465.8 kB / 4.758 GB, free: 57.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/13.29, allocations: 486.4 kB / 4.758 GB, free: 57.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/13.29, allocations: 2.737 MB / 4.761 GB, free: 55.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/13.3, allocations: 230 kB / 4.761 GB, free: 55.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006368/13.3, allocations: 112.9 kB / 4.761 GB, free: 55.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/13.3, allocations: 6.125 kB / 4.761 GB, free: 55.86 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006045/13.3, allocations: 2.758 MB / 4.764 GB, free: 55.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.077e-05/13.3, allocations: 20.7 kB / 4.764 GB, free: 55.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002513/13.3, allocations: 487.5 kB / 4.764 GB, free: 55.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/13.31, allocations: 477.2 kB / 4.765 GB, free: 55.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/13.31, allocations: 2.74 MB / 4.768 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/13.32, allocations: 206.5 kB / 4.768 GB, free: 53.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004755/13.32, allocations: 107.8 kB / 4.768 GB, free: 53.9 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.003398/13.32, allocations: 1.091 MB / 4.769 GB, free: 53.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/13.32, allocations: 309.5 kB / 4.769 GB, free: 53.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/13.33, allocations: 2.467 MB / 4.772 GB, free: 53.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/13.33, allocations: 19.69 kB / 4.772 GB, free: 53.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/13.33, allocations: 8.312 kB / 4.772 GB, free: 53.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003807/13.33, allocations: 2.118 MB / 4.774 GB, free: 52.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/13.34, allocations: 5.372 MB / 4.779 GB, free: 52.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/13.34, allocations: 0.9688 kB / 4.779 GB, free: 52.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/13.35, allocations: 290.4 kB / 4.779 GB, free: 52.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/13.35, allocations: 295.5 kB / 4.78 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/13.35, allocations: 49.38 kB / 4.78 GB, free: 52.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008691/13.36, allocations: 8.879 MB / 4.788 GB, free: 60.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/13.36, allocations: 8.344 kB / 4.788 GB, free: 60.82 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008208/13.36, allocations: 3.529 MB / 4.792 GB, free: 60.22 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/13.37, allocations: 0.6725 MB / 4.792 GB, free: 59.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/13.37, allocations: 39.2 kB / 4.792 GB, free: 59.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/13.37, allocations: 146.6 kB / 4.793 GB, free: 59.95 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/13.37, allocations: 114.1 kB / 4.793 GB, free: 59.95 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/13.37, allocations: 75.33 kB / 4.793 GB, free: 59.95 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0053/13.38, allocations: 2.122 MB / 4.795 GB, free: 59.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.655e-06/13.38, allocations: 0 / 4.795 GB, free: 59.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01221/13.39, allocations: 1.788 MB / 4.797 GB, free: 59.71 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 (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.005736/13.39, allocations: 2.185 MB / 4.799 GB, free: 59.12 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01064/13.41, allocations: 4.042 MB / 4.803 GB, free: 58.78 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.778e-05/13.41, allocations: 3 kB / 4.803 GB, free: 58.78 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/13.41, allocations: 1.684 MB / 4.804 GB, free: 58.11 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009951/13.42, allocations: 1.683 MB / 4.806 GB, free: 58.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/13.43, allocations: 7.789 MB / 4.814 GB, free: 55.03 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/13.44, allocations: 2.441 MB / 4.816 GB, free: 54.23 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005553/13.44, allocations: 1.158 MB / 4.817 GB, free: 54.11 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009317/13.44, allocations: 265.3 kB / 4.817 GB, free: 54.11 MB / 0.9636 GB Notification: Performance of SimCode: time 1.803e-06/13.44, allocations: 0 / 4.817 GB, free: 54.11 MB / 0.9636 GB Notification: Performance of Templates: time 0.1369/13.58, allocations: 83.03 MB / 4.898 GB, free: 48.78 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)