Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.597/1.597, allocations: 287.4 MB / 303.2 MB, free: 8.289 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.000952/0.000952, allocations: 174.4 kB / 371.8 MB, free: 10.82 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.374/1.374, allocations: 205.4 MB / 0.6305 GB, free: 10.46 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.0008059/0.0008059, allocations: 93.09 kB / 0.7438 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004052, allocations: 15.22 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1902, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.275/1.465, allocations: 483.9 MB / 1.452 GB, free: 48.27 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0865/1.552, allocations: 69.82 MB / 1.52 GB, free: 47.06 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01422/1.566, allocations: 383.9 kB / 1.52 GB, free: 47.06 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/1.578, allocations: 3.637 MB / 1.524 GB, free: 47 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.03381/1.612, allocations: 10.58 MB / 1.534 GB, free: 46.53 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02802/1.64, allocations: 9.033 MB / 1.543 GB, free: 46.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.03878/1.679, allocations: 36.15 MB / 1.578 GB, free: 38.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01887/1.698, allocations: 10.23 MB / 1.588 GB, free: 34.7 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0212/1.719, allocations: 9.489 MB / 1.598 GB, free: 31.13 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01524/1.735, allocations: 8.338 MB / 1.606 GB, free: 27.81 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.003932/1.739, allocations: 446.6 kB / 1.606 GB, free: 27.81 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01628/1.755, allocations: 3.983 MB / 1.61 GB, free: 26.75 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.004824/1.76, allocations: 2.475 MB / 1.613 GB, free: 24.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.006191/1.766, allocations: 2.506 MB / 1.615 GB, free: 23.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/1.785, allocations: 15.33 MB / 1.63 GB, free: 10.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.785, allocations: 0 / 1.63 GB, free: 10.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.353e-06/1.785, allocations: 4 kB / 1.63 GB, free: 10.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006618/1.785, allocations: 0 / 1.63 GB, free: 10.48 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.02518/1.811, allocations: 11.57 MB / 1.641 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/1.811, allocations: 8.031 kB / 1.641 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/1.824, allocations: 2.151 MB / 1.643 GB, free: 13.74 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02336/1.848, allocations: 10.59 MB / 1.654 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006385/1.849, allocations: 0.6308 MB / 1.654 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/1.851, allocations: 0.8357 MB / 1.655 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/1.872, allocations: 9.291 MB / 1.664 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003464/1.873, allocations: 19.78 kB / 1.664 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001668/1.874, allocations: 336.2 kB / 1.665 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002993/1.875, allocations: 320 kB / 1.665 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/1.893, allocations: 7.511 MB / 1.672 GB, free: 9.152 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.06966/1.963, allocations: 43.35 MB / 1.715 GB, free: 3.777 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/1.973, allocations: 5.358 MB / 1.72 GB, free: 148 kB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005858/1.979, allocations: 2.627 MB / 1.722 GB, free: 14.45 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.02659/2.005, allocations: 10.87 MB / 1.733 GB, free: 4.328 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00648/2.012, allocations: 2.762 MB / 1.736 GB, free: 1.535 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006608/2.018, allocations: 0.4957 MB / 1.736 GB, free: 1.035 MB / 1.026 GB Notification: Performance of pre-optimization done (n=463): time 3.647e-05/2.018, allocations: 0 / 1.736 GB, free: 1.035 MB / 1.026 GB Notification: Performance of matching and sorting (n=472): time 0.04576/2.064, allocations: 15.84 MB / 1.752 GB, free: 0.9727 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000263/2.064, allocations: 0.6395 MB / 1.752 GB, free: 196 kB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01795/2.082, allocations: 8.417 MB / 1.76 GB, free: 7.812 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/2.084, allocations: 153.7 kB / 1.761 GB, free: 7.656 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006119/2.09, allocations: 5.327 MB / 1.766 GB, free: 2.332 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002372/2.092, allocations: 1.594 MB / 1.767 GB, free: 0.7539 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009802/2.093, allocations: 124 kB / 1.767 GB, free: 0.6328 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0005271/2.094, allocations: 0.5431 MB / 1.768 GB, free: 84 kB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005989/2.1, allocations: 2.327 MB / 1.77 GB, free: 13.75 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007407/2.107, allocations: 4.285 MB / 1.774 GB, free: 8.648 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.119, allocations: 6.189 MB / 1.78 GB, free: 1.824 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.966e-05/2.119, allocations: 12 kB / 1.78 GB, free: 1.812 MB / 1.073 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.02665/2.146, allocations: 8.795 MB / 1.789 GB, free: 8.93 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009408/2.147, allocations: 1.403 MB / 1.79 GB, free: 6.926 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/2.147, allocations: 44 kB / 1.79 GB, free: 6.883 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009321/2.156, allocations: 1.841 MB / 1.792 GB, free: 5.031 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006157/2.163, allocations: 1.326 MB / 1.794 GB, free: 3.703 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/2.173, allocations: 7.874 MB / 1.801 GB, free: 11.36 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009827/2.183, allocations: 0.8104 MB / 1.802 GB, free: 10.55 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/2.184, allocations: 303.9 kB / 1.802 GB, free: 10.26 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/2.185, allocations: 11.94 kB / 1.802 GB, free: 10.25 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01991/2.204, allocations: 7.391 MB / 1.81 GB, free: 2.773 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/2.205, allocations: 51.98 kB / 1.81 GB, free: 2.723 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00859/2.213, allocations: 1.724 MB / 1.811 GB, free: 0.9922 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/2.219, allocations: 1.26 MB / 1.813 GB, free: 15.73 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/2.234, allocations: 9.808 MB / 1.822 GB, free: 5.383 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009446/2.243, allocations: 0.7683 MB / 1.823 GB, free: 4.617 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/2.245, allocations: 287.9 kB / 1.823 GB, free: 4.336 MB / 1.12 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.007437/2.252, allocations: 2.395 MB / 1.825 GB, free: 1.93 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004514/2.257, allocations: 0.9491 MB / 1.826 GB, free: 0.9688 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02217/2.279, allocations: 6.608 MB / 1.833 GB, free: 10.24 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01595/2.295, allocations: 4.931 MB / 1.838 GB, free: 5.199 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/2.295, allocations: 7.984 kB / 1.838 GB, free: 5.191 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008119/2.303, allocations: 1.73 MB / 1.839 GB, free: 3.43 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004008/2.307, allocations: 108 kB / 1.839 GB, free: 3.324 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01245/2.32, allocations: 0.6784 MB / 1.84 GB, free: 2.645 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/2.321, allocations: 379.5 kB / 1.84 GB, free: 2.27 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02547/2.347, allocations: 6.232 MB / 1.847 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02804/2.375, allocations: 8.502 MB / 1.855 GB, free: 3.359 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00705/2.382, allocations: 2.344 MB / 1.857 GB, free: 0.9844 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.8129/3.195, allocations: 5.504 MB / 1.863 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of Backend: time 1.352e-06/3.195, allocations: 0.6562 kB / 1.863 GB, free: 0.5031 GB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0284/3.223, allocations: 11.85 MB / 1.874 GB, free: 0.5002 GB / 1.151 GB Notification: Performance of SimCode: time 0.04509/3.268, allocations: 26.39 MB / 1.9 GB, free: 499.6 MB / 1.151 GB Notification: Performance of Templates: time 0.2681/3.537, allocations: 205 MB / 2.1 GB, free: 322.5 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)