Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.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.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001095/0.001095, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001399/0.001399, allocations: 63.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2426, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System6): time 1.466/1.708, allocations: 0.5131 GB / 1.298 GB, free: 47.29 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1019/1.81, allocations: 73.59 MB / 1.37 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02197/1.832, allocations: 431.6 kB / 1.37 GB, free: 7.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01728/1.849, allocations: 5.187 MB / 1.375 GB, free: 3.566 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. Notification: Performance of NFTyping.typeBindings: time 0.04708/1.897, allocations: 13.46 MB / 1.388 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.03426/1.931, allocations: 12.03 MB / 1.4 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.04964/1.981, allocations: 32.3 MB / 1.432 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02401/2.005, allocations: 12.3 MB / 1.444 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03776/2.042, allocations: 12.11 MB / 1.455 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02094/2.063, allocations: 9.217 MB / 1.464 GB, free: 8.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.006834/2.07, allocations: 1.219 MB / 1.466 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02459/2.095, allocations: 6.463 MB / 1.472 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.008091/2.103, allocations: 3.399 MB / 1.475 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.02063/2.124, allocations: 6.944 MB / 1.482 GB, free: 6.211 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0452/2.169, allocations: 19.99 MB / 1.502 GB, free: 2.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/2.169, allocations: 4 kB / 1.502 GB, free: 2.156 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/2.169, allocations: 0 / 1.502 GB, free: 2.156 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000805/2.17, allocations: 0 / 1.502 GB, free: 2.156 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: 1912 * Number of variables: 1912 Notification: Performance of Generate backend data structure: time 0.04122/2.211, allocations: 13.61 MB / 1.515 GB, free: 4.418 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/2.211, allocations: 8.031 kB / 1.515 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/2.224, allocations: 2.061 MB / 1.517 GB, free: 2.332 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/2.252, allocations: 10.31 MB / 1.527 GB, free: 7.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007333/2.253, allocations: 0.5809 MB / 1.528 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002921/2.256, allocations: 0.7966 MB / 1.528 GB, free: 6.551 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/2.277, allocations: 8.827 MB / 1.537 GB, free: 13.4 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/2.277, allocations: 19.86 kB / 1.537 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/2.278, allocations: 328 kB / 1.537 GB, free: 13.06 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/2.278, allocations: 298.2 kB / 1.538 GB, free: 12.77 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/2.295, allocations: 7.136 MB / 1.545 GB, free: 5.617 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 removeSimpleEquations (simulation): time 0.8578/3.153, allocations: 41.68 MB / 1.585 GB, free: 427.4 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00953/3.162, allocations: 4.908 MB / 1.59 GB, free: 425 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004738/3.167, allocations: 2.46 MB / 1.592 GB, free: 424 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.02712/3.194, allocations: 10.5 MB / 1.603 GB, free: 418.4 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005163/3.199, allocations: 2.581 MB / 1.605 GB, free: 417.4 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003761/3.203, allocations: 381.8 kB / 1.606 GB, free: 417.4 MB / 1.092 GB Notification: Performance of pre-optimization done (n=424): time 1.672e-05/3.203, allocations: 0 / 1.606 GB, free: 417.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=433): time 0.04082/3.244, allocations: 15.04 MB / 1.62 GB, free: 410.8 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/3.244, allocations: 0.5776 MB / 1.621 GB, free: 410.1 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01643/3.261, allocations: 8.448 MB / 1.629 GB, free: 406.9 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001496/3.262, allocations: 141.5 kB / 1.629 GB, free: 406.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.005067/3.267, allocations: 5.149 MB / 1.634 GB, free: 402.3 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.002327/3.27, allocations: 1.491 MB / 1.636 GB, free: 401.1 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002259/3.272, allocations: 1.21 MB / 1.637 GB, free: 400.4 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/3.272, allocations: 308.9 kB / 1.637 GB, free: 400.1 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004466/3.276, allocations: 2.3 MB / 1.639 GB, free: 398.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005392/3.282, allocations: 4.128 MB / 1.643 GB, free: 395.5 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008846/3.291, allocations: 6.017 MB / 1.649 GB, free: 391.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-05/3.291, allocations: 11.91 kB / 1.649 GB, free: 391.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.022/3.313, allocations: 8.478 MB / 1.658 GB, free: 387.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/3.313, allocations: 25.72 kB / 1.658 GB, free: 387.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.051e-05/3.313, allocations: 49.7 kB / 1.658 GB, free: 387.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009014/3.322, allocations: 1.762 MB / 1.659 GB, free: 386.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005566/3.328, allocations: 1.251 MB / 1.661 GB, free: 386.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009495/3.337, allocations: 8.288 MB / 1.669 GB, free: 378.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008796/3.346, allocations: 398 kB / 1.669 GB, free: 378.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/3.347, allocations: 283.4 kB / 1.669 GB, free: 378.6 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00908/3.356, allocations: 4.105 MB / 1.673 GB, free: 376.4 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005282/3.362, allocations: 3.984 MB / 1.677 GB, free: 373 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008391/3.37, allocations: 5.742 MB / 1.683 GB, free: 369 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.407e-05/3.37, allocations: 14.66 kB / 1.683 GB, free: 369 MB / 1.092 GB Notification: Performance of matching and sorting (n=756) (initialization_lambda0): time 0.01987/3.39, allocations: 8.061 MB / 1.691 GB, free: 361.4 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/3.39, allocations: 20.94 kB / 1.691 GB, free: 361.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.118e-05/3.39, allocations: 47.98 kB / 1.691 GB, free: 361.4 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007962/3.398, allocations: 1.57 MB / 1.692 GB, free: 359.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004934/3.403, allocations: 1.217 MB / 1.694 GB, free: 358.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/3.415, allocations: 10.48 MB / 1.704 GB, free: 347.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/3.423, allocations: 431.8 kB / 1.704 GB, free: 347.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/3.424, allocations: 271.9 kB / 1.704 GB, free: 346.8 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 182 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conPIDRad.con1.y,conPIDBoi.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 675 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(4,7), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001655/3.426, allocations: 0.5543 MB / 1.705 GB, free: 346.3 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003381/3.429, allocations: 0.9245 MB / 1.706 GB, free: 345.3 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/3.441, allocations: 6.172 MB / 1.712 GB, free: 339.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007348/3.448, allocations: 4.625 MB / 1.716 GB, free: 334.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/3.448, allocations: 0 / 1.716 GB, free: 334.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004702/3.453, allocations: 1.563 MB / 1.718 GB, free: 332.9 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002325/3.455, allocations: 104.5 kB / 1.718 GB, free: 332.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00563/3.461, allocations: 293.2 kB / 1.718 GB, free: 332.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005875/3.461, allocations: 351.2 kB / 1.719 GB, free: 332.2 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0113/3.473, allocations: 5.766 MB / 1.724 GB, free: 326.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01209/3.485, allocations: 7.965 MB / 1.732 GB, free: 318.5 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002849/3.488, allocations: 2.181 MB / 1.734 GB, free: 316.3 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00932/3.497, allocations: 5.588 MB / 1.74 GB, free: 310.7 MB / 1.092 GB Notification: Performance of Backend: time 7.92e-07/3.497, allocations: 0 / 1.74 GB, free: 310.7 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.03153/3.529, allocations: 11.56 MB / 1.751 GB, free: 299.9 MB / 1.092 GB Notification: Performance of SimCode: time 0.04815/3.577, allocations: 22.53 MB / 1.773 GB, free: 277.6 MB / 1.092 GB Notification: Performance of Templates: time 0.2633/3.84, allocations: 205.1 MB / 1.973 GB, free: 74.51 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1)