Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2269/0.229, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumRad.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumBoi.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.943/2.172, allocations: 0.5067 GB / 1.177 GB, free: 56.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1177/2.29, allocations: 68.84 MB / 1.245 GB, free: 36.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02899/2.319, allocations: 443.4 kB / 1.245 GB, free: 36.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.02076/2.34, allocations: 5.829 MB / 1.251 GB, free: 32.65 MB / 0.8262 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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:7:3-16:19:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource' contains a call to impure function 'Modelica.Utilities.Files.fullPathName'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-80:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath.loadResource'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-92: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47: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 3.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46: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.04867/2.389, allocations: 13.76 MB / 1.264 GB, free: 22.95 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'allOff.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'allOff.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'allOff.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'boilerOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'boilerOn.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'boilerOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12155:5-12155:45:writable] Warning: The second argument 'pumpsOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: The first argument 'pumpsOn.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12183:5-12183:46:writable] Warning: The first argument 'pumpsOn.node' of Connections.branch must have the form A.R, where A is a connector and R an over-determined type/record. Notification: Performance of NFTyping.typeClassSections: time 0.03509/2.424, allocations: 11.69 MB / 1.275 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.05337/2.477, allocations: 31.51 MB / 1.306 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03235/2.51, allocations: 16.76 MB / 1.323 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03409/2.544, allocations: 11.72 MB / 1.334 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02574/2.57, allocations: 9.205 MB / 1.343 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.008041/2.578, allocations: 1.223 MB / 1.344 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02584/2.603, allocations: 7.031 MB / 1.351 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.01034/2.614, allocations: 3.438 MB / 1.354 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.02193/2.636, allocations: 6.902 MB / 1.361 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.05404/2.69, allocations: 20.28 MB / 1.381 GB, free: 3.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/2.69, allocations: 4 kB / 1.381 GB, free: 3.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/2.69, allocations: 4 kB / 1.381 GB, free: 3.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009875/2.691, allocations: 0 / 1.381 GB, free: 3.871 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1943 * Number of variables: 1943 Notification: Performance of Generate backend data structure: time 0.05861/2.75, allocations: 13.77 MB / 1.394 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/2.75, allocations: 12.03 kB / 1.395 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/2.769, allocations: 2.186 MB / 1.397 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03676/2.806, allocations: 10.06 MB / 1.406 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009293/2.807, allocations: 0.593 MB / 1.407 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/2.811, allocations: 0.8065 MB / 1.408 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/2.848, allocations: 10.25 MB / 1.418 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004968/2.849, allocations: 27.72 kB / 1.418 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/2.852, allocations: 322.4 kB / 1.418 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003851/2.852, allocations: 306 kB / 1.418 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03037/2.883, allocations: 8.535 MB / 1.427 GB, free: 4.723 MB / 0.9669 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.6933/3.576, allocations: 44.65 MB / 1.47 GB, free: 430.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/3.598, allocations: 6.046 MB / 1.476 GB, free: 428.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007482/3.606, allocations: 2.764 MB / 1.479 GB, free: 427.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03704/3.643, allocations: 11.17 MB / 1.49 GB, free: 421.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01501/3.658, allocations: 3.965 MB / 1.494 GB, free: 419.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007678/3.666, allocations: 410.8 kB / 1.494 GB, free: 419.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=491): time 6.79e-05/3.666, allocations: 3.969 kB / 1.494 GB, free: 419.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=519): time 0.08695/3.753, allocations: 21.8 MB / 1.515 GB, free: 408.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002965/3.753, allocations: 0.5947 MB / 1.516 GB, free: 407.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02403/3.777, allocations: 8.379 MB / 1.524 GB, free: 403.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.002664/3.78, allocations: 159.4 kB / 1.524 GB, free: 403.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.008591/3.789, allocations: 5.026 MB / 1.529 GB, free: 399 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.004019/3.793, allocations: 1.747 MB / 1.531 GB, free: 397.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008709/3.801, allocations: 1.39 MB / 1.532 GB, free: 396.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001022/3.802, allocations: 316.7 kB / 1.533 GB, free: 396.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008801/3.81, allocations: 3.048 MB / 1.536 GB, free: 394.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/3.821, allocations: 4.999 MB / 1.541 GB, free: 391.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08963/3.911, allocations: 20.48 MB / 1.561 GB, free: 373.2 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-05/3.911, allocations: 12 kB / 1.561 GB, free: 373.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.03514/3.946, allocations: 11.06 MB / 1.571 GB, free: 362 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/3.946, allocations: 119.3 kB / 1.571 GB, free: 361.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/3.947, allocations: 40 kB / 1.571 GB, free: 361.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009026/3.956, allocations: 2.14 MB / 1.574 GB, free: 359.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009583/3.965, allocations: 1.837 MB / 1.575 GB, free: 357.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03995/4.005, allocations: 31.69 MB / 1.606 GB, free: 324.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/4.018, allocations: 0.5985 MB / 1.607 GB, free: 323.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/4.02, allocations: 327.7 kB / 1.607 GB, free: 323.2 MB / 0.9825 GB Warning: Assuming fixed start value for the following 7 variables: rad.vol[1].dynBal.U:VARIABLE(start = rad.vol[1].dynBal.fluidVolume * rad.vol[1].dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.setState_pTX(rad.vol[1].dynBal.p_start, rad.vol[1].dynBal.T_start, {})) + (rad.vol[1].dynBal.T_start - 273.15) * rad.vol[1].dynBal.CSen unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real [5] pumRad.vol.dynBal.U:VARIABLE(start = pumRad.vol.dynBal.fluidVolume * pumRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.setState_pTX(pumRad.vol.dynBal.p_start, pumRad.vol.dynBal.T_start, {})) + (pumRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix.vol.dynBal.U:VARIABLE(start = mix.vol.dynBal.fluidVolume * mix.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.setState_pTX(mix.vol.dynBal.p_start, mix.vol.dynBal.T_start, {})) + (mix.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl.vol.dynBal.U:VARIABLE(start = spl.vol.dynBal.fluidVolume * spl.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.setState_pTX(spl.vol.dynBal.p_start, spl.vol.dynBal.T_start, {})) + (spl.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix2.vol.dynBal.U:VARIABLE(start = mix2.vol.dynBal.fluidVolume * mix2.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.setState_pTX(mix2.vol.dynBal.p_start, mix2.vol.dynBal.T_start, {})) + (mix2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real valRad.vol.dynBal.U:VARIABLE(start = valRad.vol.dynBal.fluidVolume * valRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.setState_pTX(valRad.vol.dynBal.p_start, valRad.vol.dynBal.T_start, {})) + (valRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl1.vol.dynBal.U:VARIABLE(start = spl1.vol.dynBal.fluidVolume * spl1.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.setState_pTX(spl1.vol.dynBal.p_start, spl1.vol.dynBal.T_start, {})) + (spl1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01249/4.032, allocations: 4.658 MB / 1.612 GB, free: 318.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007657/4.04, allocations: 4.434 MB / 1.616 GB, free: 313.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08153/4.121, allocations: 17.71 MB / 1.633 GB, free: 295 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.4e-05/4.122, allocations: 16 kB / 1.633 GB, free: 295 MB / 0.9825 GB Notification: Performance of matching and sorting (n=827) (initialization_lambda0): time 0.02257/4.144, allocations: 8.638 MB / 1.642 GB, free: 286.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/4.144, allocations: 115.4 kB / 1.642 GB, free: 286.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.519e-05/4.144, allocations: 44.62 kB / 1.642 GB, free: 286.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007402/4.152, allocations: 1.564 MB / 1.644 GB, free: 284.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006597/4.158, allocations: 1.385 MB / 1.645 GB, free: 283.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/4.175, allocations: 25.03 MB / 1.669 GB, free: 256.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01206/4.187, allocations: 492.8 kB / 1.67 GB, free: 255.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/4.189, allocations: 299.9 kB / 1.67 GB, free: 255.4 MB / 0.9825 GB Warning: Assuming fixed start value for the following 7 variables: rad.vol[1].dynBal.U:VARIABLE(start = rad.vol[1].dynBal.fluidVolume * rad.vol[1].dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.rad.vol.dynBal.Medium.setState_pTX(rad.vol[1].dynBal.p_start, rad.vol[1].dynBal.T_start, {})) + (rad.vol[1].dynBal.T_start - 273.15) * rad.vol[1].dynBal.CSen unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real [5] pumRad.vol.dynBal.U:VARIABLE(start = pumRad.vol.dynBal.fluidVolume * pumRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.pumRad.vol.dynBal.Medium.setState_pTX(pumRad.vol.dynBal.p_start, pumRad.vol.dynBal.T_start, {})) + (pumRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix.vol.dynBal.U:VARIABLE(start = mix.vol.dynBal.fluidVolume * mix.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix.vol.dynBal.Medium.setState_pTX(mix.vol.dynBal.p_start, mix.vol.dynBal.T_start, {})) + (mix.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl.vol.dynBal.U:VARIABLE(start = spl.vol.dynBal.fluidVolume * spl.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl.vol.dynBal.Medium.setState_pTX(spl.vol.dynBal.p_start, spl.vol.dynBal.T_start, {})) + (spl.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real mix2.vol.dynBal.U:VARIABLE(start = mix2.vol.dynBal.fluidVolume * mix2.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.mix2.vol.dynBal.Medium.setState_pTX(mix2.vol.dynBal.p_start, mix2.vol.dynBal.T_start, {})) + (mix2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real valRad.vol.dynBal.U:VARIABLE(start = valRad.vol.dynBal.fluidVolume * valRad.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.valRad.vol.dynBal.Medium.setState_pTX(valRad.vol.dynBal.p_start, valRad.vol.dynBal.T_start, {})) + (valRad.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real spl1.vol.dynBal.U:VARIABLE(start = spl1.vol.dynBal.fluidVolume * spl1.vol.dynBal.rho_start * Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.specificInternalEnergy(Buildings.Examples.Tutorial.Boiler.System7.spl1.vol.dynBal.Medium.setState_pTX(spl1.vol.dynBal.p_start, spl1.vol.dynBal.T_start, {})) + (spl1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,pumpsOn.oldActive,$PRE.pumpsOn.oldActive,boilerOn.oldActive,$PRE.boilerOn.oldActive,allOff.oldActive,$PRE.allOff.oldActive,$PRE.timTab.nextTimeEvent,$whenCondition1,boilerOn.outPort[1].checkOneDelayedTransitionPerLoop,allOff.node.suspend,allOff.node.resume,$PRE.T4.t_start,$PRE.T3.t_start,$PRE.weaDat.conTim.tStart,$PRE.weaDat.conTim1.tStart,pumpsOn.outport_fire,pumpsOn.inport_fire,pumpsOn.newActive,$PRE.pumpsOn.newActive,pumpsOn.active,pumpsOn.outPort[2].available,T4.t_start,T4.enableFire,T4.fire,and1.y,greThrTROut.y,greThrTRoo.y,T3.t_start,T3.enableFire,T3.fire,greThrBoi.y,T2.enableFire,boilerOn.outport_fire,boilerOn.inport_fire,boilerOn.newActive,$PRE.boilerOn.newActive,boilerOn.active,lessThreshold2.y,lessThreshold1.y,lessThreshold.y,T1.enableFire,T1.conditionPort,allOff.outport_fire,allOff.inport_fire,allOff.newActive,$PRE.allOff.newActive,allOff.active,weaDat.conTim.tStart,weaDat.conTim1.tStart,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,T4.condition,T3.condition,T2.condition,T1.condition,T4.outPort.checkOneDelayedTransitionPerLoop,T3.outPort.checkOneDelayedTransitionPerLoop,pumpsOn.inPort[1].checkOneDelayedTransitionPerLoop,pumpsOn.outPort[2].checkOneDelayedTransitionPerLoop,pumpsOn.inPort[2].checkUnaryConnection,pumpsOn.inPort[1].checkUnaryConnection,boilerOn.inPort[1].checkUnaryConnection,allOff.inPort[1].checkUnaryConnection,conPIDRad.I.local_reset,conPIDBoi.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (754): * Single equations (assignments): 723 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 13 * 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): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,3), (5,6), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.004875/4.194, allocations: 0.8062 MB / 1.671 GB, free: 254.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006918/4.201, allocations: 0.9336 MB / 1.672 GB, free: 253.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03131/4.232, allocations: 9.664 MB / 1.681 GB, free: 243.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-05/4.233, allocations: 63.98 kB / 1.681 GB, free: 243.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-05/4.233, allocations: 4 kB / 1.681 GB, free: 243.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02256/4.255, allocations: 7.891 MB / 1.689 GB, free: 235.7 MB / 0.9825 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 postOpt removeSimpleEquations (simulation): time 0.05268/4.308, allocations: 18.35 MB / 1.707 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-05/4.308, allocations: 4 kB / 1.707 GB, free: 217.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00524/4.313, allocations: 1.015 MB / 1.708 GB, free: 216.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004454/4.318, allocations: 1.815 MB / 1.71 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001311/4.319, allocations: 175.8 kB / 1.71 GB, free: 214.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03642/4.356, allocations: 34.73 MB / 1.744 GB, free: 177.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/4.356, allocations: 4 kB / 1.744 GB, free: 177.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03644/4.392, allocations: 12.78 MB / 1.756 GB, free: 164.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005778/4.398, allocations: 1.68 MB / 1.758 GB, free: 162.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003593/4.401, allocations: 128 kB / 1.758 GB, free: 162.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008356/4.41, allocations: 455.4 kB / 1.758 GB, free: 161.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001754/4.412, allocations: 403.7 kB / 1.759 GB, free: 161.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001225/4.413, allocations: 215.8 kB / 1.759 GB, free: 161.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01247/4.425, allocations: 5.538 MB / 1.764 GB, free: 155.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.71e-07/4.425, allocations: 3.938 kB / 1.764 GB, free: 155.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.02711/4.453, allocations: 4.82 MB / 1.769 GB, free: 151 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 38 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.vol.dynBal.m,pumRad.filter.x[1],pumRad.filter.x[2],mix.vol.dynBal.U,mix.vol.dynBal.m,spl.vol.dynBal.U,spl.vol.dynBal.m,spl2.vol.dynBal.U,mix2.vol.dynBal.U,mix2.vol.dynBal.m,spl4.vol.dynBal.U,spl4.vol.dynBal.m,pumBoi.vol.dynBal.U,pumBoi.filter.x[1],pumBoi.filter.x[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.vol.dynBal.m,valRad.filter.x[1],valRad.filter.x[2],valBoi.vol.dynBal.U,valBoi.filter.x[1],valBoi.filter.x[2],temRet.T,spl1.vol.dynBal.U,spl1.vol.dynBal.m,conPIDBoi.I.y,conPIDRad.I.y) * Number of discrete variables: 41 (T4.enableFire,T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTim1.tStart,weaDat.conTim.tStart,allOff.active,allOff.newActive,allOff.oldActive,allOff.inport_fire,allOff.outport_fire,T1.conditionPort,T1.enableFire,lessThreshold.y,lessThreshold1.y,lessThreshold2.y,boilerOn.active,boilerOn.newActive,boilerOn.oldActive,boilerOn.inport_fire,boilerOn.outport_fire,T2.enableFire,greThrBoi.y,T3.fire,T3.t_start,greThrTRoo.y,greThrTROut.y,and1.y,T4.fire,T4.t_start,pumpsOn.outPort[2].available,pumpsOn.active,pumpsOn.newActive,pumpsOn.oldActive,pumpsOn.inport_fire,pumpsOn.outport_fire) * Number of discrete states: 7 (timTab.nextTimeEvent,weaDat.conTim.tStart,weaDat.conTim1.tStart,allOff.newActive,boilerOn.newActive,pumpsOn.newActive,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (517): * Single equations (assignments): 471 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 28 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 21 systems {(1,3), (1,1), (1,4), (1,4), (1,4), (1,4), (1,4), (1,3), (1,4), (1,1), (1,3), (1,1), (1,3), (1,1), (1,3), (1,1), (1,3), (1,1), (1,3), (1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006937/4.459, allocations: 2.575 MB / 1.772 GB, free: 149 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.04072/4.5, allocations: 16.75 MB / 1.788 GB, free: 131.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.296e-05/4.5, allocations: 8.594 kB / 1.788 GB, free: 131.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/4.514, allocations: 5.543 MB / 1.793 GB, free: 126 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02922/4.543, allocations: 5.038 MB / 1.798 GB, free: 121.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05582/4.599, allocations: 21.65 MB / 1.819 GB, free: 99.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/4.611, allocations: 5.48 MB / 1.825 GB, free: 93.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.01607/4.627, allocations: 2.591 MB / 1.827 GB, free: 91.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004636/4.631, allocations: 0.7764 MB / 1.828 GB, free: 90.51 MB / 0.9825 GB Notification: Performance of SimCode: time 1.533e-06/4.631, allocations: 0 / 1.828 GB, free: 90.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.9044/5.536, allocations: 220.5 MB / 2.043 GB, free: 339.3 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)