Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.898/3.898, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002336/0.002335, allocations: 181.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.144/4.144, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001496/0.001495, allocations: 97.05 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007787/0.0007793, allocations: 10.38 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3558, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.36/12.72, allocations: 2.493 GB / 3.392 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004946/12.72, allocations: 98.67 kB / 3.392 GB, free: 25.29 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.03/23.75, allocations: 1.291 GB / 4.684 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.908e-06/23.75, allocations: 0 / 4.684 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001142/23.75, allocations: 94.55 kB / 4.684 GB, free: 113.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.02924/23.78, allocations: 4.179 MB / 4.688 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.965e-05/23.78, allocations: 8.031 kB / 4.688 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01808/23.8, allocations: 1.132 MB / 4.689 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02898/23.83, allocations: 4.523 MB / 4.693 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005233/23.83, allocations: 187.1 kB / 4.693 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/23.83, allocations: 259.8 kB / 4.694 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/23.85, allocations: 3.104 MB / 4.697 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/23.85, allocations: 0 / 4.697 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/23.85, allocations: 99.94 kB / 4.697 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/23.85, allocations: 100.4 kB / 4.697 GB, free: 99.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/23.87, allocations: 2.566 MB / 4.699 GB, free: 97.38 MB / 0.8855 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.05434/23.92, allocations: 13.03 MB / 4.712 GB, free: 83.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008886/23.93, allocations: 2.312 MB / 4.714 GB, free: 81.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/23.94, allocations: 0.9751 MB / 4.715 GB, free: 80.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02443/23.96, allocations: 4.22 MB / 4.719 GB, free: 75.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004929/23.97, allocations: 0.9696 MB / 4.72 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003596/23.97, allocations: 194.3 kB / 4.721 GB, free: 74.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=143): time 1.19e-05/23.97, allocations: 3.938 kB / 4.721 GB, free: 74.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=147): time 0.03641/24.01, allocations: 5.973 MB / 4.726 GB, free: 68.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/24.01, allocations: 120.1 kB / 4.727 GB, free: 68.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/24.02, allocations: 2.909 MB / 4.729 GB, free: 65.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/24.02, allocations: 65.7 kB / 4.729 GB, free: 65.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003803/24.02, allocations: 1.514 MB / 4.731 GB, free: 63.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/24.03, allocations: 0.5083 MB / 4.731 GB, free: 63.31 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006232/24.03, allocations: 47.98 kB / 4.731 GB, free: 63.26 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000355/24.03, allocations: 386.5 kB / 4.732 GB, free: 62.88 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005351/24.03, allocations: 0.9216 MB / 4.733 GB, free: 61.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/24.04, allocations: 1.565 MB / 4.734 GB, free: 60.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006/24.04, allocations: 1.176 MB / 4.735 GB, free: 58.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-05/24.04, allocations: 4 kB / 4.735 GB, free: 58.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01919/24.06, allocations: 3.052 MB / 4.738 GB, free: 55.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006154/24.06, allocations: 0.5975 MB / 4.739 GB, free: 55.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.648e-05/24.06, allocations: 16 kB / 4.739 GB, free: 55.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00624/24.07, allocations: 447 kB / 4.739 GB, free: 54.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/24.08, allocations: 471.2 kB / 4.74 GB, free: 54.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/24.09, allocations: 2.71 MB / 4.743 GB, free: 51.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008848/24.1, allocations: 222.5 kB / 4.743 GB, free: 51.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/24.1, allocations: 119.9 kB / 4.743 GB, free: 50.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/24.1, allocations: 4 kB / 4.743 GB, free: 50.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01559/24.11, allocations: 2.735 MB / 4.746 GB, free: 48.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.65e-05/24.11, allocations: 20 kB / 4.746 GB, free: 48.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006097/24.12, allocations: 469.5 kB / 4.746 GB, free: 47.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006001/24.12, allocations: 451.3 kB / 4.746 GB, free: 47.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008684/24.13, allocations: 2.718 MB / 4.749 GB, free: 44.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007561/24.14, allocations: 199.5 kB / 4.749 GB, free: 44.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/24.14, allocations: 108 kB / 4.749 GB, free: 44.05 MB / 0.8855 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.00543/24.15, allocations: 1.092 MB / 4.75 GB, free: 42.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001936/24.15, allocations: 304.2 kB / 4.751 GB, free: 42.65 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/24.16, allocations: 2.807 MB / 4.753 GB, free: 39.72 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-05/24.16, allocations: 19.98 kB / 4.754 GB, free: 39.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/24.16, allocations: 4 kB / 4.754 GB, free: 39.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009773/24.17, allocations: 2.461 MB / 4.756 GB, free: 37.07 MB / 0.8855 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.02608/24.2, allocations: 5.583 MB / 4.761 GB, free: 31.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/24.2, allocations: 7.938 kB / 4.761 GB, free: 31.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004706/24.21, allocations: 295.6 kB / 4.762 GB, free: 30.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/24.21, allocations: 209.1 kB / 4.762 GB, free: 30.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000649/24.21, allocations: 47.97 kB / 4.762 GB, free: 30.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/24.22, allocations: 8.269 MB / 4.77 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/24.22, allocations: 4.031 kB / 4.77 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/24.23, allocations: 3.761 MB / 4.774 GB, free: 17.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00412/24.24, allocations: 0.6142 MB / 4.774 GB, free: 17.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001988/24.24, allocations: 39.98 kB / 4.774 GB, free: 17.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006486/24.25, allocations: 135.6 kB / 4.774 GB, free: 16.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008936/24.25, allocations: 117.1 kB / 4.775 GB, free: 16.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005537/24.25, allocations: 67.95 kB / 4.775 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008728/24.26, allocations: 1.951 MB / 4.777 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.643e-06/24.26, allocations: 4 kB / 4.777 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0166/24.27, allocations: 1.722 MB / 4.778 GB, free: 13.09 MB / 0.8855 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.009669/24.28, allocations: 2.15 MB / 4.78 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02385/24.31, allocations: 4.005 MB / 4.784 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/24.31, allocations: 448 / 4.784 GB, free: 7.051 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005949/24.31, allocations: 1.638 MB / 4.786 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02368/24.34, allocations: 1.696 MB / 4.787 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/24.37, allocations: 7.806 MB / 4.795 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007717/24.38, allocations: 2.377 MB / 4.797 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01364/24.39, allocations: 1.165 MB / 4.799 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/24.4, allocations: 247.3 kB / 4.799 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of SimCode: time 2.404e-06/24.4, allocations: 4 kB / 4.799 GB, free: 7.992 MB / 0.9011 GB Notification: Performance of Templates: time 1.394/25.79, allocations: 80.65 MB / 4.878 GB, free: 140.5 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)