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.575/1.575, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001229/0.001229, allocations: 168.9 kB / 366.7 MB, free: 1.652 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.529/1.529, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0009161/0.0009162, allocations: 86.86 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.966e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6658, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.319/5.985, allocations: 2.376 GB / 3.35 GB, free: 62.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/5.985, allocations: 84.27 kB / 3.35 GB, free: 62.53 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.692/10.68, allocations: 1.319 GB / 4.669 GB, free: 149.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.274e-06/10.68, allocations: 0 / 4.669 GB, free: 149.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004451/10.68, allocations: 99.5 kB / 4.669 GB, free: 149.7 MB / 0.948 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.009305/10.69, allocations: 3.381 MB / 4.672 GB, free: 148.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/10.69, allocations: 6.938 kB / 4.673 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/10.69, allocations: 1.139 MB / 4.674 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/10.71, allocations: 4.748 MB / 4.678 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/10.71, allocations: 72.91 kB / 4.678 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/10.71, allocations: 153.2 kB / 4.678 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004125/10.71, allocations: 2.394 MB / 4.681 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/10.71, allocations: 2.734 MB / 4.683 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/10.71, allocations: 7.938 kB / 4.683 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/10.71, allocations: 10.91 kB / 4.683 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.55e-05/10.71, allocations: 97.77 kB / 4.684 GB, free: 146.7 MB / 0.948 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.01813/10.73, allocations: 12.85 MB / 4.696 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/10.74, allocations: 2.017 MB / 4.698 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/10.74, allocations: 1.061 MB / 4.699 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008239/10.75, allocations: 4.299 MB / 4.703 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/10.75, allocations: 0.9488 MB / 4.704 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001426/10.75, allocations: 146.9 kB / 4.704 GB, free: 139.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 4.689e-06/10.75, allocations: 0 / 4.704 GB, free: 139.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.01122/10.76, allocations: 4.725 MB / 4.709 GB, free: 137.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/10.76, allocations: 119 kB / 4.709 GB, free: 137.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/10.76, allocations: 2.394 MB / 4.711 GB, free: 136.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002749/10.76, allocations: 32.92 kB / 4.711 GB, free: 136.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/10.76, allocations: 1.498 MB / 4.713 GB, free: 135.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000488/10.76, allocations: 0.5015 MB / 4.713 GB, free: 135.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/10.76, allocations: 0 / 4.713 GB, free: 135.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001249/10.77, allocations: 391.1 kB / 4.714 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/10.77, allocations: 0.9202 MB / 4.715 GB, free: 134.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/10.77, allocations: 1.54 MB / 4.716 GB, free: 133.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/10.77, allocations: 1.28 MB / 4.717 GB, free: 132.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/10.77, allocations: 3.344 kB / 4.717 GB, free: 132.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005813/10.78, allocations: 3 MB / 4.72 GB, free: 131.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001391/10.78, allocations: 7.085 MB / 4.727 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/10.78, allocations: 21.33 kB / 4.727 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/10.78, allocations: 400.9 kB / 4.728 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/10.78, allocations: 496.2 kB / 4.728 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/10.78, allocations: 2.63 MB / 4.731 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/10.79, allocations: 180.2 kB / 4.731 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/10.79, allocations: 113.4 kB / 4.731 GB, free: 121.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/10.79, allocations: 3.688 kB / 4.731 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004804/10.79, allocations: 2.55 MB / 4.734 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/10.79, allocations: 20.69 kB / 4.734 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/10.79, allocations: 431.9 kB / 4.734 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/10.8, allocations: 478.6 kB / 4.734 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/10.8, allocations: 2.632 MB / 4.737 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002924/10.8, allocations: 152.1 kB / 4.737 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/10.8, allocations: 101.9 kB / 4.737 GB, free: 118.6 MB / 0.948 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.0006358/10.8, allocations: 169 kB / 4.737 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006211/10.8, allocations: 290.6 kB / 4.738 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/10.81, allocations: 2.364 MB / 4.74 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/10.81, allocations: 22.98 kB / 4.74 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/10.81, allocations: 3.781 kB / 4.74 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002918/10.81, allocations: 2.06 MB / 4.742 GB, free: 116.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/10.82, allocations: 5.02 MB / 4.747 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/10.82, allocations: 7.891 kB / 4.747 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/10.82, allocations: 272.6 kB / 4.747 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009418/10.82, allocations: 321.6 kB / 4.748 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/10.82, allocations: 33.84 kB / 4.748 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/10.83, allocations: 8.723 MB / 4.756 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/10.83, allocations: 0 / 4.756 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005499/10.83, allocations: 3.462 MB / 4.759 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/10.83, allocations: 0.6481 MB / 4.76 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/10.83, allocations: 12 kB / 4.76 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/10.84, allocations: 108.7 kB / 4.76 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/10.84, allocations: 119.5 kB / 4.76 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/10.84, allocations: 76.58 kB / 4.76 GB, free: 103 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002556/10.84, allocations: 1.779 MB / 4.762 GB, free: 101.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/10.84, allocations: 0 / 4.762 GB, free: 101.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006949/10.85, allocations: 1.692 MB / 4.764 GB, free: 99.75 MB / 0.948 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.004414/10.85, allocations: 2.148 MB / 4.766 GB, free: 98.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007402/10.86, allocations: 3.908 MB / 4.77 GB, free: 94.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/10.86, allocations: 0.5625 kB / 4.77 GB, free: 94.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/10.86, allocations: 1.622 MB / 4.771 GB, free: 92.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008132/10.87, allocations: 1.455 MB / 4.773 GB, free: 91.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/10.88, allocations: 5.342 MB / 4.778 GB, free: 87.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/10.88, allocations: 2.454 MB / 4.78 GB, free: 85.19 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005581/10.88, allocations: 1.685 MB / 4.782 GB, free: 84.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/10.89, allocations: 192.1 kB / 4.782 GB, free: 83.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/10.89, allocations: 0 / 4.782 GB, free: 83.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1034/10.99, allocations: 71.47 MB / 4.852 GB, free: 15.21 MB / 0.948 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)