Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System3") translateModel(Buildings.Examples.Tutorial.Boiler.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 107.5 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2124, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System3): time 1.424/1.637, allocations: 0.5092 GB / 1.294 GB, free: 47.67 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.08302/1.72, allocations: 68.88 MB / 1.361 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02327/1.743, allocations: 397.7 kB / 1.362 GB, free: 13.62 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01498/1.758, allocations: 4.951 MB / 1.367 GB, free: 10.52 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.04145/1.8, allocations: 13.02 MB / 1.379 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.03127/1.831, allocations: 11.12 MB / 1.39 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.04845/1.88, allocations: 30.64 MB / 1.42 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01878/1.898, allocations: 10.9 MB / 1.431 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03215/1.931, allocations: 11.52 MB / 1.442 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01866/1.949, allocations: 8.573 MB / 1.45 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005446/1.955, allocations: 1.062 MB / 1.451 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/1.977, allocations: 6.041 MB / 1.457 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007774/1.984, allocations: 3.013 MB / 1.46 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01764/2.002, allocations: 6.229 MB / 1.466 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03681/2.039, allocations: 17.97 MB / 1.484 GB, free: 4.238 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/2.039, allocations: 0 / 1.484 GB, free: 4.238 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/2.039, allocations: 4 kB / 1.484 GB, free: 4.234 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0007017/2.04, allocations: 0 / 1.484 GB, free: 4.234 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1605 * Number of variables: 1605 Notification: Performance of Generate backend data structure: time 0.03618/2.076, allocations: 12.1 MB / 1.496 GB, free: 8.004 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/2.076, allocations: 16.03 kB / 1.496 GB, free: 7.988 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/2.087, allocations: 1.829 MB / 1.497 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02466/2.112, allocations: 9.528 MB / 1.507 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005684/2.113, allocations: 0.4888 MB / 1.507 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/2.115, allocations: 0.6756 MB / 1.508 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/2.136, allocations: 7.611 MB / 1.515 GB, free: 3.426 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/2.136, allocations: 23.78 kB / 1.515 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001786/2.138, allocations: 268 kB / 1.516 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002854/2.139, allocations: 259.9 kB / 1.516 GB, free: 2.887 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/2.154, allocations: 5.777 MB / 1.521 GB, free: 13.1 MB / 1.076 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.9184/3.073, allocations: 37.98 MB / 1.559 GB, free: 441.4 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/3.079, allocations: 3.86 MB / 1.562 GB, free: 440.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003456/3.082, allocations: 2.04 MB / 1.564 GB, free: 440.7 MB / 1.092 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 evalFunc (simulation): time 0.02545/3.108, allocations: 9.357 MB / 1.573 GB, free: 436.2 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004544/3.112, allocations: 2.055 MB / 1.575 GB, free: 435.4 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004907/3.117, allocations: 314.2 kB / 1.576 GB, free: 435.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=322): time 2.514e-05/3.117, allocations: 1.188 kB / 1.576 GB, free: 435.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=331): time 0.03843/3.156, allocations: 12.6 MB / 1.588 GB, free: 430.5 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/3.156, allocations: 371.6 kB / 1.588 GB, free: 430 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02617/3.182, allocations: 7.727 MB / 1.596 GB, free: 427.4 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001929/3.184, allocations: 120.2 kB / 1.596 GB, free: 427.3 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00992/3.194, allocations: 4.583 MB / 1.601 GB, free: 423.9 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.003274/3.197, allocations: 1.168 MB / 1.602 GB, free: 423 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006181/3.204, allocations: 1.015 MB / 1.603 GB, free: 422.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/3.204, allocations: 303 kB / 1.603 GB, free: 422.2 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006165/3.21, allocations: 1.966 MB / 1.605 GB, free: 421.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/3.217, allocations: 3.604 MB / 1.608 GB, free: 418.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/3.23, allocations: 5.217 MB / 1.614 GB, free: 415.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/3.23, allocations: 11.62 kB / 1.614 GB, free: 415.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=630) (initialization): time 0.0282/3.258, allocations: 7.437 MB / 1.621 GB, free: 413.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.39e-05/3.258, allocations: 21.84 kB / 1.621 GB, free: 413.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/3.258, allocations: 44.75 kB / 1.621 GB, free: 413.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009571/3.268, allocations: 1.681 MB / 1.622 GB, free: 413 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005517/3.273, allocations: 1.048 MB / 1.624 GB, free: 413 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/3.282, allocations: 6.659 MB / 1.63 GB, free: 407.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009833/3.292, allocations: 309.6 kB / 1.63 GB, free: 407.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/3.294, allocations: 237.8 kB / 1.631 GB, free: 407.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01002/3.304, allocations: 3.643 MB / 1.634 GB, free: 405.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005735/3.309, allocations: 3.503 MB / 1.638 GB, free: 403.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00841/3.318, allocations: 5.009 MB / 1.642 GB, free: 400 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-05/3.318, allocations: 11.88 kB / 1.642 GB, free: 400 MB / 1.092 GB Notification: Performance of matching and sorting (n=630) (initialization_lambda0): time 0.02071/3.339, allocations: 7.063 MB / 1.649 GB, free: 396.6 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/3.339, allocations: 24.91 kB / 1.649 GB, free: 396.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/3.339, allocations: 46.17 kB / 1.649 GB, free: 396.6 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008003/3.347, allocations: 1.484 MB / 1.651 GB, free: 396 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00455/3.351, allocations: 1.018 MB / 1.652 GB, free: 395.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/3.363, allocations: 8.881 MB / 1.661 GB, free: 388.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00975/3.372, allocations: 341.5 kB / 1.661 GB, free: 388.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/3.374, allocations: 223.9 kB / 1.661 GB, free: 388.1 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (567): * Single equations (assignments): 552 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,7), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002444/3.376, allocations: 0.491 MB / 1.662 GB, free: 387.6 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003992/3.38, allocations: 0.8212 MB / 1.662 GB, free: 387.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/3.392, allocations: 5.034 MB / 1.667 GB, free: 384.4 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006861/3.399, allocations: 3.743 MB / 1.671 GB, free: 382.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/3.399, allocations: 0 / 1.671 GB, free: 382.4 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005062/3.404, allocations: 1.365 MB / 1.672 GB, free: 381.1 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003084/3.407, allocations: 87.92 kB / 1.672 GB, free: 381 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005931/3.413, allocations: 209.7 kB / 1.673 GB, free: 380.8 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/3.414, allocations: 262.5 kB / 1.673 GB, free: 380.5 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01045/3.424, allocations: 4.747 MB / 1.677 GB, free: 375.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01097/3.435, allocations: 6.502 MB / 1.684 GB, free: 369.2 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002329/3.438, allocations: 1.745 MB / 1.685 GB, free: 367.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01016/3.448, allocations: 5.124 MB / 1.69 GB, free: 362.4 MB / 1.092 GB Notification: Performance of Backend: time 1.352e-06/3.448, allocations: 0 / 1.69 GB, free: 362.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.03044/3.478, allocations: 9.714 MB / 1.7 GB, free: 353.1 MB / 1.092 GB Notification: Performance of SimCode: time 0.04708/3.526, allocations: 20.35 MB / 1.72 GB, free: 333.1 MB / 1.092 GB Notification: Performance of Templates: time 0.2546/3.78, allocations: 185.7 MB / 1.901 GB, free: 149.4 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System3.pipe 2>&1)