Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7127/0.7127, allocations: 141.8 MB / 149.1 MB, free: 4.543 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 181.9 kB / 181.9 MB, free: 228 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.3 MB / 436 MB, free: 9.359 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 93.06 kB / 0.507 GB, free: 24.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 269.7 kB / 0.5884 GB, free: 12.39 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.388e-06/9.428e-06, allocations: 0 / 0.6759 GB, free: 2.773 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4828, allocations: 82.76 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.775, allocations: 0.5215 GB / 1.278 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.775, allocations: 87.95 kB / 1.278 GB, free: 194.1 MB / 0.6982 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: time 16.46/18.23, allocations: 4.395 GB / 5.673 GB, free: 50.11 MB / 0.8544 GB Notification: Performance of Transformations before backend: time 0.003534/18.24, allocations: 335.9 kB / 5.674 GB, free: 50.06 MB / 0.8544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2530 * Number of variables: 2530 Notification: Performance of Generate backend data structure: time 0.05578/18.29, allocations: 12.5 MB / 5.686 GB, free: 44.8 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/18.29, allocations: 7.938 kB / 5.686 GB, free: 44.8 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/18.31, allocations: 2.356 MB / 5.688 GB, free: 44.04 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07316/18.38, allocations: 21.59 MB / 5.709 GB, free: 42.24 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/18.39, allocations: 490.6 kB / 5.71 GB, free: 42.12 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005614/18.39, allocations: 0.5754 MB / 5.71 GB, free: 42.12 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03199/18.42, allocations: 10.51 MB / 5.721 GB, free: 42.08 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04824/18.47, allocations: 12.01 MB / 5.732 GB, free: 40.7 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001018/18.47, allocations: 42.89 kB / 5.732 GB, free: 40.7 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005112/18.48, allocations: 18.34 kB / 5.732 GB, free: 40.7 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006667/18.48, allocations: 437.7 kB / 5.733 GB, free: 40.68 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1156/18.59, allocations: 61.41 MB / 5.793 GB, free: 9.688 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01653/18.61, allocations: 7.948 MB / 5.801 GB, free: 8.215 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008257/18.62, allocations: 4.428 MB / 5.805 GB, free: 6.648 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05475/18.67, allocations: 18.54 MB / 5.823 GB, free: 12.66 MB / 0.87 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009544/18.68, allocations: 3.798 MB / 5.827 GB, free: 10.43 MB / 0.87 GB Notification: Performance of pre-optimization done (n=558): time 1.734e-05/18.68, allocations: 0 / 5.827 GB, free: 10.43 MB / 0.87 GB Notification: Performance of matching and sorting (n=578): time 0.8217/19.5, allocations: 39.66 MB / 5.865 GB, free: 116 MB / 0.8857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/19.51, allocations: 0.489 MB / 5.866 GB, free: 115.5 MB / 0.8857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01819/19.52, allocations: 8.689 MB / 5.874 GB, free: 114.9 MB / 0.8857 GB Notification: Performance of collectPreVariables (initialization): time 0.002125/19.53, allocations: 33.05 kB / 5.874 GB, free: 114.9 MB / 0.8857 GB Notification: Performance of collectInitialEqns (initialization): time 0.00753/19.53, allocations: 3.875 MB / 5.878 GB, free: 113.5 MB / 0.8857 GB Notification: Performance of collectInitialBindings (initialization): time 0.006068/19.54, allocations: 1.936 MB / 5.88 GB, free: 112.4 MB / 0.8857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/19.54, allocations: 0 / 5.88 GB, free: 112.4 MB / 0.8857 GB Notification: Performance of setup shared object (initialization): time 0.0005218/19.54, allocations: 0.582 MB / 5.881 GB, free: 112.1 MB / 0.8857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/19.54, allocations: 3.1 MB / 5.884 GB, free: 112.1 MB / 0.8857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005539/19.55, allocations: 5.1 MB / 5.889 GB, free: 109.8 MB / 0.8857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/19.57, allocations: 5.467 MB / 5.894 GB, free: 109.5 MB / 0.8857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.757e-05/19.57, allocations: 16.84 kB / 5.894 GB, free: 109.5 MB / 0.8857 GB Notification: Performance of matching and sorting (n=905) (initialization): time 0.03117/19.6, allocations: 10.96 MB / 5.905 GB, free: 108.7 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 0.006756/19.61, allocations: 31.97 MB / 5.936 GB, free: 75.74 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/19.61, allocations: 57 kB / 5.936 GB, free: 75.74 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/19.61, allocations: 0.9468 MB / 5.937 GB, free: 75.66 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009739/19.62, allocations: 1.831 MB / 5.939 GB, free: 75.66 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/19.63, allocations: 19.52 MB / 5.958 GB, free: 61.68 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01522/19.65, allocations: 0.8721 MB / 5.959 GB, free: 61.64 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002473/19.65, allocations: 328 kB / 5.959 GB, free: 61.64 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/19.65, allocations: 2.656 kB / 5.959 GB, free: 61.64 MB / 0.8857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03242/19.68, allocations: 9.932 MB / 5.969 GB, free: 61.36 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002642/19.68, allocations: 58.62 kB / 5.969 GB, free: 61.36 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/19.69, allocations: 0.9392 MB / 5.97 GB, free: 61.27 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009349/19.69, allocations: 1.82 MB / 5.971 GB, free: 61.27 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/19.71, allocations: 19.58 MB / 5.991 GB, free: 47.25 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01504/19.72, allocations: 0.7467 MB / 5.991 GB, free: 47.21 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003728/19.73, allocations: 324.4 kB / 5.992 GB, free: 47.21 MB / 0.8857 GB Warning: Assuming fixed start value for the following 30 variables: 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_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_HX_1$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_HX_1$dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (-273.15 + storage.vol_HX_1.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real 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] pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (-273.15 + pump.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: 261 * 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 (842): * Single equations (assignments): 830 * Array equations: 1 * 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.006781/19.73, allocations: 1.105 MB / 5.993 GB, free: 46.96 MB / 0.8857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005067/19.74, allocations: 0.96 MB / 5.994 GB, free: 46.46 MB / 0.8857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/19.77, allocations: 9.595 MB / 6.003 GB, free: 46.02 MB / 0.8857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.84e-05/19.77, allocations: 62.03 kB / 6.003 GB, free: 46.02 MB / 0.8857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/19.77, allocations: 13.34 kB / 6.003 GB, free: 46.02 MB / 0.8857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02639/19.8, allocations: 7.83 MB / 6.011 GB, free: 45.68 MB / 0.8857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06745/19.87, allocations: 20.91 MB / 6.031 GB, free: 43.74 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/19.87, allocations: 1.594 kB / 6.031 GB, free: 43.74 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008031/19.88, allocations: 1.294 MB / 6.032 GB, free: 43.74 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002343/19.88, allocations: 0.8647 MB / 6.033 GB, free: 43.65 MB / 0.8857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00163/19.88, allocations: 95.14 kB / 6.033 GB, free: 43.65 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/19.9, allocations: 19.41 MB / 6.052 GB, free: 29.62 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/19.9, allocations: 9.891 kB / 6.052 GB, free: 29.62 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04162/19.94, allocations: 14.7 MB / 6.067 GB, free: 27.45 MB / 0.8857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01185/19.95, allocations: 2.217 MB / 6.069 GB, free: 26.85 MB / 0.8857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005864/19.96, allocations: 36.19 kB / 6.069 GB, free: 26.85 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01243/19.97, allocations: 0.5883 MB / 6.069 GB, free: 26.83 MB / 0.8857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/19.97, allocations: 310.1 kB / 6.07 GB, free: 26.82 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00184/19.97, allocations: 221.4 kB / 6.07 GB, free: 26.82 MB / 0.8857 GB Notification: Performance of sort global known variables: time 0.01802/19.99, allocations: 6.633 MB / 6.076 GB, free: 26.53 MB / 0.8857 GB Notification: Performance of remove unused functions: time 0.03868/20.03, allocations: 5.593 MB / 6.082 GB, free: 26.53 MB / 0.8857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 34 (pump.vol.dynBal.U,pump.filter.s[1],pump.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,storage.vol_HX_1.dynBal.U,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U) * 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 (535): * Single equations (assignments): 519 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 22,(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} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009243/20.04, allocations: 2.873 MB / 6.085 GB, free: 25.98 MB / 0.8857 GB Notification: Performance of simCode: created initialization part: time 0.03889/20.08, allocations: 15.14 MB / 6.099 GB, free: 23.59 MB / 0.8857 GB Notification: Performance of simCode: created event and clocks part: time 3.794e-05/20.08, allocations: 8.844 kB / 6.099 GB, free: 23.59 MB / 0.8857 GB Notification: Performance of simCode: created simulation system equations: time 0.0123/20.09, allocations: 4.971 MB / 6.104 GB, free: 38.46 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0341/20.12, allocations: 4.914 MB / 6.109 GB, free: 38.38 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0695/20.19, allocations: 21.98 MB / 6.131 GB, free: 34.48 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01821/20.21, allocations: 8.92 MB / 6.139 GB, free: 33.47 MB / 0.9013 GB Notification: Performance of SimCode: time 1.112e-06/20.21, allocations: 0 / 6.139 GB, free: 33.47 MB / 0.9013 GB Notification: Performance of Templates: time 1.114/21.33, allocations: 255.2 MB / 6.388 GB, free: 115.1 MB / 0.9013 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.sim & ./BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe 2>&1)