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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7397/0.7397, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.0009985/0.0009986, allocations: 187.4 kB / 187.3 MB, free: 11.88 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.426/1.426, allocations: 221.3 MB / 441.4 MB, free: 4.645 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.0009023/0.0009026, allocations: 94.61 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 272.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.737e-05, allocations: 0 / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4635, allocations: 82.76 MB / 0.7642 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.842, allocations: 0.5221 GB / 1.286 GB, free: 179.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/1.843, allocations: 90.95 kB / 1.286 GB, free: 179.1 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 18.7/20.54, allocations: 4.393 GB / 5.68 GB, free: 42.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.274e-06/20.54, allocations: 5.719 kB / 5.68 GB, free: 42.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002394/20.54, allocations: 335.8 kB / 5.68 GB, free: 42.15 MB / 0.8542 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.04836/20.59, allocations: 12.6 MB / 5.692 GB, free: 36.91 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/20.59, allocations: 7.719 kB / 5.692 GB, free: 36.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/20.61, allocations: 2.305 MB / 5.695 GB, free: 36.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06216/20.67, allocations: 21.39 MB / 5.715 GB, free: 34.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001405/20.67, allocations: 0.8016 MB / 5.716 GB, free: 34.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005652/20.68, allocations: 0.962 MB / 5.717 GB, free: 34.26 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05006/20.73, allocations: 13.21 MB / 5.73 GB, free: 32.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00106/20.73, allocations: 31.81 kB / 5.73 GB, free: 32.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005493/20.73, allocations: 420.8 kB / 5.731 GB, free: 32.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006442/20.74, allocations: 426.3 kB / 5.731 GB, free: 32.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/20.77, allocations: 10.81 MB / 5.741 GB, free: 32.74 MB / 0.8542 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.1372/20.91, allocations: 61.07 MB / 5.801 GB, free: 17.26 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/20.93, allocations: 8.769 MB / 5.81 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009047/20.94, allocations: 4.48 MB / 5.814 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04844/20.98, allocations: 18.51 MB / 5.832 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01066/21, allocations: 3.932 MB / 5.836 GB, free: 0 / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01056/21.01, allocations: 0.8591 MB / 5.837 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=559): time 3.438e-05/21.01, allocations: 2.531 kB / 5.837 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=586): time 1.05/22.06, allocations: 36.37 MB / 5.872 GB, free: 88.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/22.06, allocations: 0.4945 MB / 5.873 GB, free: 88.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02329/22.08, allocations: 9.19 MB / 5.882 GB, free: 87.82 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.002233/22.08, allocations: 145.1 kB / 5.882 GB, free: 87.79 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01166/22.09, allocations: 5.877 MB / 5.888 GB, free: 87.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.004103/22.1, allocations: 2.047 MB / 5.89 GB, free: 86.47 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/22.1, allocations: 140.6 kB / 5.89 GB, free: 86.47 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000537/22.1, allocations: 0.5861 MB / 5.89 GB, free: 86.15 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005395/22.11, allocations: 3.104 MB / 5.893 GB, free: 86.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007363/22.11, allocations: 5.163 MB / 5.898 GB, free: 83.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008132/22.12, allocations: 4.31 MB / 5.903 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.841e-05/22.12, allocations: 17.44 kB / 5.903 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02405/22.14, allocations: 10.31 MB / 5.913 GB, free: 82.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.007804/22.15, allocations: 32.52 MB / 5.945 GB, free: 48.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000326/22.15, allocations: 59.84 kB / 5.945 GB, free: 48.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/22.16, allocations: 0.9478 MB / 5.945 GB, free: 48.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/22.17, allocations: 1.857 MB / 5.947 GB, free: 48.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/22.18, allocations: 20.64 MB / 5.967 GB, free: 33.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01575/22.2, allocations: 1.051 MB / 5.968 GB, free: 33.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002465/22.2, allocations: 329.2 kB / 5.969 GB, free: 33.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/22.2, allocations: 5.75 kB / 5.969 GB, free: 33.75 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02477/22.23, allocations: 9.407 MB / 5.978 GB, free: 33.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003298/22.23, allocations: 59.38 kB / 5.978 GB, free: 33.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/22.23, allocations: 0.9515 MB / 5.979 GB, free: 33.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008945/22.24, allocations: 1.842 MB / 5.981 GB, free: 33.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/22.25, allocations: 20.63 MB / 6.001 GB, free: 18.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01488/22.27, allocations: 0.9305 MB / 6.002 GB, free: 18.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/22.27, allocations: 328.7 kB / 6.002 GB, free: 18.66 MB / 0.9011 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: 262 * 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 (849): * Single equations (assignments): 837 * 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.004939/22.28, allocations: 1.354 MB / 6.003 GB, free: 18.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004107/22.28, allocations: 0.9816 MB / 6.004 GB, free: 17.88 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/22.3, allocations: 8.907 MB / 6.013 GB, free: 17.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/22.3, allocations: 57.88 kB / 6.013 GB, free: 17.39 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/22.3, allocations: 15.88 kB / 6.013 GB, free: 17.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01197/22.31, allocations: 6.885 MB / 6.02 GB, free: 17.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05572/22.37, allocations: 21.45 MB / 6.041 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/22.37, allocations: 6.25 kB / 6.041 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006883/22.37, allocations: 1.324 MB / 6.042 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/22.38, allocations: 0.8689 MB / 6.043 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001388/22.38, allocations: 162.8 kB / 6.043 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/22.39, allocations: 20.49 MB / 6.063 GB, free: 16.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/22.39, allocations: 7.719 kB / 6.063 GB, free: 16.06 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02613/22.42, allocations: 13.81 MB / 6.077 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01091/22.43, allocations: 2.274 MB / 6.079 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004961/22.44, allocations: 131.2 kB / 6.079 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01224/22.45, allocations: 0.7528 MB / 6.08 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001986/22.45, allocations: 388.6 kB / 6.08 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001743/22.45, allocations: 226.1 kB / 6.08 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01988/22.47, allocations: 7.275 MB / 6.087 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.31e-07/22.47, allocations: 1.875 kB / 6.087 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03854/22.51, allocations: 5.937 MB / 6.093 GB, free: 12.73 MB / 0.9167 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 (541): * Single equations (assignments): 525 * 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%) 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.009932/22.52, allocations: 3.139 MB / 6.096 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.03197/22.55, allocations: 15.88 MB / 6.112 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/22.55, allocations: 8.594 kB / 6.112 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009383/22.56, allocations: 5.238 MB / 6.117 GB, free: 8.043 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03352/22.6, allocations: 5.668 MB / 6.122 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04952/22.64, allocations: 21.75 MB / 6.144 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01464/22.66, allocations: 8.042 MB / 6.152 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0317/22.69, allocations: 7.087 MB / 6.158 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003967/22.7, allocations: 0.6313 MB / 6.159 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/22.7, allocations: 3.938 kB / 6.159 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of Templates: time 1.323/24.02, allocations: 235.6 MB / 6.389 GB, free: 116.1 MB / 0.948 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)