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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 293 MB / 309 MB, free: 4.809 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.0009723/0.0009726, allocations: 172.6 kB / 378.7 MB, free: 1.016 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.446/1.446, allocations: 205.4 MB / 0.6383 GB, free: 8.148 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.0007714/0.0007713, allocations: 94.8 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 8 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2477, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.416/6.664, allocations: 2.377 GB / 3.368 GB, free: 199.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/6.664, allocations: 92.45 kB / 3.368 GB, free: 199.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.978/11.64, allocations: 1.322 GB / 4.69 GB, free: 92.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.663e-06/11.64, allocations: 4.406 kB / 4.69 GB, free: 92.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007753/11.64, allocations: 97.17 kB / 4.69 GB, free: 92.02 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.0141/11.66, allocations: 4.149 MB / 4.694 GB, free: 90.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/11.66, allocations: 13.47 kB / 4.694 GB, free: 90.61 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006819/11.66, allocations: 1.139 MB / 4.695 GB, free: 90.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/11.68, allocations: 4.644 MB / 4.7 GB, free: 89.81 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/11.68, allocations: 187.1 kB / 4.7 GB, free: 89.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005278/11.68, allocations: 252.3 kB / 4.7 GB, free: 89.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005207/11.68, allocations: 3.127 MB / 4.703 GB, free: 89.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/11.68, allocations: 9.125 kB / 4.703 GB, free: 89.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/11.68, allocations: 99.81 kB / 4.703 GB, free: 89.37 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.366e-05/11.68, allocations: 104.9 kB / 4.703 GB, free: 89.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004048/11.69, allocations: 2.557 MB / 4.706 GB, free: 89.33 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 preOpt removeSimpleEquations (simulation): time 0.01866/11.7, allocations: 13.06 MB / 4.719 GB, free: 84.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/11.71, allocations: 2.303 MB / 4.721 GB, free: 83.51 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/11.71, allocations: 0.9765 MB / 4.722 GB, free: 83.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00874/11.72, allocations: 4.256 MB / 4.726 GB, free: 82.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/11.72, allocations: 0.9911 MB / 4.727 GB, free: 82.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001733/11.72, allocations: 193.5 kB / 4.727 GB, free: 81.94 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=143): time 4.859e-06/11.72, allocations: 0 / 4.727 GB, free: 81.94 MB / 0.9636 GB Notification: Performance of matching and sorting (n=147): time 0.01155/11.73, allocations: 5.97 MB / 4.733 GB, free: 80.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/11.73, allocations: 120.7 kB / 4.733 GB, free: 79.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004208/11.74, allocations: 2.907 MB / 4.736 GB, free: 79.62 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003425/11.74, allocations: 67.56 kB / 4.736 GB, free: 79.59 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/11.74, allocations: 1.51 MB / 4.738 GB, free: 79.11 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/11.74, allocations: 0.5194 MB / 4.738 GB, free: 78.78 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/11.74, allocations: 40.72 kB / 4.738 GB, free: 78.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001203/11.74, allocations: 390.6 kB / 4.738 GB, free: 78.47 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/11.74, allocations: 0.918 MB / 4.739 GB, free: 78.46 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/11.74, allocations: 1.565 MB / 4.741 GB, free: 77.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/11.75, allocations: 2.426 MB / 4.743 GB, free: 77.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/11.75, allocations: 6.312 kB / 4.743 GB, free: 77.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006048/11.75, allocations: 3.056 MB / 4.746 GB, free: 76.85 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/11.75, allocations: 0.5921 MB / 4.747 GB, free: 76.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/11.75, allocations: 17.09 kB / 4.747 GB, free: 76.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/11.75, allocations: 456.5 kB / 4.747 GB, free: 76.14 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/11.76, allocations: 464 kB / 4.748 GB, free: 76.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/11.76, allocations: 2.716 MB / 4.75 GB, free: 74.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/11.76, allocations: 218.8 kB / 4.751 GB, free: 74.26 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/11.76, allocations: 115.1 kB / 4.751 GB, free: 74.26 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/11.76, allocations: 2.969 kB / 4.751 GB, free: 74.26 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004814/11.77, allocations: 2.745 MB / 4.753 GB, free: 74.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/11.77, allocations: 20.12 kB / 4.753 GB, free: 74.19 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/11.77, allocations: 470.9 kB / 4.754 GB, free: 74.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/11.77, allocations: 449 kB / 4.754 GB, free: 74.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/11.77, allocations: 2.711 MB / 4.757 GB, free: 72.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/11.78, allocations: 204.3 kB / 4.757 GB, free: 72.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/11.78, allocations: 109.8 kB / 4.757 GB, free: 72.3 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.003089/11.78, allocations: 1.09 MB / 4.758 GB, free: 72.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/11.78, allocations: 311.1 kB / 4.759 GB, free: 71.94 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/11.79, allocations: 2.8 MB / 4.761 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/11.79, allocations: 18.36 kB / 4.761 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/11.79, allocations: 3.25 kB / 4.761 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/11.79, allocations: 2.466 MB / 4.764 GB, free: 70.39 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.0113/11.8, allocations: 5.612 MB / 4.769 GB, free: 69.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/11.8, allocations: 0 / 4.769 GB, free: 69.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/11.8, allocations: 297 kB / 4.769 GB, free: 69.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/11.8, allocations: 210 kB / 4.77 GB, free: 69.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/11.8, allocations: 50.78 kB / 4.77 GB, free: 69.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/11.81, allocations: 8.273 MB / 4.778 GB, free: 61.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/11.81, allocations: 0 / 4.778 GB, free: 61.82 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006579/11.81, allocations: 3.765 MB / 4.781 GB, free: 60.88 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/11.82, allocations: 0.6225 MB / 4.782 GB, free: 60.63 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/11.82, allocations: 43.72 kB / 4.782 GB, free: 60.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/11.82, allocations: 133.8 kB / 4.782 GB, free: 60.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/11.82, allocations: 116.4 kB / 4.782 GB, free: 60.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/11.82, allocations: 72.61 kB / 4.782 GB, free: 60.61 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003308/11.82, allocations: 1.952 MB / 4.784 GB, free: 60.47 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.2e-07/11.82, allocations: 7.156 kB / 4.784 GB, free: 60.47 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006798/11.83, allocations: 1.728 MB / 4.786 GB, free: 60.38 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.004419/11.83, allocations: 2.178 MB / 4.788 GB, free: 59.82 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009067/11.84, allocations: 4.011 MB / 4.792 GB, free: 59.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/11.84, allocations: 2.562 kB / 4.792 GB, free: 59.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/11.85, allocations: 1.627 MB / 4.794 GB, free: 58.82 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009395/11.86, allocations: 1.674 MB / 4.795 GB, free: 58.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/11.87, allocations: 7.805 MB / 4.803 GB, free: 55.86 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/11.87, allocations: 2.388 MB / 4.805 GB, free: 55.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005507/11.88, allocations: 1.159 MB / 4.806 GB, free: 55.06 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009418/11.88, allocations: 256.3 kB / 4.807 GB, free: 55.06 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/11.88, allocations: 0 / 4.807 GB, free: 55.06 MB / 0.9636 GB Notification: Performance of Templates: time 0.1278/12.01, allocations: 82.2 MB / 4.887 GB, free: 50.04 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)