Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007841/0.007841, allocations: 168.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 270.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9211/0.9211, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003955, allocations: 12.69 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.4809/0.6209, allocations: 221.3 MB / 0.9012 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.06731/0.6883, allocations: 50.12 MB / 0.9502 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009276/0.6976, allocations: 254.4 kB / 0.9504 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01397/0.7116, allocations: 5.914 MB / 0.9562 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02331/0.7349, allocations: 8.329 MB / 0.9643 GB, free: 1.242 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.7483, allocations: 5.005 MB / 0.9692 GB, free: 12.27 MB / 0.6856 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.937472605549519e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.05712/0.8054, allocations: 56.54 MB / 1.024 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01945/0.8249, allocations: 13.61 MB / 1.038 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4031/1.228, allocations: 14.46 MB / 1.052 GB, free: 25.39 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01997/1.248, allocations: 10.99 MB / 1.063 GB, free: 24.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.004601/1.253, allocations: 0.5432 MB / 1.063 GB, free: 24.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/1.273, allocations: 6.471 MB / 1.069 GB, free: 24.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00595/1.279, allocations: 2.915 MB / 1.072 GB, free: 24.04 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01403/1.293, allocations: 7.283 MB / 1.079 GB, free: 21.81 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02646/1.319, allocations: 23.7 MB / 1.103 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.319, allocations: 0 / 1.103 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.405e-06/1.319, allocations: 0 / 1.103 GB, free: 19.44 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0006181/1.32, allocations: 0 / 1.103 GB, free: 19.44 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2536 * Number of variables: 2536 Notification: Performance of Generate backend data structure: time 0.02634/1.346, allocations: 13.2 MB / 1.115 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.346, allocations: 17.31 kB / 1.115 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/1.359, allocations: 2.577 MB / 1.118 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02645/1.385, allocations: 16.11 MB / 1.134 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005884/1.386, allocations: 0.8141 MB / 1.134 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002677/1.388, allocations: 0.9752 MB / 1.135 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/1.414, allocations: 14.36 MB / 1.149 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000257/1.414, allocations: 44.48 kB / 1.149 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/1.416, allocations: 422.8 kB / 1.15 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002537/1.416, allocations: 408.4 kB / 1.15 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/1.438, allocations: 12.13 MB / 1.162 GB, free: 2.965 MB / 0.7481 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.08771/1.526, allocations: 61.59 MB / 1.222 GB, free: 3.152 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01729/1.543, allocations: 8.989 MB / 1.231 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008354/1.552, allocations: 4.893 MB / 1.236 GB, free: 6.211 MB / 0.8106 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.03194/1.584, allocations: 18.37 MB / 1.254 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006373/1.59, allocations: 3.825 MB / 1.258 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005764/1.596, allocations: 0.7448 MB / 1.258 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=556): time 1.026e-05/1.596, allocations: 4 kB / 1.258 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=583): time 0.04876/1.645, allocations: 22.24 MB / 1.28 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.645, allocations: 185.1 kB / 1.28 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01545/1.66, allocations: 10.09 MB / 1.29 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001202/1.662, allocations: 141.7 kB / 1.29 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.005639/1.667, allocations: 6.074 MB / 1.296 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.002687/1.67, allocations: 2.043 MB / 1.298 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009303/1.671, allocations: 0.62 MB / 1.299 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/1.671, allocations: 307.6 kB / 1.299 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006231/1.677, allocations: 3.582 MB / 1.302 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007594/1.685, allocations: 5.699 MB / 1.308 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3174/2.002, allocations: 42.11 MB / 1.349 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/2.002, allocations: 20 kB / 1.349 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=978) (initialization): time 0.02119/2.024, allocations: 11.47 MB / 1.36 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001195/2.025, allocations: 1.914 MB / 1.362 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.948e-05/2.025, allocations: 63.98 kB / 1.362 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/2.027, allocations: 0.9728 MB / 1.363 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007698/2.035, allocations: 1.867 MB / 1.365 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3183/2.353, allocations: 20.93 MB / 1.386 GB, free: 419.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/2.364, allocations: 0.9248 MB / 1.386 GB, free: 419.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/2.366, allocations: 342.9 kB / 1.387 GB, free: 419.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/2.366, allocations: 5.188 kB / 1.387 GB, free: 419.4 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01857/2.384, allocations: 10.51 MB / 1.397 GB, free: 418.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/2.384, allocations: 61.66 kB / 1.397 GB, free: 418.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/2.386, allocations: 0.969 MB / 1.398 GB, free: 418.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007853/2.394, allocations: 1.864 MB / 1.4 GB, free: 418.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/2.409, allocations: 20.92 MB / 1.42 GB, free: 401.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.419, allocations: 0.8961 MB / 1.421 GB, free: 401.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/2.42, allocations: 337 kB / 1.421 GB, free: 401.4 MB / 0.9512 GB Warning: Assuming fixed start value for the following 30 variables: 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 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] 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[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[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[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[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[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[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[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[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] pipe1.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] 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] 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[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[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[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[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[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[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_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_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_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 pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 273 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.control.y,control.y,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (883): * Single equations (assignments): 870 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.009198/2.429, allocations: 5.233 MB / 1.427 GB, free: 399.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/2.432, allocations: 1.035 MB / 1.428 GB, free: 399.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/2.447, allocations: 9.735 MB / 1.437 GB, free: 395.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.798e-05/2.447, allocations: 59.53 kB / 1.437 GB, free: 395.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/2.447, allocations: 10.16 kB / 1.437 GB, free: 395.7 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01158/2.459, allocations: 7.458 MB / 1.444 GB, free: 392.9 MB / 0.9512 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.03339/2.492, allocations: 20.68 MB / 1.465 GB, free: 385.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/2.492, allocations: 7.094 kB / 1.465 GB, free: 385.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005472/2.498, allocations: 1.278 MB / 1.466 GB, free: 385 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/2.5, allocations: 0.8968 MB / 1.467 GB, free: 384.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004652/2.5, allocations: 173.5 kB / 1.467 GB, free: 384.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/2.513, allocations: 20.78 MB / 1.487 GB, free: 367 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.513, allocations: 11.56 kB / 1.487 GB, free: 367 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/2.532, allocations: 13.79 MB / 1.501 GB, free: 354.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005543/2.538, allocations: 2.162 MB / 1.503 GB, free: 353.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002789/2.54, allocations: 131.3 kB / 1.503 GB, free: 353 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008116/2.549, allocations: 0.8318 MB / 1.504 GB, free: 352.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007913/2.549, allocations: 387.9 kB / 1.504 GB, free: 351.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005172/2.55, allocations: 251.8 kB / 1.504 GB, free: 351.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.01043/2.56, allocations: 7.096 MB / 1.511 GB, free: 344.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/2.56, allocations: 0 / 1.511 GB, free: 344.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01956/2.58, allocations: 5.598 MB / 1.517 GB, free: 339.1 MB / 0.9512 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 (541): * Single equations (assignments): 525 * 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.004014/2.584, allocations: 1.785 MB / 1.518 GB, free: 337.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02333/2.607, allocations: 16.94 MB / 1.535 GB, free: 320.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/2.607, allocations: 10.66 kB / 1.535 GB, free: 320.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.006891/2.614, allocations: 5.495 MB / 1.54 GB, free: 315.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03475/2.649, allocations: 5.997 MB / 1.546 GB, free: 309.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04114/2.69, allocations: 32.25 MB / 1.578 GB, free: 277.1 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007747/2.698, allocations: 8.057 MB / 1.586 GB, free: 269 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0165/2.715, allocations: 4.874 MB / 1.59 GB, free: 264.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/2.717, allocations: 0.8388 MB / 1.591 GB, free: 263.4 MB / 0.9512 GB Notification: Performance of SimCode: time 7.71e-07/2.717, allocations: 0 / 1.591 GB, free: 263.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.2696/2.987, allocations: 213.5 MB / 1.8 GB, free: 51.36 MB / 0.9512 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)