Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5891/0.5891, allocations: 94.69 MB / 107.2 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001166/0.001166, allocations: 176.4 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.672/1.672, allocations: 170.5 MB / 324.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001851/0.001851, allocations: 103.4 kB / 386.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.293e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5504, allocations: 61.51 MB / 0.5054 GB, free: 49.36 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.58/19.13, allocations: 5.64 GB / 6.145 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/19.13, allocations: 86.03 kB / 6.145 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.647/21.78, allocations: 0.6002 GB / 6.745 GB, free: 53.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.565e-06/21.78, allocations: 0 / 6.745 GB, free: 53.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005976/21.78, allocations: 69.98 kB / 6.745 GB, free: 53.65 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.0122/21.79, allocations: 3.026 MB / 6.748 GB, free: 53.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/21.79, allocations: 11.91 kB / 6.748 GB, free: 53.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/21.79, allocations: 0.7866 MB / 6.749 GB, free: 52.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/21.81, allocations: 3.034 MB / 6.752 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/21.81, allocations: 160 kB / 6.752 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006852/21.81, allocations: 213.2 kB / 6.752 GB, free: 52.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006/21.81, allocations: 2.776 MB / 6.755 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/21.81, allocations: 7.719 kB / 6.755 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002637/21.81, allocations: 91.06 kB / 6.755 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/21.81, allocations: 78.86 kB / 6.755 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/21.82, allocations: 2.267 MB / 6.757 GB, free: 52.2 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.02107/21.84, allocations: 10.42 MB / 6.768 GB, free: 49.08 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/21.84, allocations: 1.939 MB / 6.77 GB, free: 48.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/21.84, allocations: 0.985 MB / 6.77 GB, free: 48.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00869/21.85, allocations: 4.264 MB / 6.775 GB, free: 47.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/21.85, allocations: 1.073 MB / 6.776 GB, free: 47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=150): time 4.167e-06/21.85, allocations: 3.469 kB / 6.776 GB, free: 47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=185): time 0.02241/21.88, allocations: 7.799 MB / 6.783 GB, free: 46.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/21.88, allocations: 311.5 kB / 6.784 GB, free: 45.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003825/21.88, allocations: 2.153 MB / 6.786 GB, free: 45.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000361/21.88, allocations: 69.23 kB / 6.786 GB, free: 45.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/21.88, allocations: 1.126 MB / 6.787 GB, free: 45.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006646/21.88, allocations: 0.6369 MB / 6.788 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/21.88, allocations: 47.81 kB / 6.788 GB, free: 44.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001821/21.88, allocations: 393.9 kB / 6.788 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/21.88, allocations: 1.014 MB / 6.789 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/21.89, allocations: 1.515 MB / 6.79 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/21.89, allocations: 1.346 MB / 6.792 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/21.89, allocations: 3.719 kB / 6.792 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01018/21.9, allocations: 3.772 MB / 6.795 GB, free: 43.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001524/21.9, allocations: 4.854 MB / 6.8 GB, free: 38.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/21.9, allocations: 16.5 kB / 6.8 GB, free: 38.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/21.91, allocations: 1.12 MB / 6.801 GB, free: 38.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/21.91, allocations: 444.2 kB / 6.802 GB, free: 38.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/21.92, allocations: 12.78 MB / 6.814 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/21.93, allocations: 201.1 kB / 6.814 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009372/21.93, allocations: 110.5 kB / 6.814 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/21.93, allocations: 3.188 kB / 6.814 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.011/21.94, allocations: 3.531 MB / 6.818 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.779e-05/21.94, allocations: 17.42 kB / 6.818 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005823/21.94, allocations: 1.162 MB / 6.819 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/21.95, allocations: 436.8 kB / 6.819 GB, free: 29.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/21.96, allocations: 12.74 MB / 6.832 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004302/21.97, allocations: 182.3 kB / 6.832 GB, free: 36.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/21.97, allocations: 107.2 kB / 6.832 GB, free: 36.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 9 variables: pumRad.vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = pumRad.vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real rad.vol[5].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad.vol[5].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad.vol[4].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad.vol[4].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad.vol[3].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad.vol[3].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad.vol[2].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad.vol[2].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad.vol[1].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad.vol[1].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 217 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 4,(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.001273/21.97, allocations: 347.8 kB / 6.833 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009988/21.97, allocations: 263.2 kB / 6.833 GB, free: 36.54 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/21.98, allocations: 2.852 MB / 6.836 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/21.98, allocations: 17.84 kB / 6.836 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/21.98, allocations: 6.656 kB / 6.836 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/21.98, allocations: 14.88 kB / 6.836 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/21.99, allocations: 5.649 MB / 6.841 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/21.99, allocations: 1.312 kB / 6.841 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/21.99, allocations: 313 kB / 6.841 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/21.99, allocations: 465.1 kB / 6.842 GB, free: 35.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/21.99, allocations: 59.53 kB / 6.842 GB, free: 35.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/22, allocations: 11.42 MB / 6.853 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/22, allocations: 3.281 kB / 6.853 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008167/22.01, allocations: 4.034 MB / 6.857 GB, free: 27.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/22.01, allocations: 0.6399 MB / 6.858 GB, free: 27.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000768/22.01, allocations: 52.2 kB / 6.858 GB, free: 27.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/22.01, allocations: 128.5 kB / 6.858 GB, free: 27.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/22.02, allocations: 144.9 kB / 6.858 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/22.02, allocations: 74.06 kB / 6.858 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002768/22.02, allocations: 1.649 MB / 6.86 GB, free: 26.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/22.02, allocations: 0 / 6.86 GB, free: 26.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008436/22.03, allocations: 1.808 MB / 6.861 GB, free: 26.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,rad.vol[1].dynBal.medium.T,rad.vol[2].dynBal.medium.T,rad.vol[3].dynBal.medium.T,rad.vol[4].dynBal.medium.T,rad.vol[5].dynBal.medium.T,temSup.T,pumRad.vol.dynBal.medium.T,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,hysPum.y) * Number of discrete states: 2 (timTab.nextTimeEvent,hysPum.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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%) 7,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004589/22.03, allocations: 1.762 MB / 6.863 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01536/22.05, allocations: 6.494 MB / 6.869 GB, free: 24.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/22.05, allocations: 1.188 kB / 6.869 GB, free: 24.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/22.05, allocations: 2.044 MB / 6.871 GB, free: 24.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/22.06, allocations: 1.477 MB / 6.873 GB, free: 24.01 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/22.07, allocations: 5.065 MB / 6.878 GB, free: 23.05 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/22.07, allocations: 2.137 MB / 6.88 GB, free: 22.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006443/22.08, allocations: 1.571 MB / 6.881 GB, free: 22.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006711/22.08, allocations: 178.4 kB / 6.882 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of SimCode: time 2.986e-06/22.08, allocations: 0 / 6.882 GB, free: 22.25 MB / 0.5573 GB Notification: Performance of Templates: time 0.6212/22.7, allocations: 89.78 MB / 6.969 GB, free: 77.92 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)