Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 285.4 MB / 298 MB, free: 6.02 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.001096/0.001095, allocations: 180.8 kB / 366.4 MB, free: 2.102 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.69/1.69, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0009805/0.0009805, allocations: 91.52 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.92e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7257, allocations: 115.3 MB / 0.9709 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.696/6.422, allocations: 2.376 GB / 3.347 GB, free: 121.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/6.422, allocations: 85.08 kB / 3.347 GB, free: 121.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.223/11.64, allocations: 1.327 GB / 4.674 GB, free: 129.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/11.64, allocations: 0 / 4.674 GB, free: 129.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005861/11.65, allocations: 98.48 kB / 4.674 GB, free: 129.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.01145/11.66, allocations: 3.379 MB / 4.677 GB, free: 128.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/11.66, allocations: 7.406 kB / 4.677 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007509/11.66, allocations: 1.136 MB / 4.679 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/11.68, allocations: 4.752 MB / 4.683 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/11.68, allocations: 185.7 kB / 4.683 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008786/11.68, allocations: 262.5 kB / 4.684 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/11.68, allocations: 3.057 MB / 4.687 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/11.68, allocations: 9.531 kB / 4.687 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/11.68, allocations: 102.1 kB / 4.687 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-05/11.69, allocations: 98.14 kB / 4.687 GB, free: 127.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/11.69, allocations: 2.515 MB / 4.689 GB, free: 127.1 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.0223/11.71, allocations: 13.26 MB / 4.702 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/11.71, allocations: 2.319 MB / 4.704 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/11.72, allocations: 0.9598 MB / 4.705 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009791/11.73, allocations: 4.396 MB / 4.71 GB, free: 119.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/11.73, allocations: 0.9677 MB / 4.711 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002128/11.73, allocations: 200.5 kB / 4.711 GB, free: 119.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 6.873e-06/11.73, allocations: 0 / 4.711 GB, free: 119.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.0106/11.74, allocations: 4.437 MB / 4.715 GB, free: 118.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/11.74, allocations: 125.1 kB / 4.715 GB, free: 118.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007129/11.75, allocations: 2.749 MB / 4.718 GB, free: 118.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007148/11.75, allocations: 66.33 kB / 4.718 GB, free: 118.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/11.75, allocations: 1.511 MB / 4.72 GB, free: 117.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/11.75, allocations: 0.5155 MB / 4.72 GB, free: 117.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/11.75, allocations: 46.28 kB / 4.72 GB, free: 117.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000284/11.75, allocations: 388.9 kB / 4.72 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/11.75, allocations: 0.8888 MB / 4.721 GB, free: 117.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/11.76, allocations: 1.532 MB / 4.723 GB, free: 116.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/11.76, allocations: 1.156 MB / 4.724 GB, free: 116.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.619e-05/11.76, allocations: 6.219 kB / 4.724 GB, free: 116.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.009077/11.77, allocations: 2.981 MB / 4.727 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001953/11.77, allocations: 7.17 MB / 4.734 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.701e-05/11.77, allocations: 22.45 kB / 4.734 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/11.77, allocations: 430.1 kB / 4.734 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002278/11.78, allocations: 491.5 kB / 4.735 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/11.78, allocations: 2.633 MB / 4.737 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/11.78, allocations: 220.4 kB / 4.738 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/11.78, allocations: 110.2 kB / 4.738 GB, free: 106.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/11.78, allocations: 3.719 kB / 4.738 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006265/11.79, allocations: 2.683 MB / 4.74 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-05/11.79, allocations: 18.28 kB / 4.74 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/11.79, allocations: 465.6 kB / 4.741 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/11.79, allocations: 478.3 kB / 4.741 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/11.8, allocations: 2.632 MB / 4.744 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/11.8, allocations: 201.7 kB / 4.744 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/11.8, allocations: 105.1 kB / 4.744 GB, free: 104.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.0009444/11.8, allocations: 251.3 kB / 4.744 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/11.8, allocations: 310.7 kB / 4.745 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00525/11.81, allocations: 2.428 MB / 4.747 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/11.81, allocations: 16.06 kB / 4.747 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/11.81, allocations: 3.344 kB / 4.747 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003047/11.81, allocations: 2.073 MB / 4.749 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/11.82, allocations: 5.336 MB / 4.754 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/11.82, allocations: 0 / 4.754 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/11.83, allocations: 276.4 kB / 4.754 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/11.83, allocations: 320.1 kB / 4.755 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/11.83, allocations: 57.64 kB / 4.755 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005892/11.83, allocations: 8.978 MB / 4.764 GB, free: 95.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/11.83, allocations: 3.938 kB / 4.764 GB, free: 95.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006519/11.84, allocations: 3.493 MB / 4.767 GB, free: 94.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/11.84, allocations: 0.664 MB / 4.768 GB, free: 94.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/11.84, allocations: 43.06 kB / 4.768 GB, free: 94.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/11.85, allocations: 137.1 kB / 4.768 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/11.85, allocations: 117.9 kB / 4.768 GB, free: 94.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003012/11.85, allocations: 80.08 kB / 4.768 GB, free: 94.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005737/11.85, allocations: 2.084 MB / 4.77 GB, free: 93.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.01e-07/11.85, allocations: 4 kB / 4.77 GB, free: 93.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01158/11.86, allocations: 1.793 MB / 4.772 GB, free: 93.25 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.004847/11.87, allocations: 2.125 MB / 4.774 GB, free: 92.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009327/11.88, allocations: 4.003 MB / 4.778 GB, free: 90.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/11.88, allocations: 0.5625 kB / 4.778 GB, free: 90.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/11.88, allocations: 1.683 MB / 4.779 GB, free: 89.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009346/11.89, allocations: 1.687 MB / 4.781 GB, free: 89.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/11.9, allocations: 5.466 MB / 4.786 GB, free: 87.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003046/11.91, allocations: 2.465 MB / 4.789 GB, free: 86.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007668/11.91, allocations: 1.809 MB / 4.791 GB, free: 85.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008464/11.91, allocations: 209.4 kB / 4.791 GB, free: 85.93 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/11.91, allocations: 0 / 4.791 GB, free: 85.93 MB / 0.948 GB Notification: Performance of Templates: time 0.1299/12.04, allocations: 91.38 MB / 4.88 GB, free: 32.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)