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.001096/0.001096, allocations: 98.53 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.001202/0.001202, allocations: 177.3 kB / 15.94 MB, free: 228 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.48/1.48, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.001971, allocations: 267.1 kB / 291.2 MB, free: 1.926 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.9028/0.9028, allocations: 144.6 MB / 487 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 13.03 kB / 0.5684 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1631, allocations: 83.09 MB / 0.6495 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.6298/0.793, allocations: 228.1 MB / 0.8723 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.08285/0.8759, allocations: 52.02 MB / 0.9231 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/0.8891, allocations: 278.2 kB / 0.9233 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01524/0.9045, allocations: 3.603 MB / 0.9269 GB, free: 15.74 MB / 0.6231 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.03694/0.9414, allocations: 10.88 MB / 0.9375 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.02137/0.9628, allocations: 6.341 MB / 0.9437 GB, free: 14.59 MB / 0.6388 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.04447/1.007, allocations: 25.09 MB / 0.9682 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0239/1.031, allocations: 12.78 MB / 0.9807 GB, free: 8.598 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0364/1.068, allocations: 14.33 MB / 0.9947 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01938/1.087, allocations: 8.153 MB / 1.003 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.005385/1.093, allocations: 0.5977 MB / 1.003 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02353/1.116, allocations: 5.723 MB / 1.009 GB, free: 11.76 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.006701/1.123, allocations: 2.833 MB / 1.012 GB, free: 8.918 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.009142/1.132, allocations: 3.228 MB / 1.015 GB, free: 5.676 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.03383/1.166, allocations: 20.45 MB / 1.035 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/1.166, allocations: 0 / 1.035 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.737e-06/1.166, allocations: 3.938 kB / 1.035 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001101/1.167, allocations: 0 / 1.035 GB, free: 1.18 MB / 0.7169 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.04257/1.21, allocations: 14.21 MB / 1.049 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/1.21, allocations: 8.031 kB / 1.049 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007106/1.217, allocations: 1.429 MB / 1.05 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01828/1.235, allocations: 3.084 MB / 1.053 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7079/1.943, allocations: 14.43 MB / 1.067 GB, free: 272.8 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/1.945, allocations: 0.8597 MB / 1.068 GB, free: 272.7 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004001/1.949, allocations: 1.047 MB / 1.069 GB, free: 272.7 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04094/1.99, allocations: 15.13 MB / 1.084 GB, free: 271.2 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007365/1.99, allocations: 43.06 kB / 1.084 GB, free: 271.2 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003238/1.994, allocations: 447.7 kB / 1.084 GB, free: 271.2 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/1.994, allocations: 440.7 kB / 1.085 GB, free: 271.2 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/2.028, allocations: 12.94 MB / 1.097 GB, free: 267.1 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 removeSimpleEquations (simulation): time 0.1068/2.134, allocations: 66.69 MB / 1.162 GB, free: 207.1 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/2.155, allocations: 9.26 MB / 1.171 GB, free: 198 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.04812/2.203, allocations: 20.3 MB / 1.191 GB, free: 177.2 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01138/2.214, allocations: 4.37 MB / 1.195 GB, free: 172.8 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00933/2.224, allocations: 0.9974 MB / 1.196 GB, free: 171.9 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=618): time 2.555e-05/2.224, allocations: 0 / 1.196 GB, free: 171.9 MB / 0.7482 GB Notification: Performance of matching and sorting (n=647): time 0.07586/2.3, allocations: 25 MB / 1.221 GB, free: 146.8 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/2.3, allocations: 201.5 kB / 1.221 GB, free: 146.6 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02273/2.323, allocations: 11.2 MB / 1.232 GB, free: 135.4 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.002053/2.325, allocations: 149.7 kB / 1.232 GB, free: 135.3 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.008029/2.333, allocations: 6.455 MB / 1.238 GB, free: 128.8 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004468/2.337, allocations: 2.246 MB / 1.241 GB, free: 126.6 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/2.339, allocations: 148 kB / 1.241 GB, free: 126.4 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0008126/2.34, allocations: 0.6128 MB / 1.241 GB, free: 125.8 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008956/2.349, allocations: 3.781 MB / 1.245 GB, free: 122 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/2.36, allocations: 5.977 MB / 1.251 GB, free: 115.2 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/2.37, allocations: 5.039 MB / 1.256 GB, free: 110.1 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.131e-05/2.37, allocations: 16 kB / 1.256 GB, free: 110.1 MB / 0.7482 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.02886/2.399, allocations: 12.01 MB / 1.268 GB, free: 98.06 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.007476/2.407, allocations: 36.03 MB / 1.303 GB, free: 58.81 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/2.407, allocations: 60 kB / 1.303 GB, free: 58.75 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/2.409, allocations: 0.9901 MB / 1.304 GB, free: 57.73 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/2.419, allocations: 2.089 MB / 1.306 GB, free: 55.64 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/2.434, allocations: 21.25 MB / 1.327 GB, free: 32.93 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/2.448, allocations: 1.108 MB / 1.328 GB, free: 31.82 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/2.449, allocations: 375.9 kB / 1.328 GB, free: 31.45 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/2.449, allocations: 4 kB / 1.328 GB, free: 31.45 MB / 0.7482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02284/2.472, allocations: 10.95 MB / 1.339 GB, free: 20.41 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/2.473, allocations: 64.19 kB / 1.339 GB, free: 20.35 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/2.474, allocations: 0.9892 MB / 1.34 GB, free: 19.33 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009737/2.484, allocations: 2.059 MB / 1.342 GB, free: 17.27 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4519/2.936, allocations: 21.24 MB / 1.362 GB, free: 239.2 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0141/2.95, allocations: 1.066 MB / 1.364 GB, free: 239.2 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/2.952, allocations: 365.6 kB / 1.364 GB, free: 239.2 MB / 0.7482 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * 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 = 1.570796326794897 * (0.5 * false) ^ 2.0 * true * 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 = 35342917352.88517 * false * 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 = 35342917352.88517 * false * 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: 278 * 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 (931): * Single equations (assignments): 918 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01422/2.967, allocations: 5.348 MB / 1.369 GB, free: 238.9 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004211/2.971, allocations: 1.092 MB / 1.37 GB, free: 238.9 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02673/2.998, allocations: 10.88 MB / 1.381 GB, free: 238.4 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.813e-05/2.998, allocations: 67.78 kB / 1.381 GB, free: 238.4 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.051e-05/2.998, allocations: 9.938 kB / 1.381 GB, free: 238.4 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01756/3.015, allocations: 8.485 MB / 1.389 GB, free: 238 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0644/3.08, allocations: 22.92 MB / 1.412 GB, free: 229.5 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/3.08, allocations: 3.938 kB / 1.412 GB, free: 229.5 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008441/3.088, allocations: 1.515 MB / 1.413 GB, free: 229.4 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/3.091, allocations: 0.9111 MB / 1.414 GB, free: 229.1 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00172/3.092, allocations: 194.3 kB / 1.414 GB, free: 228.9 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/3.109, allocations: 21.12 MB / 1.435 GB, free: 209.8 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.109, allocations: 1.656 kB / 1.435 GB, free: 209.8 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03279/3.142, allocations: 15.6 MB / 1.45 GB, free: 197.4 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01002/3.152, allocations: 2.538 MB / 1.452 GB, free: 195.3 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005554/3.158, allocations: 140 kB / 1.453 GB, free: 195.2 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01336/3.171, allocations: 1.01 MB / 1.454 GB, free: 194.3 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001755/3.173, allocations: 428.6 kB / 1.454 GB, free: 193.8 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00159/3.174, allocations: 291.8 kB / 1.454 GB, free: 193.6 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.01703/3.191, allocations: 7.767 MB / 1.462 GB, free: 185.9 MB / 0.7482 GB Notification: Performance of sort global known variables: time 8.81e-07/3.192, allocations: 0 / 1.462 GB, free: 185.9 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.03439/3.226, allocations: 6.09 MB / 1.468 GB, free: 179.9 MB / 0.7482 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 (618): * Single equations (assignments): 600 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04019/3.266, allocations: 18.03 MB / 1.485 GB, free: 162.4 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.03554/3.302, allocations: 17.96 MB / 1.503 GB, free: 144.3 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/3.302, allocations: 10.66 kB / 1.503 GB, free: 144.3 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.01175/3.314, allocations: 6.042 MB / 1.509 GB, free: 138.1 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03204/3.346, allocations: 5.826 MB / 1.515 GB, free: 132.6 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09845/3.444, allocations: 82.96 MB / 1.596 GB, free: 48.41 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/3.457, allocations: 8.601 MB / 1.604 GB, free: 39.76 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.02288/3.48, allocations: 5.082 MB / 1.609 GB, free: 34.75 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01219/3.493, allocations: 6.107 MB / 1.615 GB, free: 28.64 MB / 0.7482 GB Notification: Performance of SimCode: time 1.182e-06/3.493, allocations: 0 / 1.615 GB, free: 28.64 MB / 0.7482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.339/4.831, allocations: 331.5 MB / 1.939 GB, free: 198.9 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/4.832, allocations: 274.8 kB / 1.939 GB, free: 198.5 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/17.41, allocations: 0 / 1.939 GB, free: 198.5 MB / 0.7638 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: