Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7297/0.7297, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 190.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.7 MB / 450.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.000879, allocations: 103.5 kB / 0.5211 GB, free: 1.637 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 286.6 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 11.12 kB / 0.6948 GB, free: 59.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 82.47 MB / 0.7753 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.5431/0.6841, allocations: 264.3 MB / 1.033 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0729/0.7571, allocations: 65.39 MB / 1.097 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01098/0.7681, allocations: 230.5 kB / 1.098 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.009525/0.7777, allocations: 2.611 MB / 1.1 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.02586/0.8036, allocations: 8.206 MB / 1.108 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01392/0.8175, allocations: 4.91 MB / 1.113 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.06649/0.884, allocations: 53.41 MB / 1.165 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7957/1.68, allocations: 13.54 MB / 1.178 GB, free: 75.7 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0349/1.715, allocations: 14.73 MB / 1.193 GB, free: 74.95 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0226/1.737, allocations: 10.96 MB / 1.203 GB, free: 73.02 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.005164/1.743, allocations: 0.5484 MB / 1.204 GB, free: 73.02 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02139/1.764, allocations: 6.094 MB / 1.21 GB, free: 72.86 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.007031/1.771, allocations: 2.73 MB / 1.212 GB, free: 72.34 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.02002/1.791, allocations: 7.102 MB / 1.219 GB, free: 70.2 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.03614/1.827, allocations: 23.12 MB / 1.242 GB, free: 66.12 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.827, allocations: 2.188 kB / 1.242 GB, free: 66.12 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.335e-06/1.827, allocations: 0 / 1.242 GB, free: 66.12 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 0.001059/1.828, allocations: 0 / 1.242 GB, free: 66.12 MB / 0.7293 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.03579/1.864, allocations: 12.83 MB / 1.255 GB, free: 58.86 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/1.864, allocations: 13.97 kB / 1.255 GB, free: 58.85 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/1.877, allocations: 2.426 MB / 1.257 GB, free: 57.77 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03488/1.912, allocations: 15.29 MB / 1.272 GB, free: 52.63 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/1.913, allocations: 0.7985 MB / 1.273 GB, free: 52.52 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004669/1.918, allocations: 0.978 MB / 1.274 GB, free: 52.5 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04177/1.96, allocations: 14.23 MB / 1.287 GB, free: 45.98 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007672/1.961, allocations: 42.66 kB / 1.288 GB, free: 45.96 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004116/1.965, allocations: 429.1 kB / 1.288 GB, free: 45.86 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/1.965, allocations: 406.3 kB / 1.288 GB, free: 45.47 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/1.996, allocations: 11.99 MB / 1.3 GB, free: 37.36 MB / 0.7293 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.09713/2.093, allocations: 60.93 MB / 1.36 GB, free: 0.9336 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/2.115, allocations: 8.956 MB / 1.368 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009893/2.125, allocations: 4.859 MB / 1.373 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04793/2.173, allocations: 18.29 MB / 1.391 GB, free: 10.25 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009441/2.182, allocations: 3.8 MB / 1.395 GB, free: 6.766 MB / 0.7762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00773/2.19, allocations: 0.7293 MB / 1.395 GB, free: 6.031 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=557): time 2.997e-05/2.19, allocations: 0 / 1.395 GB, free: 6.031 MB / 0.7762 GB Notification: Performance of matching and sorting (n=584): time 0.06628/2.257, allocations: 21.96 MB / 1.417 GB, free: 15.81 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/2.257, allocations: 193.1 kB / 1.417 GB, free: 15.59 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02188/2.279, allocations: 9.229 MB / 1.426 GB, free: 6.383 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.001591/2.28, allocations: 137.7 kB / 1.426 GB, free: 6.242 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.007757/2.288, allocations: 5.81 MB / 1.432 GB, free: 416 kB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.003471/2.292, allocations: 2.036 MB / 1.434 GB, free: 14.39 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/2.293, allocations: 140 kB / 1.434 GB, free: 14.25 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0007416/2.294, allocations: 0.58 MB / 1.434 GB, free: 13.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007247/2.301, allocations: 3.371 MB / 1.438 GB, free: 10.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008603/2.31, allocations: 5.453 MB / 1.443 GB, free: 3.977 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6153/2.925, allocations: 41.67 MB / 1.484 GB, free: 358 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.789e-05/2.925, allocations: 16.38 kB / 1.484 GB, free: 358 MB / 0.8543 GB Notification: Performance of matching and sorting (n=912) (initialization): time 0.02452/2.95, allocations: 10.9 MB / 1.494 GB, free: 357.2 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009221/2.951, allocations: 1.9 MB / 1.496 GB, free: 354.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.951e-05/2.951, allocations: 59.06 kB / 1.496 GB, free: 354.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/2.953, allocations: 0.9595 MB / 1.497 GB, free: 354.7 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007833/2.96, allocations: 1.814 MB / 1.499 GB, free: 354.6 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/2.974, allocations: 20.91 MB / 1.519 GB, free: 339.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/2.985, allocations: 0.9009 MB / 1.52 GB, free: 339.8 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/2.987, allocations: 333.9 kB / 1.521 GB, free: 339.8 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/2.987, allocations: 3.969 kB / 1.521 GB, free: 339.8 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01791/3.005, allocations: 9.961 MB / 1.53 GB, free: 337 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/3.005, allocations: 60.81 kB / 1.53 GB, free: 337 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/3.007, allocations: 0.9661 MB / 1.531 GB, free: 336.7 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007597/3.015, allocations: 1.806 MB / 1.533 GB, free: 336.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/3.029, allocations: 20.9 MB / 1.554 GB, free: 318.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/3.039, allocations: 0.8665 MB / 1.554 GB, free: 318.7 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/3.041, allocations: 328.6 kB / 1.555 GB, free: 318.6 MB / 0.8543 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 ($PRE.control.y,$whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01141/3.053, allocations: 5.072 MB / 1.56 GB, free: 316.6 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003575/3.056, allocations: 0.9758 MB / 1.561 GB, free: 316.6 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/3.077, allocations: 9.641 MB / 1.57 GB, free: 311.4 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/3.077, allocations: 59.94 kB / 1.57 GB, free: 311.3 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.552e-05/3.077, allocations: 10.52 kB / 1.57 GB, free: 311.3 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01274/3.09, allocations: 7.408 MB / 1.577 GB, free: 304.3 MB / 0.8543 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.04571/3.135, allocations: 20.36 MB / 1.597 GB, free: 283.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/3.136, allocations: 4 kB / 1.597 GB, free: 283.9 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006114/3.142, allocations: 1.28 MB / 1.598 GB, free: 282.6 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/3.144, allocations: 0.895 MB / 1.599 GB, free: 281.7 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001158/3.145, allocations: 162.8 kB / 1.599 GB, free: 281.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/3.158, allocations: 20.77 MB / 1.62 GB, free: 259.4 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/3.158, allocations: 7.938 kB / 1.62 GB, free: 259.4 MB / 0.8543 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02475/3.183, allocations: 13.64 MB / 1.633 GB, free: 246.1 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007125/3.19, allocations: 2.092 MB / 1.635 GB, free: 243.9 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003543/3.193, allocations: 124.2 kB / 1.635 GB, free: 243.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009255/3.203, allocations: 0.8224 MB / 1.636 GB, free: 243 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/3.204, allocations: 391.9 kB / 1.636 GB, free: 242.6 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001293/3.206, allocations: 247.8 kB / 1.637 GB, free: 242.4 MB / 0.8543 GB Notification: Performance of sorting global known variables: time 0.01295/3.219, allocations: 6.495 MB / 1.643 GB, free: 235.9 MB / 0.8543 GB Notification: Performance of sort global known variables: time 4.01e-07/3.219, allocations: 4 kB / 1.643 GB, free: 235.9 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.0235/3.242, allocations: 5.427 MB / 1.648 GB, free: 230.6 MB / 0.8543 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 (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004766/3.247, allocations: 1.708 MB / 1.65 GB, free: 229.3 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.02607/3.273, allocations: 16.29 MB / 1.666 GB, free: 212.7 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/3.273, allocations: 6.656 kB / 1.666 GB, free: 212.7 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.008092/3.281, allocations: 5.455 MB / 1.671 GB, free: 207.1 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03532/3.317, allocations: 5.82 MB / 1.677 GB, free: 201.3 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04775/3.364, allocations: 31.24 MB / 1.707 GB, free: 170 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01266/3.377, allocations: 7.806 MB / 1.715 GB, free: 162.2 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.02175/3.399, allocations: 4.741 MB / 1.72 GB, free: 157.4 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004247/3.403, allocations: 0.796 MB / 1.72 GB, free: 156.6 MB / 0.8543 GB Notification: Performance of SimCode: time 1.112e-06/3.403, allocations: 4 kB / 1.72 GB, free: 156.6 MB / 0.8543 GB Notification: Performance of Templates: time 0.6468/4.05, allocations: 213.2 MB / 1.929 GB, free: 285.5 MB / 0.8543 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile (rm -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.sim & ./BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe 2>&1)