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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8974/0.8974, allocations: 140 MB / 156 MB, free: 8.391 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 178.5 kB / 188.5 MB, free: 8.992 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 426.3 MB, free: 8.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009874/0.0009872, allocations: 94.38 kB / 0.4945 GB, free: 7.988 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00179/0.00179, allocations: 266.2 kB / 0.5728 GB, free: 66.11 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.000479, allocations: 16 kB / 0.662 GB, free: 6.723 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4529, allocations: 79.29 MB / 0.7394 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.814, allocations: 0.5398 GB / 1.279 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.814, allocations: 99.89 kB / 1.279 GB, free: 162.8 MB / 0.6823 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 19.76/21.58, allocations: 4.902 GB / 6.182 GB, free: 39.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.126e-06/21.58, allocations: 0 / 6.182 GB, free: 39.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.003448/21.58, allocations: 376.4 kB / 6.182 GB, free: 39.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2704 * Number of variables: 2704 Notification: Performance of Generate backend data structure: time 0.06993/21.65, allocations: 16.66 MB / 6.198 GB, free: 32.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/21.65, allocations: 9.844 kB / 6.198 GB, free: 32.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/21.67, allocations: 2.737 MB / 6.201 GB, free: 32.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06421/21.73, allocations: 20.13 MB / 6.221 GB, free: 29.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001518/21.73, allocations: 0.8691 MB / 6.222 GB, free: 29.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007024/21.74, allocations: 1.055 MB / 6.223 GB, free: 29.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05163/21.79, allocations: 14.5 MB / 6.237 GB, free: 27.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009821/21.79, allocations: 46.06 kB / 6.237 GB, free: 27.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005369/21.8, allocations: 450.9 kB / 6.237 GB, free: 27.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005481/21.8, allocations: 431.8 kB / 6.238 GB, free: 27.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03327/21.83, allocations: 12.12 MB / 6.249 GB, free: 27.66 MB / 0.8698 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.1245/21.96, allocations: 65.33 MB / 6.313 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/21.98, allocations: 9.873 MB / 6.323 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/21.99, allocations: 5.226 MB / 6.328 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04973/22.04, allocations: 19.55 MB / 6.347 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007655/22.04, allocations: 4.25 MB / 6.351 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009449/22.05, allocations: 0.9834 MB / 6.352 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=618): time 2.715e-05/22.05, allocations: 0 / 6.352 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=647): time 0.07921/22.13, allocations: 24.33 MB / 6.376 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002471/22.13, allocations: 326.1 kB / 6.376 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0263/22.16, allocations: 10.13 MB / 6.386 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002013/22.16, allocations: 157.5 kB / 6.386 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.7185/22.88, allocations: 6.369 MB / 6.393 GB, free: 84.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.005027/22.88, allocations: 2.244 MB / 6.395 GB, free: 84.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/22.89, allocations: 151.1 kB / 6.395 GB, free: 84.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0007707/22.89, allocations: 0.6165 MB / 6.395 GB, free: 84.19 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008775/22.89, allocations: 3.675 MB / 6.399 GB, free: 84.17 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/22.91, allocations: 5.985 MB / 6.405 GB, free: 81.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.567/23.47, allocations: 77.12 MB / 6.48 GB, free: 76.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/23.47, allocations: 19.19 kB / 6.48 GB, free: 76.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.03759/23.51, allocations: 11.77 MB / 6.492 GB, free: 76.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001938/23.51, allocations: 1.957 MB / 6.494 GB, free: 74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002866/23.51, allocations: 73.56 kB / 6.494 GB, free: 74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/23.52, allocations: 0.9418 MB / 6.495 GB, free: 73.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/23.53, allocations: 2.027 MB / 6.497 GB, free: 73.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/23.54, allocations: 20.69 MB / 6.517 GB, free: 59.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/23.56, allocations: 1.053 MB / 6.518 GB, free: 59.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002819/23.56, allocations: 375 kB / 6.518 GB, free: 59.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/23.56, allocations: 7.625 kB / 6.518 GB, free: 59.04 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02947/23.59, allocations: 10.75 MB / 6.529 GB, free: 58.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004342/23.59, allocations: 67.25 kB / 6.529 GB, free: 58.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/23.59, allocations: 0.9408 MB / 6.53 GB, free: 58.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/23.6, allocations: 2.01 MB / 6.532 GB, free: 58.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/23.62, allocations: 20.7 MB / 6.552 GB, free: 43.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0158/23.64, allocations: 1.013 MB / 6.553 GB, free: 43.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002861/23.64, allocations: 368.1 kB / 6.553 GB, free: 43.71 MB / 0.9167 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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: 279 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.control.y,$whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,control.y,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 916 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * 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.01624/23.66, allocations: 5.227 MB / 6.558 GB, free: 43.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004893/23.66, allocations: 1.082 MB / 6.559 GB, free: 42.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03234/23.69, allocations: 10.5 MB / 6.57 GB, free: 42.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-05/23.69, allocations: 69.59 kB / 6.57 GB, free: 42.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-05/23.69, allocations: 10.16 kB / 6.57 GB, free: 42.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02084/23.71, allocations: 8.178 MB / 6.578 GB, free: 41.68 MB / 0.9167 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.07517/23.79, allocations: 22.38 MB / 6.6 GB, free: 40.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/23.79, allocations: 6.75 kB / 6.6 GB, free: 40.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008106/23.8, allocations: 1.48 MB / 6.601 GB, free: 40.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/23.8, allocations: 0.8692 MB / 6.602 GB, free: 40.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001743/23.8, allocations: 186.8 kB / 6.602 GB, free: 40.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/23.82, allocations: 20.52 MB / 6.622 GB, free: 25.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/23.82, allocations: 2.688 kB / 6.622 GB, free: 25.26 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03604/23.85, allocations: 14.89 MB / 6.637 GB, free: 23.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009909/23.86, allocations: 2.275 MB / 6.639 GB, free: 23.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005184/23.87, allocations: 139.8 kB / 6.639 GB, free: 23.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/23.88, allocations: 0.8861 MB / 6.64 GB, free: 23.21 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00234/23.88, allocations: 431 kB / 6.64 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001857/23.89, allocations: 251.1 kB / 6.64 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01856/23.9, allocations: 6.905 MB / 6.647 GB, free: 22.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.21e-07/23.9, allocations: 0 / 6.647 GB, free: 22.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0387/23.94, allocations: 6.238 MB / 6.653 GB, free: 19.52 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 36 (pump1.vol.dynBal.U,pump1.filter.x[1],pump1.filter.x[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.x[1],pump2.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (619): * Single equations (assignments): 601 * 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.01058/23.95, allocations: 3.654 MB / 6.657 GB, free: 16.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04063/23.99, allocations: 17.75 MB / 6.674 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/23.99, allocations: 6.656 kB / 6.674 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01166/24.01, allocations: 5.91 MB / 6.68 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04745/24.05, allocations: 5.992 MB / 6.686 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07822/24.13, allocations: 32.5 MB / 6.718 GB, free: 4.508 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02523/24.16, allocations: 8.517 MB / 6.726 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03269/24.19, allocations: 4.871 MB / 6.731 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006829/24.2, allocations: 0.8987 MB / 6.731 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of SimCode: time 3.436e-06/24.2, allocations: 0 / 6.731 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of Templates: time 1.276/25.47, allocations: 227.4 MB / 6.954 GB, free: 85.94 MB / 0.9636 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)