Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 181 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 95.97 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 273.3 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.448e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3818, allocations: 82.76 MB / 0.7642 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.605, allocations: 0.5291 GB / 1.293 GB, free: 146.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.606, allocations: 89.72 kB / 1.293 GB, free: 146.3 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 21.19/22.8, allocations: 5.051 GB / 6.344 GB, free: 41.31 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.194e-06/22.8, allocations: 0 / 6.344 GB, free: 41.31 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.003176/22.8, allocations: 368.5 kB / 6.345 GB, free: 41.25 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.05849/22.86, allocations: 13.77 MB / 6.358 GB, free: 35.46 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/22.86, allocations: 11.5 kB / 6.358 GB, free: 35.46 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/22.88, allocations: 2.714 MB / 6.361 GB, free: 34.63 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06526/22.94, allocations: 22.95 MB / 6.383 GB, free: 32.67 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/22.94, allocations: 0.8608 MB / 6.384 GB, free: 32.55 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005171/22.95, allocations: 1.047 MB / 6.385 GB, free: 32.54 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04123/22.99, allocations: 13.99 MB / 6.399 GB, free: 30.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006094/22.99, allocations: 44.61 kB / 6.399 GB, free: 30.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004052/22.99, allocations: 446.4 kB / 6.399 GB, free: 30.98 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004557/22.99, allocations: 452.8 kB / 6.4 GB, free: 30.95 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03037/23.02, allocations: 11.45 MB / 6.411 GB, free: 30.86 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.1335/23.16, allocations: 65.93 MB / 6.475 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02414/23.18, allocations: 9.503 MB / 6.484 GB, free: 8.191 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01128/23.19, allocations: 4.808 MB / 6.489 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06596/23.26, allocations: 20.01 MB / 6.509 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01085/23.27, allocations: 4.253 MB / 6.513 GB, free: 9.297 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0111/23.28, allocations: 1.076 MB / 6.514 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=613): time 4.491e-05/23.28, allocations: 0 / 6.514 GB, free: 8.453 MB / 0.9323 GB Notification: Performance of matching and sorting (n=642): time 1.114/24.4, allocations: 41.53 MB / 6.554 GB, free: 57.25 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002395/24.4, allocations: 0.5272 MB / 6.555 GB, free: 56.68 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03294/24.43, allocations: 9.841 MB / 6.564 GB, free: 56.07 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002349/24.43, allocations: 157.1 kB / 6.565 GB, free: 56.04 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.01112/24.44, allocations: 6.359 MB / 6.571 GB, free: 54.56 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.004503/24.45, allocations: 2.228 MB / 6.573 GB, free: 53.44 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/24.45, allocations: 152.8 kB / 6.573 GB, free: 53.44 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0008613/24.45, allocations: 0.6141 MB / 6.574 GB, free: 53.12 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006473/24.46, allocations: 3.353 MB / 6.577 GB, free: 53.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007573/24.46, allocations: 5.615 MB / 6.583 GB, free: 50.54 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008468/24.47, allocations: 4.631 MB / 6.587 GB, free: 50.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.455e-05/24.47, allocations: 17.25 kB / 6.587 GB, free: 50.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=994) (initialization): time 0.03081/24.5, allocations: 11.09 MB / 6.598 GB, free: 49.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007661/24.51, allocations: 36.15 MB / 6.633 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/24.51, allocations: 64.31 kB / 6.633 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/24.51, allocations: 0.9546 MB / 6.634 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009999/24.52, allocations: 2.041 MB / 6.636 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/24.54, allocations: 20.67 MB / 6.656 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0163/24.56, allocations: 1.174 MB / 6.658 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00245/24.56, allocations: 367.6 kB / 6.658 GB, free: 13.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/24.56, allocations: 5.344 kB / 6.658 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02032/24.58, allocations: 10.1 MB / 6.668 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/24.58, allocations: 60.88 kB / 6.668 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/24.58, allocations: 0.9493 MB / 6.669 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009773/24.59, allocations: 2.023 MB / 6.671 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/24.61, allocations: 20.65 MB / 6.691 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01532/24.62, allocations: 1.042 MB / 6.692 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/24.63, allocations: 356.6 kB / 6.692 GB, free: 14.82 MB / 0.9636 GB Warning: Assuming fixed start value for the following 30 variables: pump2.vol.dynBal.U:VARIABLE(start = pump2.vol.dynBal.fluidVolume * pump2.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump2$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump2$vol$dynBal.Medium.setState_pTX(pump2.vol.dynBal.p_start, pump2.vol.dynBal.T_start, {})) + (-273.15 + pump2.vol.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.setState_pTX(pipe4.vol[2].dynBal.p_start, pipe4.vol[2].dynBal.T_start, {})) + (-273.15 + pipe4.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe4$vol$dynBal.Medium.setState_pTX(pipe4.vol[1].dynBal.p_start, pipe4.vol[1].dynBal.T_start, {})) + (-273.15 + pipe4.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.setState_pTX(pipe3.vol[2].dynBal.p_start, pipe3.vol[2].dynBal.T_start, {})) + (-273.15 + pipe3.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe3$vol$dynBal.Medium.setState_pTX(pipe3.vol[1].dynBal.p_start, pipe3.vol[1].dynBal.T_start, {})) + (-273.15 + pipe3.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (-273.15 + storage.vol_top.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (-273.15 + storage.vol_bot.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[8].dynBal.p_start, storage.vol[8].dynBal.T_start, {})) + (-273.15 + storage.vol[8].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[7].dynBal.U:VARIABLE(start = storage.vol[7].dynBal.fluidVolume * storage.vol[7].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[7].dynBal.p_start, storage.vol[7].dynBal.T_start, {})) + (-273.15 + storage.vol[7].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[6].dynBal.U:VARIABLE(start = storage.vol[6].dynBal.fluidVolume * storage.vol[6].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[6].dynBal.p_start, storage.vol[6].dynBal.T_start, {})) + (-273.15 + storage.vol[6].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[5].dynBal.U:VARIABLE(start = storage.vol[5].dynBal.fluidVolume * storage.vol[5].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[5].dynBal.p_start, storage.vol[5].dynBal.T_start, {})) + (-273.15 + storage.vol[5].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (-273.15 + storage.vol[4].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (-273.15 + storage.vol[3].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (-273.15 + storage.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (-273.15 + storage.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.setState_pTX(pipe2.vol[2].dynBal.p_start, pipe2.vol[2].dynBal.T_start, {})) + (-273.15 + pipe2.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe2$vol$dynBal.Medium.setState_pTX(pipe2.vol[1].dynBal.p_start, pipe2.vol[1].dynBal.T_start, {})) + (-273.15 + pipe2.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.setState_pTX(pipe1.vol[2].dynBal.p_start, pipe1.vol[2].dynBal.T_start, {})) + (-273.15 + pipe1.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe1.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pipe1$vol$dynBal.Medium.setState_pTX(pipe1.vol[1].dynBal.p_start, pipe1.vol[1].dynBal.T_start, {})) + (-273.15 + pipe1.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] collector.cp_solid[10].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[9].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[8].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[7].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[6].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[5].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[4].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[3].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[2].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[1].T:VARIABLE(min = max(0.0, max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real [10] pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump1$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump1$vol$dynBal.Medium.setState_pTX(pump1.vol.dynBal.p_start, pump1.vol.dynBal.T_start, {})) + (-273.15 + pump1.vol.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 281 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,$PRE.control.y,control.y,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (930): * Single equations (assignments): 917 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004784/24.63, allocations: 1.394 MB / 6.694 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004242/24.64, allocations: 1.076 MB / 6.695 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/24.66, allocations: 9.787 MB / 6.704 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.714e-05/24.66, allocations: 69.58 kB / 6.704 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.969e-05/24.66, allocations: 17.84 kB / 6.704 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01246/24.67, allocations: 7.477 MB / 6.712 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05298/24.72, allocations: 23.26 MB / 6.734 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/24.72, allocations: 3.312 kB / 6.734 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007358/24.73, allocations: 1.464 MB / 6.736 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/24.73, allocations: 0.8721 MB / 6.737 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001228/24.73, allocations: 190.7 kB / 6.737 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/24.75, allocations: 20.51 MB / 6.757 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/24.75, allocations: 3.156 kB / 6.757 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/24.78, allocations: 15.11 MB / 6.772 GB, free: 9.293 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0113/24.79, allocations: 2.449 MB / 6.774 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005946/24.79, allocations: 139.5 kB / 6.774 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01368/24.81, allocations: 0.838 MB / 6.775 GB, free: 8.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002119/24.81, allocations: 433.4 kB / 6.775 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/24.81, allocations: 257.6 kB / 6.776 GB, free: 8.574 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01939/24.83, allocations: 7.638 MB / 6.783 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.7e-07/24.83, allocations: 0 / 6.783 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.04155/24.87, allocations: 6.428 MB / 6.789 GB, free: 8.168 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 36 (pump1.vol.dynBal.U,pump1.filter.s[1],pump1.filter.s[2],collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T,pipe1.vol[1].dynBal.U,pipe1.vol[2].dynBal.U,pipe2.vol[1].dynBal.U,pipe2.vol[2].dynBal.U,exp.m,exp.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol[5].dynBal.U,storage.vol[6].dynBal.U,storage.vol[7].dynBal.U,storage.vol[8].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (610): * Single equations (assignments): 592 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01062/24.88, allocations: 3.869 MB / 6.793 GB, free: 7.008 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.03195/24.91, allocations: 17 MB / 6.81 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/24.91, allocations: 9.844 kB / 6.81 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.009495/24.92, allocations: 5.605 MB / 6.815 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03232/24.96, allocations: 5.811 MB / 6.821 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04969/25.01, allocations: 23.34 MB / 6.844 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01364/25.02, allocations: 8.535 MB / 6.852 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03286/25.05, allocations: 7.418 MB / 6.859 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003551/25.06, allocations: 0.6986 MB / 6.86 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of SimCode: time 1.844e-06/25.06, allocations: 0 / 6.86 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of Templates: time 1.397/26.45, allocations: 252.8 MB / 7.107 GB, free: 90.96 MB / 0.9948 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.makefile (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.sim & ./BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe 2>&1)