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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009075/0.0009076, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009497/0.0009497, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 270.6 kB / 291.3 MB, free: 1.988 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7276/0.7276, allocations: 144.6 MB / 487 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.000404, allocations: 11.14 kB / 0.5683 GB, free: 38.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 83.09 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.418/0.5445, allocations: 187.3 MB / 0.8323 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04408/0.5886, allocations: 42.29 MB / 0.8736 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007555/0.5962, allocations: 233.9 kB / 0.8739 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008586/0.6048, allocations: 2.944 MB / 0.8767 GB, free: 10.96 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:124:10-124:21:writable] Warning: 'each' used when modifying non-array element ThermalConductanceHX_1. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:142:10-142:21:writable] Warning: 'each' used when modifying non-array element ThermalConductanceHX_2. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:184:10-184:30:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:185:10-185:22:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:191:10-191:30:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:192:10-192:22:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFTyping.typeBindings: time 0.02482/0.6297, allocations: 8.871 MB / 0.8854 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.6438, allocations: 5.251 MB / 0.8905 GB, free: 0.9258 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFFlatten.flatten: time 0.03341/0.6772, allocations: 23.3 MB / 0.9133 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/0.6951, allocations: 11.98 MB / 0.925 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02574/0.7209, allocations: 13.06 MB / 0.9377 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.734, allocations: 7.534 MB / 0.9451 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003326/0.7374, allocations: 0.5469 MB / 0.9456 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/0.7546, allocations: 5.208 MB / 0.9507 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00458/0.7592, allocations: 2.572 MB / 0.9532 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005726/0.765, allocations: 2.983 MB / 0.9561 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02164/0.7866, allocations: 18.95 MB / 0.9747 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7867, allocations: 0 / 0.9747 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7867, allocations: 0 / 0.9747 GB, free: 14.06 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006222/0.7873, allocations: 0 / 0.9747 GB, free: 14.06 MB / 0.67 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.02766/0.815, allocations: 13.05 MB / 0.9874 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.815, allocations: 12.03 kB / 0.9874 GB, free: 0.875 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.827, allocations: 2.535 MB / 0.9899 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/0.8553, allocations: 13.07 MB / 1.003 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006609/0.856, allocations: 0.8057 MB / 1.003 GB, free: 344 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.8584, allocations: 0.9724 MB / 1.004 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.8828, allocations: 14.18 MB / 1.018 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.8831, allocations: 35.72 kB / 1.018 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009805/0.8841, allocations: 420 kB / 1.019 GB, free: 320 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003073/0.8844, allocations: 406.6 kB / 1.019 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02152/0.9059, allocations: 12.03 MB / 1.031 GB, free: 3.871 MB / 0.7169 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.5562/1.462, allocations: 61.61 MB / 1.091 GB, free: 251.3 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/1.478, allocations: 9.384 MB / 1.1 GB, free: 250 MB / 0.7482 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 evalFunc (simulation): time 0.03053/1.509, allocations: 18.8 MB / 1.119 GB, free: 237.7 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004905/1.514, allocations: 3.831 MB / 1.122 GB, free: 235.4 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005009/1.519, allocations: 0.8058 MB / 1.123 GB, free: 235.3 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=561): time 9.829e-06/1.519, allocations: 0 / 1.123 GB, free: 235.3 MB / 0.7482 GB Notification: Performance of matching and sorting (n=588): time 0.03997/1.559, allocations: 22.3 MB / 1.145 GB, free: 223.6 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/1.559, allocations: 190.2 kB / 1.145 GB, free: 223.4 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.571, allocations: 10.51 MB / 1.155 GB, free: 212.9 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/1.572, allocations: 133.7 kB / 1.155 GB, free: 212.8 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003769/1.576, allocations: 5.932 MB / 1.161 GB, free: 206.9 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.578, allocations: 2.046 MB / 1.163 GB, free: 204.9 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/1.578, allocations: 143.9 kB / 1.163 GB, free: 204.7 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0002358/1.578, allocations: 0.5879 MB / 1.164 GB, free: 204.1 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004472/1.583, allocations: 3.387 MB / 1.167 GB, free: 200.8 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004923/1.588, allocations: 5.41 MB / 1.172 GB, free: 194.6 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/1.593, allocations: 4.602 MB / 1.177 GB, free: 190 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/1.593, allocations: 16 kB / 1.177 GB, free: 190 MB / 0.7482 GB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01445/1.607, allocations: 10.94 MB / 1.188 GB, free: 179 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.004503/1.612, allocations: 32.64 MB / 1.22 GB, free: 144.5 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-05/1.612, allocations: 56 kB / 1.22 GB, free: 144.4 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/1.614, allocations: 0.9918 MB / 1.221 GB, free: 143.4 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006788/1.621, allocations: 1.774 MB / 1.222 GB, free: 141.6 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.633, allocations: 21.26 MB / 1.243 GB, free: 119 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009789/1.642, allocations: 0.9655 MB / 1.244 GB, free: 118 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.643, allocations: 335.9 kB / 1.244 GB, free: 117.7 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.643, allocations: 5.25 kB / 1.244 GB, free: 117.7 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01476/1.658, allocations: 10.02 MB / 1.254 GB, free: 107.6 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.658, allocations: 60 kB / 1.254 GB, free: 107.5 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.66, allocations: 0.9857 MB / 1.255 GB, free: 106.5 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006088/1.666, allocations: 1.759 MB / 1.257 GB, free: 104.7 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/1.678, allocations: 21.23 MB / 1.278 GB, free: 82.07 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009168/1.687, allocations: 0.9277 MB / 1.278 GB, free: 81.14 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008636/1.688, allocations: 327.9 kB / 1.279 GB, free: 80.82 MB / 0.7482 GB Warning: Assuming fixed start value for the following 30 variables: pipe4.vol[2].dynBal.U:VARIABLE(start = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[2].dynBal.p_start, pipe4.vol[2].dynBal.T_start, {})) + (pipe4.vol[2].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[1].dynBal.p_start, pipe4.vol[1].dynBal.T_start, {})) + (pipe4.vol[1].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[2].dynBal.p_start, pipe3.vol[2].dynBal.T_start, {})) + (pipe3.vol[2].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[1].dynBal.p_start, pipe3.vol[1].dynBal.T_start, {})) + (pipe3.vol[1].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (storage.vol_HX_1.dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[8].dynBal.p_start, storage.vol[8].dynBal.T_start, {})) + (storage.vol[8].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[7].dynBal.p_start, storage.vol[7].dynBal.T_start, {})) + (storage.vol[7].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[6].dynBal.p_start, storage.vol[6].dynBal.T_start, {})) + (storage.vol[6].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[5].dynBal.p_start, storage.vol[5].dynBal.T_start, {})) + (storage.vol[5].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (storage.vol[4].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (storage.vol[3].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 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.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[2].dynBal.p_start, pipe2.vol[2].dynBal.T_start, {})) + (pipe2.vol[2].dynBal.T_start - 273.15) * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[1].dynBal.p_start, pipe2.vol[1].dynBal.T_start, {})) + (pipe2.vol[1].dynBal.T_start - 273.15) * 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 = 35342917352.88517 * false * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[2].dynBal.p_start, pipe1.vol[2].dynBal.T_start, {})) + (pipe1.vol[2].dynBal.T_start - 273.15) * 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 = 35342917352.88517 * false * pipe1.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[1].dynBal.p_start, pipe1.vol[1].dynBal.T_start, {})) + (pipe1.vol[1].dynBal.T_start - 273.15) * 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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.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(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = collector.vol[1].T_start unit = "K" fixed = true 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.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 839 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007001/1.695, allocations: 5.147 MB / 1.284 GB, free: 75.67 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002432/1.697, allocations: 0.9955 MB / 1.285 GB, free: 74.66 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.712, allocations: 9.8 MB / 1.294 GB, free: 64.77 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/1.712, allocations: 56 kB / 1.294 GB, free: 64.71 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/1.712, allocations: 19.94 kB / 1.294 GB, free: 64.69 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009625/1.721, allocations: 7.506 MB / 1.302 GB, free: 57.07 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0319/1.753, allocations: 20.99 MB / 1.322 GB, free: 35.95 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.753, allocations: 4.469 kB / 1.322 GB, free: 35.95 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004854/1.758, allocations: 1.244 MB / 1.323 GB, free: 34.7 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/1.76, allocations: 0.9139 MB / 1.324 GB, free: 33.75 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/1.76, allocations: 163.9 kB / 1.325 GB, free: 33.59 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/1.772, allocations: 21.13 MB / 1.345 GB, free: 11.01 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.772, allocations: 7.953 kB / 1.345 GB, free: 11 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2811/2.053, allocations: 14.81 MB / 1.36 GB, free: 245 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007166/2.06, allocations: 2.354 MB / 1.362 GB, free: 244.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00177/2.062, allocations: 129.5 kB / 1.362 GB, free: 244.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006923/2.069, allocations: 0.8573 MB / 1.363 GB, free: 244.9 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007911/2.07, allocations: 396.7 kB / 1.363 GB, free: 244.9 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005955/2.07, allocations: 254.9 kB / 1.364 GB, free: 244.9 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.01212/2.082, allocations: 7.488 MB / 1.371 GB, free: 244.6 MB / 0.7482 GB Notification: Performance of sort global known variables: time 3.61e-07/2.083, allocations: 0 / 1.371 GB, free: 244.6 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.01857/2.101, allocations: 5.66 MB / 1.376 GB, free: 244.6 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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_HX_1.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) * 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 (544): * Single equations (assignments): 528 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003009/2.104, allocations: 1.734 MB / 1.378 GB, free: 244.5 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.01885/2.123, allocations: 16.43 MB / 1.394 GB, free: 239.7 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.123, allocations: 10.56 kB / 1.394 GB, free: 239.7 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.006221/2.129, allocations: 5.52 MB / 1.4 GB, free: 237 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02213/2.151, allocations: 5.697 MB / 1.405 GB, free: 235.9 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/2.185, allocations: 30.33 MB / 1.435 GB, free: 212.7 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005444/2.19, allocations: 8.114 MB / 1.443 GB, free: 204.5 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.0136/2.204, allocations: 4.778 MB / 1.447 GB, free: 199.8 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/2.206, allocations: 0.8466 MB / 1.448 GB, free: 199 MB / 0.7482 GB Notification: Performance of SimCode: time 9.01e-07/2.206, allocations: 0 / 1.448 GB, free: 199 MB / 0.7482 GB Notification: Performance of Templates: time 0.4934/2.699, allocations: 209.6 MB / 1.653 GB, free: 233.9 MB / 0.7482 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: