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.5751/0.5751, allocations: 94.78 MB / 102.3 MB, free: 10.14 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.001053/0.001053, allocations: 179.7 kB / 125.6 MB, free: 11.87 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.677/1.677, allocations: 170.6 MB / 319.4 MB, free: 9.312 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.001916/0.001916, allocations: 98.19 kB / 381.3 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.177e-05, allocations: 4 kB / 449.1 MB, free: 1.719 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 61.52 MB / 0.4987 GB, free: 4.105 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.58/18.77, allocations: 5.639 GB / 6.138 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/18.77, allocations: 85.55 kB / 6.138 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.592/21.36, allocations: 0.5958 GB / 6.733 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.915e-06/21.36, allocations: 5.141 kB / 6.733 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003324/21.36, allocations: 73.31 kB / 6.734 GB, free: 54.83 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.01089/21.37, allocations: 3.026 MB / 6.736 GB, free: 53.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/21.37, allocations: 9.438 kB / 6.736 GB, free: 53.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005357/21.38, allocations: 0.7892 MB / 6.737 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008899/21.38, allocations: 3.028 MB / 6.74 GB, free: 53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/21.38, allocations: 64.28 kB / 6.74 GB, free: 53 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005721/21.39, allocations: 135.8 kB / 6.74 GB, free: 53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00472/21.39, allocations: 2.182 MB / 6.743 GB, free: 52.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/21.4, allocations: 2.486 MB / 6.745 GB, free: 52.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/21.4, allocations: 3.688 kB / 6.745 GB, free: 52.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/21.4, allocations: 4.688 kB / 6.745 GB, free: 52.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/21.4, allocations: 82.91 kB / 6.745 GB, free: 52.66 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.0206/21.42, allocations: 10.22 MB / 6.755 GB, free: 49.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/21.42, allocations: 1.914 MB / 6.757 GB, free: 48.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/21.42, allocations: 0.9692 MB / 6.758 GB, free: 48.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007958/21.42, allocations: 0.8023 MB / 6.759 GB, free: 47.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/21.42, allocations: 1.045 MB / 6.76 GB, free: 47.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=155): time 7.825e-06/21.42, allocations: 5.172 kB / 6.76 GB, free: 47.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=190): time 0.02048/21.44, allocations: 6.277 MB / 6.766 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/21.44, allocations: 310.8 kB / 6.766 GB, free: 46.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004926/21.45, allocations: 1.715 MB / 6.768 GB, free: 46.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004824/21.45, allocations: 30.86 kB / 6.768 GB, free: 46.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001969/21.45, allocations: 1.141 MB / 6.769 GB, free: 45.76 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009508/21.45, allocations: 0.6366 MB / 6.77 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/21.45, allocations: 1.531 kB / 6.77 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002169/21.45, allocations: 400.6 kB / 6.77 GB, free: 45.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/21.45, allocations: 1.016 MB / 6.771 GB, free: 45.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/21.46, allocations: 1.511 MB / 6.772 GB, free: 44.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/21.46, allocations: 1.436 MB / 6.774 GB, free: 44.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/21.46, allocations: 3.969 kB / 6.774 GB, free: 44.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.009789/21.47, allocations: 3.718 MB / 6.777 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/21.47, allocations: 4.761 MB / 6.782 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.948e-05/21.47, allocations: 14.97 kB / 6.782 GB, free: 39.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004617/21.48, allocations: 1.08 MB / 6.783 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/21.48, allocations: 452.6 kB / 6.784 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/21.49, allocations: 12.37 MB / 6.796 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/21.5, allocations: 164.8 kB / 6.796 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008589/21.5, allocations: 101.3 kB / 6.796 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/21.5, allocations: 3.844 kB / 6.796 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01048/21.51, allocations: 3.395 MB / 6.799 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.92e-05/21.51, allocations: 14.89 kB / 6.799 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004634/21.51, allocations: 1.115 MB / 6.8 GB, free: 30.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/21.52, allocations: 440.5 kB / 6.801 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/21.53, allocations: 12.42 MB / 6.813 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/21.53, allocations: 139.7 kB / 6.813 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006664/21.53, allocations: 103.2 kB / 6.813 GB, free: 22.45 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" 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 (233): * Single equations (assignments): 222 * 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 {(1,100.0%) 5,(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 {5 16} Notification: Performance of prepare postOptimizeDAE: time 0.001604/21.54, allocations: 279.7 kB / 6.813 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/21.54, allocations: 229.1 kB / 6.814 GB, free: 22.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008221/21.55, allocations: 2.848 MB / 6.816 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/21.55, allocations: 19.56 kB / 6.816 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.855e-05/21.55, allocations: 9.781 kB / 6.816 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/21.55, allocations: 11.3 kB / 6.816 GB, free: 21.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/21.56, allocations: 5.462 MB / 6.822 GB, free: 21.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/21.56, allocations: 0 / 6.822 GB, free: 21.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/21.56, allocations: 328 kB / 6.822 GB, free: 21.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/21.56, allocations: 452.5 kB / 6.822 GB, free: 21.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/21.56, allocations: 31.16 kB / 6.822 GB, free: 21.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/21.57, allocations: 11 MB / 6.833 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/21.57, allocations: 3.562 kB / 6.833 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009116/21.58, allocations: 4.06 MB / 6.837 GB, free: 28.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/21.58, allocations: 0.6158 MB / 6.838 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/21.58, allocations: 22.08 kB / 6.838 GB, free: 27.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/21.59, allocations: 93.34 kB / 6.838 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/21.59, allocations: 151.3 kB / 6.838 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003266/21.59, allocations: 80.38 kB / 6.838 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003792/21.59, allocations: 1.277 MB / 6.839 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/21.59, allocations: 0 / 6.839 GB, free: 27.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01251/21.61, allocations: 1.679 MB / 6.841 GB, free: 27.11 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 (172): * Single equations (assignments): 163 * 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%) 7,(1,100.0%) 7,(1,100.0%) 3,(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.005426/21.61, allocations: 1.834 MB / 6.843 GB, free: 26.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01358/21.62, allocations: 6.204 MB / 6.849 GB, free: 23.25 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/21.62, allocations: 448 / 6.849 GB, free: 23.25 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/21.63, allocations: 1.993 MB / 6.851 GB, free: 22.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008206/21.64, allocations: 1.23 MB / 6.852 GB, free: 21.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/21.65, allocations: 4.925 MB / 6.857 GB, free: 19.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/21.65, allocations: 2.143 MB / 6.859 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00687/21.66, allocations: 1.399 MB / 6.86 GB, free: 18.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/21.66, allocations: 173.5 kB / 6.86 GB, free: 18.19 MB / 0.5573 GB Notification: Performance of SimCode: time 1.944e-06/21.66, allocations: 0 / 6.86 GB, free: 18.19 MB / 0.5573 GB Notification: Performance of Templates: time 0.616/22.28, allocations: 70.84 MB / 6.93 GB, free: 64.07 MB / 0.5573 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)