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.5561/0.5561, allocations: 95.61 MB / 110.6 MB, free: 9.379 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.001344/0.001344, allocations: 167.5 kB / 134.2 MB, free: 2.266 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.584/1.584, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001723/0.001723, allocations: 110 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004346, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 61.53 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.97/16.11, allocations: 5.64 GB / 6.152 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/16.11, allocations: 88.45 kB / 6.152 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.594/18.71, allocations: 0.6016 GB / 6.753 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.895e-06/18.71, allocations: 1.688 kB / 6.753 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004222/18.71, allocations: 68.78 kB / 6.753 GB, free: 58.73 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.0145/18.72, allocations: 3.456 MB / 6.757 GB, free: 57.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/18.72, allocations: 13.23 kB / 6.757 GB, free: 57.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005986/18.73, allocations: 0.7968 MB / 6.757 GB, free: 57.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/18.74, allocations: 3.046 MB / 6.76 GB, free: 56.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/18.74, allocations: 159.1 kB / 6.761 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008177/18.74, allocations: 228.8 kB / 6.761 GB, free: 56.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00627/18.75, allocations: 2.814 MB / 6.764 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/18.75, allocations: 1.438 kB / 6.764 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/18.75, allocations: 91.48 kB / 6.764 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/18.75, allocations: 79.81 kB / 6.764 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/18.75, allocations: 2.322 MB / 6.766 GB, free: 56.55 MB / 0.5417 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.02423/18.77, allocations: 10.41 MB / 6.776 GB, free: 53.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/18.78, allocations: 1.974 MB / 6.778 GB, free: 52.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/18.79, allocations: 4.251 MB / 6.782 GB, free: 51.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/18.79, allocations: 1.091 MB / 6.783 GB, free: 51.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=150): time 3.737e-06/18.79, allocations: 3.5 kB / 6.783 GB, free: 51.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=185): time 0.0265/18.82, allocations: 8.528 MB / 6.792 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/18.82, allocations: 309.2 kB / 6.792 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/18.82, allocations: 2.18 MB / 6.794 GB, free: 49.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004486/18.82, allocations: 64.2 kB / 6.794 GB, free: 49.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/18.82, allocations: 1.132 MB / 6.795 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/18.82, allocations: 0.6398 MB / 6.796 GB, free: 48.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/18.82, allocations: 46.72 kB / 6.796 GB, free: 48.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001464/18.82, allocations: 397.8 kB / 6.796 GB, free: 48.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/18.82, allocations: 1.048 MB / 6.797 GB, free: 48.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/18.83, allocations: 1.561 MB / 6.799 GB, free: 48.01 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/18.83, allocations: 1.382 MB / 6.8 GB, free: 47.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/18.83, allocations: 3.594 kB / 6.8 GB, free: 47.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.008588/18.84, allocations: 3.861 MB / 6.804 GB, free: 47.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001139/18.84, allocations: 4.854 MB / 6.809 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/18.84, allocations: 16.5 kB / 6.809 GB, free: 42.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/18.84, allocations: 1.17 MB / 6.81 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/18.85, allocations: 437.6 kB / 6.81 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/18.86, allocations: 13.01 MB / 6.823 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/18.86, allocations: 202 kB / 6.823 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/18.86, allocations: 110.6 kB / 6.823 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/18.86, allocations: 7.672 kB / 6.823 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009189/18.87, allocations: 3.625 MB / 6.827 GB, free: 33.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.106e-05/18.87, allocations: 11.53 kB / 6.827 GB, free: 33.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005569/18.88, allocations: 1.205 MB / 6.828 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/18.88, allocations: 438.8 kB / 6.828 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/18.89, allocations: 12.94 MB / 6.841 GB, free: 24.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/18.9, allocations: 179.3 kB / 6.841 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009828/18.9, allocations: 109.7 kB / 6.841 GB, free: 24.95 MB / 0.5417 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.0047/18.91, allocations: 1.052 MB / 6.842 GB, free: 24.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/18.91, allocations: 258.8 kB / 6.843 GB, free: 24.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007354/18.91, allocations: 2.881 MB / 6.845 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/18.92, allocations: 19.94 kB / 6.845 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.923e-05/18.92, allocations: 6.438 kB / 6.845 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/18.92, allocations: 17.95 kB / 6.845 GB, free: 24.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/18.93, allocations: 5.679 MB / 6.851 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/18.93, allocations: 0 / 6.851 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/18.93, allocations: 319.6 kB / 6.851 GB, free: 23.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/18.93, allocations: 456.9 kB / 6.852 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/18.93, allocations: 58.91 kB / 6.852 GB, free: 23.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/18.95, allocations: 11.6 MB / 6.863 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/18.95, allocations: 0 / 6.863 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009163/18.95, allocations: 4.079 MB / 6.867 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/18.96, allocations: 0.6381 MB / 6.868 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/18.96, allocations: 49.91 kB / 6.868 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/18.96, allocations: 135.4 kB / 6.868 GB, free: 31.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/18.96, allocations: 143.5 kB / 6.868 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003679/18.96, allocations: 80.72 kB / 6.868 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004261/18.97, allocations: 1.67 MB / 6.87 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/18.97, allocations: 0 / 6.87 GB, free: 31.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01175/18.98, allocations: 1.802 MB / 6.872 GB, free: 30.93 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) * Number of clocked states: 0 () * 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.006102/18.99, allocations: 1.779 MB / 6.873 GB, free: 30.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01898/19, allocations: 6.552 MB / 6.88 GB, free: 28.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.632e-05/19, allocations: 7.344 kB / 6.88 GB, free: 28.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004881/19.01, allocations: 2.066 MB / 6.882 GB, free: 28.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/19.02, allocations: 1.482 MB / 6.883 GB, free: 28 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/19.04, allocations: 6.975 MB / 6.89 GB, free: 25.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004366/19.04, allocations: 2.13 MB / 6.892 GB, free: 24.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00763/19.05, allocations: 1.067 MB / 6.893 GB, free: 24.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/19.05, allocations: 218.8 kB / 6.893 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of SimCode: time 2.726e-06/19.05, allocations: 0 / 6.893 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.5708/19.62, allocations: 83.44 MB / 6.975 GB, free: 82.06 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)