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: "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009413, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001119/0.001119, allocations: 172.7 kB / 15.95 MB, free: 208 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.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 274.5 kB / 291.3 MB, free: 1.953 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.9575/0.9575, allocations: 144.7 MB / 487.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 20.55 kB / 0.5686 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1783, allocations: 83.08 MB / 0.6497 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.717/0.8954, allocations: 207.2 MB / 0.8521 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.07179/0.9672, allocations: 45.65 MB / 0.8967 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01634/0.9836, allocations: 241.6 kB / 0.8969 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.9956, allocations: 2.197 MB / 0.899 GB, free: 13 MB / 0.5919 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: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.03204/1.028, allocations: 7.045 MB / 0.9059 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01803/1.046, allocations: 3.809 MB / 0.9096 GB, free: 4.766 MB / 0.5919 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.06238/1.108, allocations: 45.61 MB / 0.9542 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0246/1.133, allocations: 11.98 MB / 0.9659 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03652/1.169, allocations: 14.34 MB / 0.9799 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02312/1.193, allocations: 10.48 MB / 0.9901 GB, free: 2.621 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005611/1.198, allocations: 0.5508 MB / 0.9907 GB, free: 2.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02741/1.226, allocations: 5.147 MB / 0.9957 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.01136/1.237, allocations: 2.68 MB / 0.9983 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01059/1.248, allocations: 2.983 MB / 1.001 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02847/1.276, allocations: 19.09 MB / 1.02 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.276, allocations: 3.938 kB / 1.02 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.907e-06/1.276, allocations: 0 / 1.02 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0008928/1.277, allocations: 4 kB / 1.02 GB, free: 4.078 MB / 0.7012 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.03568/1.313, allocations: 13.09 MB / 1.033 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/1.313, allocations: 8.031 kB / 1.033 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006093/1.319, allocations: 1.339 MB / 1.034 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/1.333, allocations: 2.543 MB / 1.036 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03794/1.371, allocations: 15.23 MB / 1.051 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009373/1.372, allocations: 0.8057 MB / 1.052 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003945/1.376, allocations: 0.9685 MB / 1.053 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7463/2.123, allocations: 14.26 MB / 1.067 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004837/2.123, allocations: 38.88 kB / 1.067 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002777/2.126, allocations: 420.6 kB / 1.067 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005821/2.127, allocations: 408.2 kB / 1.068 GB, free: 261.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/2.156, allocations: 12.04 MB / 1.08 GB, free: 258 MB / 0.7325 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.08152/2.237, allocations: 61.02 MB / 1.139 GB, free: 205.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/2.252, allocations: 8.995 MB / 1.148 GB, free: 197 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007755/2.26, allocations: 4.891 MB / 1.153 GB, free: 192.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04276/2.303, allocations: 18.32 MB / 1.171 GB, free: 173.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00793/2.311, allocations: 3.829 MB / 1.174 GB, free: 169.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006997/2.318, allocations: 0.7317 MB / 1.175 GB, free: 168.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=557): time 2.298e-05/2.318, allocations: 0 / 1.175 GB, free: 168.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=584): time 0.06249/2.38, allocations: 22.09 MB / 1.197 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/2.381, allocations: 189.1 kB / 1.197 GB, free: 146.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02247/2.403, allocations: 9.429 MB / 1.206 GB, free: 136.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00179/2.405, allocations: 137.7 kB / 1.206 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.007239/2.412, allocations: 5.923 MB / 1.212 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00336/2.416, allocations: 2.031 MB / 1.214 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/2.417, allocations: 139.9 kB / 1.214 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0006535/2.418, allocations: 0.5956 MB / 1.215 GB, free: 127.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006895/2.425, allocations: 3.367 MB / 1.218 GB, free: 124.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008308/2.433, allocations: 5.456 MB / 1.223 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008658/2.442, allocations: 4.578 MB / 1.228 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.19e-05/2.442, allocations: 20 kB / 1.228 GB, free: 113.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02589/2.468, allocations: 10.91 MB / 1.238 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/2.469, allocations: 1.885 MB / 1.24 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/2.469, allocations: 60 kB / 1.24 GB, free: 99.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/2.471, allocations: 0.9767 MB / 1.241 GB, free: 98.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008/2.479, allocations: 1.821 MB / 1.243 GB, free: 97.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/2.494, allocations: 20.89 MB / 1.263 GB, free: 74.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01204/2.506, allocations: 0.9163 MB / 1.264 GB, free: 73.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/2.509, allocations: 335.9 kB / 1.265 GB, free: 73.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/2.509, allocations: 4.562 kB / 1.265 GB, free: 73.46 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02443/2.533, allocations: 9.997 MB / 1.274 GB, free: 63.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/2.533, allocations: 61 kB / 1.274 GB, free: 63.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/2.535, allocations: 0.9694 MB / 1.275 GB, free: 62.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007812/2.543, allocations: 1.814 MB / 1.277 GB, free: 60.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/2.557, allocations: 20.9 MB / 1.298 GB, free: 38.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/2.569, allocations: 0.8698 MB / 1.298 GB, free: 37.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002009/2.571, allocations: 335.9 kB / 1.299 GB, free: 36.94 MB / 0.7325 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.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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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 = 0.0007853981633974483 * 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: 269 * 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 (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.01159/2.583, allocations: 5.119 MB / 1.304 GB, free: 31.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004129/2.587, allocations: 0.9955 MB / 1.305 GB, free: 30.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02466/2.611, allocations: 9.712 MB / 1.314 GB, free: 21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.257e-05/2.612, allocations: 60 kB / 1.314 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.141e-05/2.612, allocations: 8 kB / 1.314 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0161/2.628, allocations: 7.443 MB / 1.322 GB, free: 13.38 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5392/3.167, allocations: 20.47 MB / 1.342 GB, free: 233.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/3.167, allocations: 3.688 kB / 1.342 GB, free: 233.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007227/3.174, allocations: 1.285 MB / 1.343 GB, free: 233.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/3.177, allocations: 0.8908 MB / 1.344 GB, free: 233.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001635/3.179, allocations: 166.6 kB / 1.344 GB, free: 233.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/3.197, allocations: 20.76 MB / 1.364 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.197, allocations: 1.969 kB / 1.364 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02675/3.224, allocations: 13.73 MB / 1.377 GB, free: 216 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009019/3.233, allocations: 2.107 MB / 1.38 GB, free: 215.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005369/3.238, allocations: 125.2 kB / 1.38 GB, free: 215.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01404/3.252, allocations: 0.8318 MB / 1.38 GB, free: 215.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002929/3.255, allocations: 386.6 kB / 1.381 GB, free: 215.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001262/3.256, allocations: 248.3 kB / 1.381 GB, free: 215.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.01903/3.276, allocations: 6.64 MB / 1.388 GB, free: 212.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.022e-06/3.276, allocations: 0 / 1.388 GB, free: 212.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.02812/3.304, allocations: 5.437 MB / 1.393 GB, free: 212.5 MB / 0.7325 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 (542): * Single equations (assignments): 526 * 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.03223/3.336, allocations: 15.79 MB / 1.408 GB, free: 203.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02828/3.364, allocations: 16.33 MB / 1.424 GB, free: 187.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.387e-05/3.364, allocations: 10.66 kB / 1.424 GB, free: 187.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.009179/3.374, allocations: 5.481 MB / 1.43 GB, free: 181.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03421/3.408, allocations: 5.776 MB / 1.435 GB, free: 176.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2779/3.686, allocations: 112.3 MB / 1.545 GB, free: 58.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01326/3.699, allocations: 7.875 MB / 1.553 GB, free: 50.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.02075/3.72, allocations: 4.695 MB / 1.557 GB, free: 45.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01165/3.732, allocations: 5.474 MB / 1.563 GB, free: 40.46 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/3.732, allocations: 0 / 1.563 GB, free: 40.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8014/4.533, allocations: 314.9 MB / 1.87 GB, free: 18.96 MB / 0.7482 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/4.533, allocations: 277.5 kB / 1.87 GB, free: 18.6 MB / 0.7482 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/15.14, allocations: 0 / 1.87 GB, free: 18.6 MB / 0.7482 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem1.fmu > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe 2>&1) Environment - environmentSimulation: