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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.499/0.499, allocations: 94.74 MB / 102 MB, free: 10.36 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.001159/0.001159, allocations: 187.1 kB / 125.3 MB, free: 11.99 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.487/1.487, allocations: 170.5 MB / 319 MB, free: 9.406 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.001673/0.001673, allocations: 113.7 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.618e-06, allocations: 224 / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.173, allocations: 61.51 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.72/13.9, allocations: 5.639 GB / 6.137 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/13.9, allocations: 82.55 kB / 6.137 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.013/15.91, allocations: 0.6 GB / 6.737 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002758/15.91, allocations: 82.97 kB / 6.737 GB, free: 41.42 MB / 0.5261 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.009555/15.92, allocations: 3.006 MB / 6.74 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/15.92, allocations: 8.469 kB / 6.74 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/15.92, allocations: 353.7 kB / 6.74 GB, free: 39.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008358/15.93, allocations: 3.028 MB / 6.743 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/15.93, allocations: 63.94 kB / 6.743 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/15.93, allocations: 133.5 kB / 6.744 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004064/15.94, allocations: 2.237 MB / 6.746 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/15.94, allocations: 2.53 MB / 6.748 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.085e-05/15.94, allocations: 7.922 kB / 6.748 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/15.94, allocations: 4.375 kB / 6.748 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/15.94, allocations: 82.33 kB / 6.748 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/15.96, allocations: 10.14 MB / 6.758 GB, free: 27.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/15.96, allocations: 1.2 MB / 6.759 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/15.96, allocations: 1.068 MB / 6.76 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/15.96, allocations: 0.8092 MB / 6.761 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/15.96, allocations: 1.061 MB / 6.762 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=155): time 3.717e-06/15.96, allocations: 0 / 6.762 GB, free: 24.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=190): time 0.01823/15.98, allocations: 6.411 MB / 6.769 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/15.98, allocations: 308.7 kB / 6.769 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/15.98, allocations: 1.746 MB / 6.771 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/15.98, allocations: 29.7 kB / 6.771 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007346/15.98, allocations: 0.8202 MB / 6.771 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/15.99, allocations: 0.6316 MB / 6.772 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/15.99, allocations: 0 / 6.772 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001408/15.99, allocations: 400.8 kB / 6.772 GB, free: 15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/15.99, allocations: 1.014 MB / 6.773 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/15.99, allocations: 1.519 MB / 6.775 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/15.99, allocations: 1.475 MB / 6.776 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/15.99, allocations: 4 kB / 6.776 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.007118/16, allocations: 3.556 MB / 6.78 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/16, allocations: 4.71 MB / 6.784 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/16, allocations: 16 kB / 6.784 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/16, allocations: 0.8079 MB / 6.785 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/16, allocations: 451.3 kB / 6.786 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/16.02, allocations: 12.12 MB / 6.797 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/16.02, allocations: 139.4 kB / 6.798 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007274/16.02, allocations: 108 kB / 6.798 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/16.02, allocations: 4 kB / 6.798 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008468/16.03, allocations: 3.199 MB / 6.801 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.221e-05/16.03, allocations: 24.02 kB / 6.801 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3034/16.33, allocations: 0.819 MB / 6.802 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/16.34, allocations: 438.1 kB / 6.802 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/16.35, allocations: 12.13 MB / 6.814 GB, free: 92.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/16.35, allocations: 117.3 kB / 6.814 GB, free: 92.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/16.35, allocations: 108.7 kB / 6.814 GB, free: 92.71 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.0009653/16.35, allocations: 264.9 kB / 6.814 GB, free: 92.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007387/16.35, allocations: 229.4 kB / 6.815 GB, free: 92.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/16.36, allocations: 2.971 MB / 6.817 GB, free: 92.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/16.36, allocations: 20.56 kB / 6.817 GB, free: 92.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/16.36, allocations: 5.75 kB / 6.817 GB, free: 92.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/16.36, allocations: 11.39 kB / 6.817 GB, free: 92.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/16.37, allocations: 5.573 MB / 6.823 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/16.37, allocations: 2.812 kB / 6.823 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/16.37, allocations: 325 kB / 6.823 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/16.37, allocations: 461.5 kB / 6.824 GB, free: 92 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/16.37, allocations: 46.34 kB / 6.824 GB, free: 92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00816/16.38, allocations: 10.82 MB / 6.834 GB, free: 84.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/16.38, allocations: 3.906 kB / 6.834 GB, free: 84.55 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008234/16.39, allocations: 4.206 MB / 6.838 GB, free: 84.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/16.39, allocations: 0.6129 MB / 6.839 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/16.39, allocations: 20.22 kB / 6.839 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/16.39, allocations: 91.77 kB / 6.839 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/16.39, allocations: 109.5 kB / 6.839 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/16.39, allocations: 76.77 kB / 6.839 GB, free: 83.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001956/16.4, allocations: 1.311 MB / 6.841 GB, free: 83.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007332/16.4, allocations: 1.655 MB / 6.842 GB, free: 83.71 MB / 0.5417 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.003764/16.41, allocations: 1.837 MB / 6.844 GB, free: 83.46 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009069/16.42, allocations: 5.82 MB / 6.85 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/16.42, allocations: 5.531 kB / 6.85 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002614/16.42, allocations: 1.901 MB / 6.852 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/16.42, allocations: 1.18 MB / 6.853 GB, free: 81.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/16.44, allocations: 5.112 MB / 6.858 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002302/16.44, allocations: 2.333 MB / 6.86 GB, free: 79.72 MB / 0.5417 GB Notification: Performance of SimCode: time 7.32e-07/16.44, allocations: 2.969 kB / 6.86 GB, free: 79.72 MB / 0.5417 GB Notification: Performance of Templates: time 0.1277/16.57, allocations: 78.57 MB / 6.937 GB, free: 76.08 MB / 0.5417 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)