Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.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.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.881/1.881, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.00104/0.00104, allocations: 176.5 kB / 372.9 MB, free: 10.14 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.712/1.712, allocations: 205.4 MB / 0.6316 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008967/0.0008965, allocations: 94.23 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 15.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.928/2.177, allocations: 483.9 MB / 1.453 GB, free: 49.05 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.1257/2.302, allocations: 69.82 MB / 1.521 GB, free: 47.82 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02661/2.329, allocations: 383.8 kB / 1.522 GB, free: 47.82 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01826/2.347, allocations: 3.721 MB / 1.525 GB, free: 47.76 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.04967/2.397, allocations: 11.31 MB / 1.537 GB, free: 47.21 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.03759/2.435, allocations: 9.137 MB / 1.545 GB, free: 46.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.06569/2.5, allocations: 36.15 MB / 1.581 GB, free: 37.29 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02652/2.527, allocations: 10.25 MB / 1.591 GB, free: 33.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02923/2.556, allocations: 9.72 MB / 1.6 GB, free: 29.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0212/2.577, allocations: 8.341 MB / 1.608 GB, free: 26.59 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006259/2.584, allocations: 446.6 kB / 1.609 GB, free: 26.59 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02497/2.609, allocations: 5.358 MB / 1.614 GB, free: 23.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.009079/2.618, allocations: 2.475 MB / 1.616 GB, free: 21.89 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02356/2.641, allocations: 5.82 MB / 1.622 GB, free: 17.57 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02922/2.671, allocations: 15.57 MB / 1.637 GB, free: 4.438 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/2.671, allocations: 0 / 1.637 GB, free: 4.438 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/2.671, allocations: 4 kB / 1.637 GB, free: 4.434 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009632/2.672, allocations: 0 / 1.637 GB, free: 4.434 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: 2028 * Number of variables: 2028 Notification: Performance of Generate backend data structure: time 0.03483/2.707, allocations: 11.56 MB / 1.649 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/2.707, allocations: 8.031 kB / 1.649 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/2.721, allocations: 2.156 MB / 1.651 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03195/2.753, allocations: 10.59 MB / 1.661 GB, free: 208 kB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/2.754, allocations: 0.6264 MB / 1.662 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003774/2.758, allocations: 0.8376 MB / 1.663 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/2.792, allocations: 9.278 MB / 1.672 GB, free: 8.633 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006585/2.792, allocations: 27.2 kB / 1.672 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003496/2.796, allocations: 337.5 kB / 1.672 GB, free: 8.531 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003976/2.796, allocations: 312.2 kB / 1.672 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/2.818, allocations: 7.524 MB / 1.68 GB, free: 3.109 MB / 0.9792 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.08797/2.906, allocations: 43.34 MB / 1.722 GB, free: 13.74 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/2.919, allocations: 5.363 MB / 1.727 GB, free: 10.1 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/2.925, allocations: 2.627 MB / 1.73 GB, free: 8.285 MB / 1.026 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.03271/2.958, allocations: 10.88 MB / 1.74 GB, free: 13.05 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00532/2.963, allocations: 2.766 MB / 1.743 GB, free: 10.25 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005639/2.969, allocations: 0.4979 MB / 1.744 GB, free: 9.754 MB / 1.042 GB Notification: Performance of pre-optimization done (n=463): time 2.825e-05/2.969, allocations: 0 / 1.744 GB, free: 9.754 MB / 1.042 GB Notification: Performance of matching and sorting (n=472): time 0.06012/3.029, allocations: 15.83 MB / 1.759 GB, free: 9.691 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003736/3.029, allocations: 0.6395 MB / 1.76 GB, free: 8.91 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0244/3.054, allocations: 8.417 MB / 1.768 GB, free: 0.5312 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002145/3.056, allocations: 161.2 kB / 1.768 GB, free: 380 kB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.009159/3.065, allocations: 5.329 MB / 1.773 GB, free: 11.05 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003942/3.069, allocations: 1.586 MB / 1.775 GB, free: 9.473 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008752/3.07, allocations: 123.3 kB / 1.775 GB, free: 9.355 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0006471/3.071, allocations: 0.547 MB / 1.775 GB, free: 8.801 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/3.078, allocations: 2.324 MB / 1.778 GB, free: 6.473 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/3.089, allocations: 4.288 MB / 1.782 GB, free: 1.367 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/3.106, allocations: 6.197 MB / 1.788 GB, free: 10.52 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.692e-05/3.106, allocations: 12 kB / 1.788 GB, free: 10.51 MB / 1.089 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.03605/3.142, allocations: 8.781 MB / 1.796 GB, free: 1.633 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001376/3.144, allocations: 1.399 MB / 1.798 GB, free: 15.62 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/3.144, allocations: 44 kB / 1.798 GB, free: 15.58 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/3.154, allocations: 1.857 MB / 1.8 GB, free: 13.72 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006627/3.161, allocations: 1.318 MB / 1.801 GB, free: 12.4 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/3.172, allocations: 7.866 MB / 1.809 GB, free: 4.062 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/3.185, allocations: 0.8147 MB / 1.809 GB, free: 3.25 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/3.187, allocations: 303.9 kB / 1.81 GB, free: 2.953 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/3.187, allocations: 8 kB / 1.81 GB, free: 2.945 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02039/3.208, allocations: 7.402 MB / 1.817 GB, free: 11.46 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/3.208, allocations: 47.98 kB / 1.817 GB, free: 11.42 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009586/3.217, allocations: 1.724 MB / 1.819 GB, free: 9.684 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006434/3.224, allocations: 1.256 MB / 1.82 GB, free: 8.426 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/3.238, allocations: 9.792 MB / 1.829 GB, free: 14.09 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/3.25, allocations: 0.7738 MB / 1.83 GB, free: 13.32 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/3.252, allocations: 291.9 kB / 1.831 GB, free: 13.03 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 194 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,conPIDRad.con1.y,conPIDBoi.con1.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,stateGraphRoot.activeSteps,alternative.split[2].available,$PRE.allOff.localActive,allOff.localActive,$PRE.allOff.newActive,allOff.newActive,$PRE.allOff.oldActive,allOff.oldActive,allOff.active,T1.condition,T1.enableFire,$PRE.boilerOn.localActive,boilerOn.localActive,$PRE.boilerOn.newActive,boilerOn.newActive,$PRE.boilerOn.oldActive,boilerOn.oldActive,boilerOn.active,T2.condition,T2.enableFire,T3.condition,T3.enableFire,T3.fire,$PRE.T3.t_start,T3.t_start,T4.condition,T4.enableFire,T4.fire,$PRE.T4.t_start,T4.t_start,pumpsOn.active,$PRE.pumpsOn.localActive,pumpsOn.localActive,pumpsOn.inPort[1].set,pumpsOn.outPort[1].reset,$PRE.pumpsOn.newActive,pumpsOn.newActive,$PRE.pumpsOn.oldActive,pumpsOn.oldActive,lessThreshold.y,lessThreshold1.y,greThrTRoo.y,greThrTROut.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 734 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008238/3.26, allocations: 2.406 MB / 1.833 GB, free: 10.62 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003708/3.264, allocations: 0.9452 MB / 1.834 GB, free: 9.66 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/3.28, allocations: 6.598 MB / 1.84 GB, free: 2.938 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11/4.39, allocations: 4.933 MB / 1.845 GB, free: 0.4892 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/4.39, allocations: 0 / 1.845 GB, free: 0.4892 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007696/4.398, allocations: 1.735 MB / 1.847 GB, free: 0.4891 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003619/4.402, allocations: 108.8 kB / 1.847 GB, free: 0.4891 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/4.413, allocations: 0.6759 MB / 1.848 GB, free: 0.4891 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/4.414, allocations: 385.8 kB / 1.848 GB, free: 0.4891 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01945/4.433, allocations: 6.225 MB / 1.854 GB, free: 499.8 MB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0192/4.453, allocations: 8.505 MB / 1.862 GB, free: 496.7 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005416/4.458, allocations: 2.344 MB / 1.865 GB, free: 495.8 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02178/4.48, allocations: 5.509 MB / 1.87 GB, free: 493.8 MB / 1.136 GB Notification: Performance of Backend: time 2.014e-06/4.48, allocations: 0 / 1.87 GB, free: 493.8 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.05605/4.536, allocations: 11.94 MB / 1.882 GB, free: 489.9 MB / 1.136 GB Notification: Performance of SimCode: time 0.07996/4.616, allocations: 26.39 MB / 1.907 GB, free: 477 MB / 1.136 GB Notification: Performance of Templates: time 0.3344/4.951, allocations: 207.3 MB / 2.11 GB, free: 281.6 MB / 1.136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)