Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.SolarThermalSystem2,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2",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.0009135/0.0009136, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0011/0.0011, allocations: 168.7 kB / 15.95 MB, free: 204 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 282 kB / 291.3 MB, free: 1.969 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.9603/0.9603, allocations: 144.7 MB / 487.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004314, allocations: 14.61 kB / 0.5686 GB, free: 38.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 83.08 MB / 0.6497 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.6174/0.7817, allocations: 252.3 MB / 0.8961 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.08889/0.8706, allocations: 56.17 MB / 0.951 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01833/0.889, allocations: 294.2 kB / 0.9512 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01606/0.9051, allocations: 2.636 MB / 0.9538 GB, free: 8.117 MB / 0.6387 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: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.03447/0.9397, allocations: 8.311 MB / 0.9619 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0189/0.9586, allocations: 4.655 MB / 0.9665 GB, free: 11.15 MB / 0.6544 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.06289/1.021, allocations: 49.03 MB / 1.014 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02861/1.05, allocations: 12.75 MB / 1.027 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04369/1.094, allocations: 15.75 MB / 1.042 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02563/1.12, allocations: 11.3 MB / 1.053 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.006442/1.126, allocations: 0.6016 MB / 1.054 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072/2.198, allocations: 5.62 MB / 1.059 GB, free: 36.33 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01029/2.208, allocations: 2.96 MB / 1.062 GB, free: 36.33 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01488/2.223, allocations: 3.227 MB / 1.065 GB, free: 36.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03528/2.258, allocations: 20.61 MB / 1.085 GB, free: 35.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/2.259, allocations: 2.656 kB / 1.085 GB, free: 35.56 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.806e-06/2.259, allocations: 0 / 1.085 GB, free: 35.56 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001155/2.26, allocations: 3.969 kB / 1.085 GB, free: 35.56 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.04782/2.308, allocations: 14.24 MB / 1.099 GB, free: 29.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/2.308, allocations: 8.531 kB / 1.099 GB, free: 29.68 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008321/2.316, allocations: 1.424 MB / 1.101 GB, free: 29.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/2.335, allocations: 3.087 MB / 1.104 GB, free: 28.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04525/2.38, allocations: 16.42 MB / 1.12 GB, free: 26.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001385/2.381, allocations: 0.8638 MB / 1.121 GB, free: 26.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005559/2.387, allocations: 1.042 MB / 1.122 GB, free: 26.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04947/2.436, allocations: 15.1 MB / 1.136 GB, free: 25.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008881/2.437, allocations: 42.75 kB / 1.136 GB, free: 25.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005075/2.442, allocations: 451.4 kB / 1.137 GB, free: 25.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005002/2.443, allocations: 437.9 kB / 1.137 GB, free: 25.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03463/2.478, allocations: 12.79 MB / 1.15 GB, free: 23.4 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.1144/2.592, allocations: 65.85 MB / 1.214 GB, free: 12.68 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0235/2.616, allocations: 9.772 MB / 1.224 GB, free: 6.367 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01151/2.627, allocations: 5.257 MB / 1.229 GB, free: 2.859 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05559/2.683, allocations: 19.61 MB / 1.248 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01116/2.694, allocations: 4.271 MB / 1.252 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009705/2.704, allocations: 0.9224 MB / 1.253 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=614): time 4.158e-05/2.704, allocations: 0 / 1.253 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=643): time 0.07883/2.783, allocations: 24.31 MB / 1.277 GB, free: 14.54 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/2.783, allocations: 201.1 kB / 1.277 GB, free: 14.31 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02533/2.808, allocations: 10.1 MB / 1.287 GB, free: 6.969 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001934/2.81, allocations: 149.1 kB / 1.287 GB, free: 6.906 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.009106/2.819, allocations: 6.435 MB / 1.293 GB, free: 2.449 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004215/2.824, allocations: 2.237 MB / 1.295 GB, free: 236 kB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/2.825, allocations: 150.3 kB / 1.296 GB, free: 88 kB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0009065/2.826, allocations: 0.6166 MB / 1.296 GB, free: 15.46 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008662/2.835, allocations: 3.673 MB / 1.3 GB, free: 11.79 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/2.846, allocations: 5.953 MB / 1.306 GB, free: 4.91 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.857, allocations: 4.951 MB / 1.31 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-05/2.857, allocations: 16 kB / 1.31 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.03117/2.888, allocations: 11.8 MB / 1.322 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.001542/2.89, allocations: 2.011 MB / 1.324 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/2.89, allocations: 60 kB / 1.324 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/2.892, allocations: 0.9837 MB / 1.325 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009417/2.902, allocations: 2.005 MB / 1.327 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0183/2.92, allocations: 20.9 MB / 1.347 GB, free: 8.34 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01287/2.933, allocations: 0.9963 MB / 1.348 GB, free: 7.34 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/2.935, allocations: 363.9 kB / 1.349 GB, free: 6.984 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/2.935, allocations: 9.562 kB / 1.349 GB, free: 6.977 MB / 0.8732 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02839/2.964, allocations: 10.78 MB / 1.359 GB, free: 12.54 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002819/2.964, allocations: 67.47 kB / 1.359 GB, free: 12.47 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/2.966, allocations: 0.9785 MB / 1.36 GB, free: 11.46 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009591/2.976, allocations: 1.988 MB / 1.362 GB, free: 9.586 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4868/3.463, allocations: 20.9 MB / 1.383 GB, free: 365.9 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/3.478, allocations: 0.9759 MB / 1.383 GB, free: 365.9 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002492/3.48, allocations: 358 kB / 1.384 GB, free: 365.9 MB / 0.8888 GB Warning: Assuming fixed start value for the following 30 variables: pump2.vol.dynBal.U:VARIABLE(start = pump2.vol.dynBal.fluidVolume * pump2.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump2.vol.dynBal.Medium.setState_pTX(pump2.vol.dynBal.p_start, pump2.vol.dynBal.T_start, {})) + (pump2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.SolarThermalSystem2.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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] pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump1.vol.dynBal.Medium.setState_pTX(pump1.vol.dynBal.p_start, pump1.vol.dynBal.T_start, {})) + (pump1.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: 286 * 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 (929): * Single equations (assignments): 916 * Array equations: 2 * 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.01853/3.499, allocations: 5.318 MB / 1.389 GB, free: 365.6 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005899/3.505, allocations: 1.089 MB / 1.39 GB, free: 365.6 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/3.538, allocations: 10.61 MB / 1.4 GB, free: 365.1 MB / 0.8888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-05/3.538, allocations: 66.31 kB / 1.401 GB, free: 365.1 MB / 0.8888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/3.538, allocations: 8.219 kB / 1.401 GB, free: 365.1 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01949/3.558, allocations: 8.26 MB / 1.409 GB, free: 364.6 MB / 0.8888 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.07206/3.63, allocations: 22.15 MB / 1.43 GB, free: 356.3 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.306e-05/3.63, allocations: 7 kB / 1.43 GB, free: 356.3 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007988/3.638, allocations: 1.451 MB / 1.432 GB, free: 356.3 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/3.64, allocations: 0.8924 MB / 1.433 GB, free: 356 MB / 0.8888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001894/3.642, allocations: 187.1 kB / 1.433 GB, free: 355.9 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/3.658, allocations: 20.75 MB / 1.453 GB, free: 338.3 MB / 0.8888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/3.658, allocations: 7.891 kB / 1.453 GB, free: 338.3 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03614/3.694, allocations: 15.06 MB / 1.468 GB, free: 333 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01021/3.704, allocations: 2.27 MB / 1.47 GB, free: 332.3 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005677/3.71, allocations: 142.4 kB / 1.47 GB, free: 332.2 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01292/3.723, allocations: 0.9137 MB / 1.471 GB, free: 332.1 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002185/3.725, allocations: 428 kB / 1.471 GB, free: 332 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002034/3.727, allocations: 279.4 kB / 1.472 GB, free: 331.9 MB / 0.8888 GB Notification: Performance of sorting global known variables: time 0.0181/3.745, allocations: 6.89 MB / 1.478 GB, free: 328.2 MB / 0.8888 GB Notification: Performance of sort global known variables: time 1.223e-06/3.745, allocations: 3.844 kB / 1.478 GB, free: 328.2 MB / 0.8888 GB Notification: Performance of remove unused functions: time 0.03673/3.782, allocations: 5.852 MB / 1.484 GB, free: 322.5 MB / 0.8888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 36 (pump1.vol.dynBal.U,pump1.filter.s[1],pump1.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,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (616): * Single equations (assignments): 598 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04003/3.822, allocations: 17.26 MB / 1.501 GB, free: 307.7 MB / 0.8888 GB Notification: Performance of simCode: created initialization part: time 0.03462/3.857, allocations: 17.64 MB / 1.518 GB, free: 289.9 MB / 0.8888 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/3.857, allocations: 9.609 kB / 1.518 GB, free: 289.9 MB / 0.8888 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/3.869, allocations: 5.937 MB / 1.524 GB, free: 283.8 MB / 0.8888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03645/3.905, allocations: 5.888 MB / 1.53 GB, free: 278.3 MB / 0.8888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3295/4.235, allocations: 124 MB / 1.651 GB, free: 148.4 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01561/4.25, allocations: 8.355 MB / 1.659 GB, free: 140 MB / 0.8888 GB Notification: Performance of simCode: alias equations: time 0.02394/4.274, allocations: 4.965 MB / 1.664 GB, free: 135.1 MB / 0.8888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.017/4.291, allocations: 6.052 MB / 1.67 GB, free: 129.1 MB / 0.8888 GB Notification: Performance of SimCode: time 3.997e-06/4.291, allocations: 0 / 1.67 GB, free: 129.1 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8567/5.148, allocations: 333.5 MB / 1.995 GB, free: 210.1 MB / 0.8888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/5.148, allocations: 278.3 kB / 1.996 GB, free: 209.7 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/16.14, allocations: 3.375 kB / 1.996 GB, free: 209.7 MB / 0.8888 GB (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Applications_SolarThermalSystems_SolarThermalSystem2.fmu > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe 2>&1) Environment - environmentSimulation: