Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System5") translateModel(Buildings.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 111.9 kB / 16.38 MB, free: 5.539 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.0009678/0.0009678, allocations: 191.6 kB / 17.31 MB, free: 5.188 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.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.00155/0.00155, allocations: 64.47 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2401, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System5): time 1.53/1.77, allocations: 0.5106 GB / 1.295 GB, free: 47.53 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1078/1.878, allocations: 69.34 MB / 1.363 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02103/1.899, allocations: 412.6 kB / 1.364 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01677/1.916, allocations: 5.03 MB / 1.368 GB, free: 9.699 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.0429/1.959, allocations: 13.1 MB / 1.381 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.034/1.993, allocations: 11.3 MB / 1.392 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.05107/2.044, allocations: 31.2 MB / 1.423 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/2.07, allocations: 11.33 MB / 1.434 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03409/2.104, allocations: 11.7 MB / 1.445 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02127/2.125, allocations: 8.811 MB / 1.454 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.007273/2.133, allocations: 1.117 MB / 1.455 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02668/2.159, allocations: 6.096 MB / 1.461 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007966/2.167, allocations: 3.15 MB / 1.464 GB, free: 8.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01995/2.187, allocations: 6.47 MB / 1.47 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.04363/2.231, allocations: 18.64 MB / 1.488 GB, free: 15.49 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/2.231, allocations: 4 kB / 1.488 GB, free: 15.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.599e-06/2.231, allocations: 4 kB / 1.488 GB, free: 15.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0008249/2.232, allocations: 3.938 kB / 1.488 GB, free: 15.48 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.04446/2.276, allocations: 12.64 MB / 1.501 GB, free: 2.715 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/2.277, allocations: 8.031 kB / 1.501 GB, free: 2.707 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/2.289, allocations: 1.894 MB / 1.503 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02797/2.317, allocations: 9.751 MB / 1.512 GB, free: 6.949 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007399/2.318, allocations: 0.5248 MB / 1.513 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/2.321, allocations: 0.7185 MB / 1.513 GB, free: 5.703 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/2.346, allocations: 8.051 MB / 1.521 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005515/2.346, allocations: 19.84 kB / 1.521 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003262/2.349, allocations: 291.9 kB / 1.522 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000375/2.35, allocations: 264.8 kB / 1.522 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/2.369, allocations: 6.116 MB / 1.528 GB, free: 6.645 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.9336/3.302, allocations: 39.29 MB / 1.566 GB, free: 437.3 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00715/3.309, allocations: 4.279 MB / 1.57 GB, free: 435.8 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/3.313, allocations: 2.21 MB / 1.573 GB, free: 434.9 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.02477/3.338, allocations: 9.717 MB / 1.582 GB, free: 429.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004473/3.343, allocations: 2.22 MB / 1.584 GB, free: 428.8 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003331/3.346, allocations: 338.8 kB / 1.584 GB, free: 428.7 MB / 1.092 GB Notification: Performance of pre-optimization done (n=355): time 1.303e-05/3.346, allocations: 0 / 1.584 GB, free: 428.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=364): time 0.03693/3.383, allocations: 13.38 MB / 1.598 GB, free: 423.4 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/3.383, allocations: 453.7 kB / 1.598 GB, free: 422.9 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01711/3.4, allocations: 7.989 MB / 1.606 GB, free: 420.2 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/3.402, allocations: 128 kB / 1.606 GB, free: 420.1 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.004491/3.406, allocations: 4.828 MB / 1.611 GB, free: 416.5 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/3.408, allocations: 1.275 MB / 1.612 GB, free: 415.5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/3.41, allocations: 1.081 MB / 1.613 GB, free: 415 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/3.41, allocations: 301.1 kB / 1.613 GB, free: 414.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00411/3.414, allocations: 2.078 MB / 1.615 GB, free: 413.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005209/3.419, allocations: 3.819 MB / 1.619 GB, free: 411.1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008872/3.428, allocations: 5.49 MB / 1.624 GB, free: 407.8 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.395e-05/3.428, allocations: 11.34 kB / 1.624 GB, free: 407.8 MB / 1.092 GB Notification: Performance of matching and sorting (n=674) (initialization): time 0.02125/3.45, allocations: 7.769 MB / 1.632 GB, free: 405.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/3.45, allocations: 20.81 kB / 1.632 GB, free: 405.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-05/3.45, allocations: 53.86 kB / 1.632 GB, free: 405.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008426/3.458, allocations: 1.69 MB / 1.634 GB, free: 405.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/3.463, allocations: 1.123 MB / 1.635 GB, free: 404.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/3.471, allocations: 6.654 MB / 1.641 GB, free: 399.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008233/3.479, allocations: 349.6 kB / 1.642 GB, free: 398.9 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/3.48, allocations: 253.2 kB / 1.642 GB, free: 398.9 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007653/3.488, allocations: 3.767 MB / 1.646 GB, free: 396.8 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004497/3.492, allocations: 3.682 MB / 1.649 GB, free: 393.6 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007024/3.499, allocations: 5.219 MB / 1.654 GB, free: 390 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-05/3.5, allocations: 17.14 kB / 1.654 GB, free: 390 MB / 1.092 GB Notification: Performance of matching and sorting (n=674) (initialization_lambda0): time 0.01879/3.518, allocations: 7.349 MB / 1.661 GB, free: 386.4 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/3.518, allocations: 24.78 kB / 1.661 GB, free: 386.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/3.518, allocations: 44.77 kB / 1.661 GB, free: 386.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007833/3.526, allocations: 1.495 MB / 1.663 GB, free: 385.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/3.531, allocations: 1.071 MB / 1.664 GB, free: 385.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/3.541, allocations: 8.913 MB / 1.673 GB, free: 378.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007781/3.549, allocations: 384 kB / 1.673 GB, free: 377.9 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009125/3.55, allocations: 240.1 kB / 1.673 GB, free: 377.8 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conPIDRad.con1.y,conPIDBoi.con1.y,hysPum.y,$PRE.hysPum.y,and2.y,and1.y,hysTBoi.y,$PRE.hysTBoi.y,hysTOut.y,$PRE.hysTOut.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 (611): * Single equations (assignments): 596 * 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.001708/3.551, allocations: 0.5154 MB / 1.674 GB, free: 377.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002895/3.554, allocations: 0.8546 MB / 1.675 GB, free: 376.9 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009297/3.564, allocations: 5.326 MB / 1.68 GB, free: 372.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005838/3.569, allocations: 3.973 MB / 1.684 GB, free: 368.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/3.569, allocations: 0 / 1.684 GB, free: 368.6 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/3.573, allocations: 1.426 MB / 1.685 GB, free: 367.2 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001911/3.575, allocations: 88.44 kB / 1.685 GB, free: 367.1 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004769/3.58, allocations: 233.6 kB / 1.685 GB, free: 366.8 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/3.581, allocations: 290.7 kB / 1.686 GB, free: 366.6 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009691/3.59, allocations: 5.035 MB / 1.691 GB, free: 361.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01082/3.601, allocations: 6.944 MB / 1.697 GB, free: 354.6 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002487/3.604, allocations: 1.891 MB / 1.699 GB, free: 352.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00876/3.612, allocations: 5.281 MB / 1.704 GB, free: 347.4 MB / 1.092 GB Notification: Performance of Backend: time 1.173e-06/3.612, allocations: 0 / 1.704 GB, free: 347.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02573/3.638, allocations: 10.06 MB / 1.714 GB, free: 337.8 MB / 1.092 GB Notification: Performance of SimCode: time 0.04505/3.683, allocations: 21.06 MB / 1.735 GB, free: 317.1 MB / 1.092 GB Notification: Performance of Templates: time 0.2447/3.928, allocations: 190.2 MB / 1.92 GB, free: 128.9 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1)