Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 289.7 MB / 302.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 180 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008859, allocations: 90.09 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.141e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/6.764, allocations: 2.377 GB / 3.357 GB, free: 221.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/6.764, allocations: 89.94 kB / 3.357 GB, free: 221.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.488/12.25, allocations: 1.327 GB / 4.684 GB, free: 97.81 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.673e-06/12.25, allocations: 2.188 kB / 4.684 GB, free: 97.81 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006413/12.25, allocations: 97.86 kB / 4.684 GB, free: 97.81 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01231/12.27, allocations: 3.382 MB / 4.687 GB, free: 96.69 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/12.27, allocations: 9.812 kB / 4.687 GB, free: 96.69 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007687/12.27, allocations: 1.13 MB / 4.688 GB, free: 96.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/12.29, allocations: 4.761 MB / 4.693 GB, free: 96.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/12.29, allocations: 184.9 kB / 4.693 GB, free: 96.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/12.29, allocations: 253.6 kB / 4.693 GB, free: 96.01 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005953/12.3, allocations: 3.07 MB / 4.696 GB, free: 95.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/12.3, allocations: 7.344 kB / 4.696 GB, free: 95.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/12.3, allocations: 95.81 kB / 4.697 GB, free: 95.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.691e-05/12.3, allocations: 102.1 kB / 4.697 GB, free: 95.58 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/12.3, allocations: 2.509 MB / 4.699 GB, free: 95.55 MB / 0.9636 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.02249/12.33, allocations: 13.26 MB / 4.712 GB, free: 90.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/12.33, allocations: 2.319 MB / 4.714 GB, free: 89.79 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/12.33, allocations: 0.9527 MB / 4.715 GB, free: 89.78 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00948/12.34, allocations: 4.397 MB / 4.72 GB, free: 88.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/12.34, allocations: 0.9713 MB / 4.721 GB, free: 88.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001931/12.34, allocations: 197.9 kB / 4.721 GB, free: 88.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=143): time 5.42e-06/12.34, allocations: 0 / 4.721 GB, free: 88.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=147): time 0.01024/12.35, allocations: 4.439 MB / 4.725 GB, free: 87.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/12.35, allocations: 126.1 kB / 4.725 GB, free: 87.19 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/12.36, allocations: 2.744 MB / 4.728 GB, free: 86.92 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005897/12.36, allocations: 73.62 kB / 4.728 GB, free: 86.89 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/12.36, allocations: 1.507 MB / 4.729 GB, free: 86.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008262/12.36, allocations: 0.5117 MB / 4.73 GB, free: 86.08 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/12.36, allocations: 43.25 kB / 4.73 GB, free: 86.08 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00019/12.36, allocations: 390.1 kB / 4.73 GB, free: 85.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/12.36, allocations: 0.8885 MB / 4.731 GB, free: 85.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/12.37, allocations: 1.527 MB / 4.733 GB, free: 85.04 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/12.37, allocations: 1.163 MB / 4.734 GB, free: 85.01 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/12.37, allocations: 3.281 kB / 4.734 GB, free: 85.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.006655/12.37, allocations: 2.988 MB / 4.737 GB, free: 84.76 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00153/12.38, allocations: 7.16 MB / 4.744 GB, free: 77.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-05/12.38, allocations: 21.02 kB / 4.744 GB, free: 77.35 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/12.38, allocations: 445.2 kB / 4.744 GB, free: 77.33 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/12.38, allocations: 488.1 kB / 4.745 GB, free: 77.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/12.38, allocations: 2.628 MB / 4.747 GB, free: 75.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/12.39, allocations: 234.5 kB / 4.747 GB, free: 75.45 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006994/12.39, allocations: 115.5 kB / 4.748 GB, free: 75.45 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/12.39, allocations: 3.938 kB / 4.748 GB, free: 75.45 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006244/12.4, allocations: 2.68 MB / 4.75 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/12.4, allocations: 19.03 kB / 4.75 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/12.4, allocations: 449.5 kB / 4.751 GB, free: 75.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/12.4, allocations: 477.5 kB / 4.751 GB, free: 75.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/12.4, allocations: 2.642 MB / 4.754 GB, free: 73.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/12.41, allocations: 203.5 kB / 4.754 GB, free: 73.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/12.41, allocations: 103.1 kB / 4.754 GB, free: 73.49 MB / 0.9636 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008695/12.41, allocations: 235.8 kB / 4.754 GB, free: 73.38 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/12.41, allocations: 310.8 kB / 4.754 GB, free: 73.22 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/12.41, allocations: 2.426 MB / 4.757 GB, free: 73.03 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/12.41, allocations: 17.78 kB / 4.757 GB, free: 73.03 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/12.41, allocations: 6.984 kB / 4.757 GB, free: 73.03 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003004/12.42, allocations: 2.079 MB / 4.759 GB, free: 72.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/12.43, allocations: 5.328 MB / 4.764 GB, free: 72.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/12.43, allocations: 8.891 kB / 4.764 GB, free: 72.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/12.43, allocations: 263.6 kB / 4.764 GB, free: 72.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/12.43, allocations: 335.3 kB / 4.765 GB, free: 72 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/12.43, allocations: 51.34 kB / 4.765 GB, free: 72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/12.44, allocations: 8.966 MB / 4.773 GB, free: 64.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/12.44, allocations: 4.344 kB / 4.773 GB, free: 64.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005841/12.44, allocations: 3.492 MB / 4.777 GB, free: 63.81 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/12.45, allocations: 0.6663 MB / 4.778 GB, free: 63.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/12.45, allocations: 39.72 kB / 4.778 GB, free: 63.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/12.45, allocations: 136.7 kB / 4.778 GB, free: 63.54 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/12.45, allocations: 122.2 kB / 4.778 GB, free: 63.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/12.45, allocations: 76.06 kB / 4.778 GB, free: 63.54 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004786/12.46, allocations: 2.089 MB / 4.78 GB, free: 63.38 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/12.46, allocations: 3.062 kB / 4.78 GB, free: 63.38 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01083/12.47, allocations: 1.794 MB / 4.782 GB, free: 63.28 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 134 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004953/12.47, allocations: 2.135 MB / 4.784 GB, free: 62.74 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008917/12.48, allocations: 4.003 MB / 4.788 GB, free: 62.38 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/12.48, allocations: 3.156 kB / 4.788 GB, free: 62.38 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/12.48, allocations: 1.673 MB / 4.789 GB, free: 61.71 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00962/12.49, allocations: 1.681 MB / 4.791 GB, free: 61.69 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/12.51, allocations: 5.477 MB / 4.796 GB, free: 60.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/12.51, allocations: 2.449 MB / 4.799 GB, free: 59.74 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008909/12.52, allocations: 1.83 MB / 4.8 GB, free: 59.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/12.52, allocations: 204.2 kB / 4.801 GB, free: 59.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.292e-06/12.52, allocations: 0 / 4.801 GB, free: 59.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1618/12.68, allocations: 91.37 MB / 4.89 GB, free: 54.72 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)