Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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.AirConditioningSystems.PhotovoltaicCoolingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem") translateModel(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 97.72 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.005636/0.005637, allocations: 170.5 kB / 16.27 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 274.6 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.9352/0.9352, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 16.73 kB / 0.5986 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem): time 1.401/1.59, allocations: 0.5257 GB / 1.211 GB, free: 14.53 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.138/1.728, allocations: 87.32 MB / 1.296 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03431/1.762, allocations: 0.5242 MB / 1.297 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0348/1.797, allocations: 11.27 MB / 1.308 GB, free: 12.04 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/AirvolumeMixed.mo:70:5-70:12:writable] Warning: Conditional component ‘air‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.05789/1.855, allocations: 15.41 MB / 1.323 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.03544/1.891, allocations: 9.679 MB / 1.332 GB, free: 2.941 MB / 0.8419 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, 0.001004433569776996}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 1.402/3.293, allocations: 78.74 MB / 1.409 GB, free: 20.13 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08494/3.378, allocations: 41.09 MB / 1.449 GB, free: 11.32 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04645/3.424, allocations: 16.96 MB / 1.466 GB, free: 9.527 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04834/3.473, allocations: 22.04 MB / 1.487 GB, free: 5.691 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0173/3.49, allocations: 1.807 MB / 1.489 GB, free: 5.691 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03516/3.525, allocations: 8.15 MB / 1.497 GB, free: 5.684 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.01916/3.544, allocations: 8.941 MB / 1.506 GB, free: 3.277 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.05241/3.597, allocations: 18.9 MB / 1.524 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.1162/3.713, allocations: 72.42 MB / 1.595 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/3.713, allocations: 0 / 1.595 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.779e-06/3.713, allocations: 0 / 1.595 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.003584/3.717, allocations: 0 / 1.595 GB, free: 12.13 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8520 * Number of variables: 8520 Notification: Performance of Generate backend data structure: time 0.1224/3.839, allocations: 41.95 MB / 1.636 GB, free: 4.594 MB / 0.9982 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/3.839, allocations: 12.03 kB / 1.636 GB, free: 4.582 MB / 0.9982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04162/3.881, allocations: 6.399 MB / 1.642 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07244/3.953, allocations: 28.01 MB / 1.669 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004228/3.958, allocations: 3.323 MB / 1.673 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01724/3.975, allocations: 3.175 MB / 1.676 GB, free: 3.184 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1604/4.135, allocations: 53.81 MB / 1.728 GB, free: 12.69 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001895/4.137, allocations: 50.95 kB / 1.728 GB, free: 12.66 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01515/4.152, allocations: 1.307 MB / 1.73 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003511/4.156, allocations: 1.547 MB / 1.731 GB, free: 9.828 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5637/4.72, allocations: 63.18 MB / 1.793 GB, free: 0.5332 GB / 1.123 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.2856/5.005, allocations: 172.1 MB / 1.961 GB, free: 417.5 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03545/5.041, allocations: 19.98 MB / 1.98 GB, free: 397 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01626/5.057, allocations: 8.566 MB / 1.989 GB, free: 388.5 MB / 1.123 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.07425/5.131, allocations: 34.8 MB / 2.023 GB, free: 352.5 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01921/5.151, allocations: 8.643 MB / 2.031 GB, free: 343.7 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01693/5.168, allocations: 1.836 MB / 2.033 GB, free: 341.9 MB / 1.123 GB Notification: Performance of pre-optimization done (n=941): time 7.177e-05/5.168, allocations: 0 / 2.033 GB, free: 341.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=941): time 0.1377/5.305, allocations: 42.16 MB / 2.074 GB, free: 298.9 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002959/5.306, allocations: 1.441 MB / 2.076 GB, free: 297.2 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05741/5.363, allocations: 27.21 MB / 2.102 GB, free: 270.1 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.003522/5.367, allocations: 235.4 kB / 2.102 GB, free: 269.9 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01709/5.384, allocations: 16.45 MB / 2.118 GB, free: 253.4 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.005425/5.389, allocations: 3.372 MB / 2.122 GB, free: 250 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005678/5.395, allocations: 1.4 MB / 2.123 GB, free: 248.6 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/5.395, allocations: 309.1 kB / 2.123 GB, free: 248.3 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02426/5.419, allocations: 12.34 MB / 2.135 GB, free: 236 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02722/5.447, allocations: 17 MB / 2.152 GB, free: 216.6 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 17.33/22.78, allocations: 2.513 GB / 4.665 GB, free: 342.6 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/22.78, allocations: 52 kB / 4.665 GB, free: 342.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=2115) (initialization): time 0.1143/22.9, allocations: 40.75 MB / 4.705 GB, free: 305.7 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.003964/22.9, allocations: 6.058 MB / 4.711 GB, free: 297.2 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002561/22.9, allocations: 164 kB / 4.711 GB, free: 297.1 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0561/22.96, allocations: 14.6 MB / 4.725 GB, free: 282.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02723/22.98, allocations: 5.429 MB / 4.73 GB, free: 277 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05414/23.04, allocations: 69.7 MB / 4.798 GB, free: 203.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03625/23.07, allocations: 2.316 MB / 4.801 GB, free: 201.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006545/23.08, allocations: 1.371 MB / 4.802 GB, free: 199.7 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/23.08, allocations: 4 kB / 4.802 GB, free: 199.7 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.106/23.19, allocations: 39.67 MB / 4.841 GB, free: 159.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005157/23.19, allocations: 165 kB / 4.841 GB, free: 159.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04335/23.23, allocations: 11.17 MB / 4.852 GB, free: 148.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02616/23.26, allocations: 5.414 MB / 4.857 GB, free: 142.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08604/23.34, allocations: 91.61 MB / 4.947 GB, free: 47.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03092/23.37, allocations: 2.019 MB / 4.949 GB, free: 45.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006119/23.38, allocations: 1.37 MB / 4.95 GB, free: 44.07 MB / 1.123 GB Warning: Assuming fixed start value for the following 47 variables: battery.E_charged:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Total energy charged to the battery" type: Real battery.E_discharged:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Total energy taken from the battery" type: Real EGrid:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Integrates the electricity taken from the grid" type: Real EPVField:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Integrates the electricity generated by the PV field" type: Real battery.EAva:VARIABLE(start = 0.315 * battery.SOC_start * battery.E_nominal unit = "J" fixed = true ) "Available charge of the battery" type: Real battery.EBou:VARIABLE(start = 0.6850000000000001 * battery.SOC_start * battery.E_nominal unit = "J" fixed = true ) "Bound charge of the battery" type: Real chiller.volCon.dynBal.U:VARIABLE(start = 0.01 * chiller.volCon.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volCon.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volCon.dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (chiller.volCon.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volEva.dynBal.U:VARIABLE(start = 0.01 * chiller.volEva.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volEva.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volEva.dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (chiller.volEva.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pump1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 [3] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 [3] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 [3] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 pip1.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip1.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip1.vol.dynBal.Medium.setState_pTX(pip1.vol[1].dynBal.p_start, pip1.vol[1].dynBal.T_start, {})) + (pip1.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] pip2.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip2.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip2.vol.dynBal.Medium.setState_pTX(pip2.vol[1].dynBal.p_start, pip2.vol[1].dynBal.T_start, {})) + (pip2.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] pump2.vol.dynBal.U:VARIABLE(start = pump2.vol.dynBal.fluidVolume * pump2.vol.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pump2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 pip3.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip3.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip3.vol.dynBal.Medium.setState_pTX(pip3.vol[1].dynBal.p_start, pip3.vol[1].dynBal.T_start, {})) + (pip3.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] pip4.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip4.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip4.vol.dynBal.Medium.setState_pTX(pip4.vol[1].dynBal.p_start, pip4.vol[1].dynBal.T_start, {})) + (pip4.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] building.zone.airvolume.mH2OLiq:VARIABLE(min = 0.0 start = building.zone.airvolume.mH2OLiq_start unit = "kg" fixed = true protected = true ) "Liquid water mass" type: Real building.wall1.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall1.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall1.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall1.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall1.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall1.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall2.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall2.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall2.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall2.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall2.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall2.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall3.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall3.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall3.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall3.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall3.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall3.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall4.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall4.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall4.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall4.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall4.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall4.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceiling.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.ceiling.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,1] building.ceiling.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.ceiling.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,1] building.bottom.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.bottom.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.bottom.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.bottom.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.bottom.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.bottom.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wallsInterior.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wallsInterior.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wallsInterior.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wallsInterior.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wallsInterior.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wallsInterior.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceilingsInterior.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.ceilingsInterior.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceilingsInterior.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.ceilingsInterior.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceilingsInterior.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.ceilingsInterior.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.window1.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window1.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real building.window2.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window2.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real building.window3.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window3.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real building.window4.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window4.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 17 (radiation.outsidePolarCircle,ambience.radiation[1].outsidePolarCircle,ambience.radiation[2].outsidePolarCircle,ambience.radiation[3].outsidePolarCircle,ambience.radiation[4].outsidePolarCircle,ambience.radiation[5].outsidePolarCircle,ambience.radiation[6].outsidePolarCircle,ambience.radiation[7].outsidePolarCircle,ambience.radiation[8].outsidePolarCircle,ambience.radiation[9].outsidePolarCircle,$PRE.control_temp_buildin.y,$PRE.control.y,control_temp_buildin.y,control.y,ambience.weatherDataReader.weatherData.conTim.tNext,$PRE.ambience.weatherDataReader.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1829): * Single equations (assignments): 1749 * Array equations: 2 * Algorithm blocks: 23 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 23 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 23 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 17 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 13 systems {(1,3), (15,67), (1,3), (1,3), (1,3), (1,3), (1,3), (5,6), (1,3), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.02708/23.41, allocations: 12.25 MB / 4.962 GB, free: 31.96 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007505/23.41, allocations: 2.159 MB / 4.964 GB, free: 30.61 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08388/23.5, allocations: 27.51 MB / 4.991 GB, free: 2.906 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000219/23.5, allocations: 124 kB / 4.991 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-05/23.5, allocations: 24 kB / 4.991 GB, free: 2.762 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5572/24.06, allocations: 21.9 MB / 5.012 GB, free: 481.8 MB / 1.123 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.1644/24.22, allocations: 61.43 MB / 5.072 GB, free: 462.3 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001208/24.22, allocations: 12.72 kB / 5.072 GB, free: 462.3 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01031/24.23, allocations: 1.922 MB / 5.074 GB, free: 462.2 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05395/24.29, allocations: 14.86 MB / 5.089 GB, free: 460.2 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002752/24.29, allocations: 342.2 kB / 5.089 GB, free: 460 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05119/24.34, allocations: 73.21 MB / 5.161 GB, free: 397.5 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/24.34, allocations: 15.47 kB / 5.161 GB, free: 397.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0854/24.42, allocations: 35.96 MB / 5.196 GB, free: 375.6 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01586/24.44, allocations: 5.125 MB / 5.201 GB, free: 371.2 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007873/24.45, allocations: 257.8 kB / 5.201 GB, free: 370.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01984/24.47, allocations: 1.245 MB / 5.202 GB, free: 369.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00408/24.47, allocations: 0.7801 MB / 5.203 GB, free: 369 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002423/24.47, allocations: 407.7 kB / 5.203 GB, free: 368.6 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.03619/24.51, allocations: 19.02 MB / 5.222 GB, free: 349.7 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.51e-07/24.51, allocations: 3.656 kB / 5.222 GB, free: 349.7 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.06439/24.58, allocations: 17.04 MB / 5.239 GB, free: 333.2 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 67 (battery.EAva,battery.EBou,battery.E_charged,battery.E_discharged,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaOut.T,senTemEvaIn.T,senTemConIn.T,senTemConOut.T,pump1.vol.dynBal.U,pump1.filter.s[1],pump1.filter.s[2],exp1.m,exp1.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,coolingSurface.vol[1].dynBal.U,coolingSurface.vol[2].dynBal.U,coolingSurface.vol[3].dynBal.U,coolingSurface.vol[4].dynBal.U,coolingSurface.vol[5].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2],pip3.vol[1].dynBal.U,pip4.vol[1].dynBal.U,senTemColSurOut.T,senTemColSurIn.T,building.zone.airvolume.mH2OLiq,building.zone.airvolume.air.dynBal.U,building.zone.airvolume.air.dynBal.m,building.zone.airvolume.air.dynBal.mXi[1],building.wall1.construction.layer[1].T[1],building.wall1.construction.layer[2].T[1],building.wall1.construction.layer[3].T[1],building.wall2.construction.layer[1].T[1],building.wall2.construction.layer[2].T[1],building.wall2.construction.layer[3].T[1],building.wall3.construction.layer[1].T[1],building.wall3.construction.layer[2].T[1],building.wall3.construction.layer[3].T[1],building.wall4.construction.layer[1].T[1],building.wall4.construction.layer[2].T[1],building.wall4.construction.layer[3].T[1],building.ceiling.construction.layer[1].T[1],building.ceiling.construction.layer[2].T[1],building.bottom.construction.layer[1].T[1],building.bottom.construction.layer[2].T[1],building.bottom.construction.layer[3].T[1],building.wallsInterior.construction.layer[1].T[1],building.wallsInterior.construction.layer[2].T[1],building.wallsInterior.construction.layer[3].T[1],building.ceilingsInterior.construction.layer[1].T[1],building.ceilingsInterior.construction.layer[2].T[1],building.ceilingsInterior.construction.layer[3].T[1],building.window1.heatTransfer.T,building.window2.heatTransfer.T,building.window3.heatTransfer.T,building.window4.heatTransfer.T,EGrid,EPVField) * Number of discrete variables: 4 ($whenCondition1,ambience.weatherDataReader.weatherData.conTim.tNext,control.y,control_temp_buildin.y) * Number of discrete states: 3 (ambience.weatherDataReader.weatherData.conTim.tNext,control.y,control_temp_buildin.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (953): * Single equations (assignments): 877 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 57 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 22 systems {(1,2,100.0%), (1,12,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 35 systems {(1,3), (1,3), (15,72), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007916/24.58, allocations: 2.445 MB / 5.241 GB, free: 331.2 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.1768/24.76, allocations: 64.5 MB / 5.304 GB, free: 265.5 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.673e-05/24.76, allocations: 7 kB / 5.304 GB, free: 265.4 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.03005/24.79, allocations: 15.57 MB / 5.319 GB, free: 249.4 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1045/24.89, allocations: 7.952 MB / 5.327 GB, free: 241.7 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1541/25.05, allocations: 80.7 MB / 5.406 GB, free: 160.9 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04766/25.1, allocations: 19.85 MB / 5.425 GB, free: 140.9 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.05029/25.15, allocations: 10.67 MB / 5.436 GB, free: 130.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009916/25.16, allocations: 1.869 MB / 5.437 GB, free: 128.5 MB / 1.123 GB Notification: Performance of SimCode: time 1.112e-06/25.16, allocations: 0 / 5.437 GB, free: 128.5 MB / 1.123 GB Notification: Performance of Templates: time 1.165/26.32, allocations: 471.3 MB / 5.898 GB, free: 182.4 MB / 1.123 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.makefile (rm -f BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pipe ; mkfifo BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pipe >> ../files/BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.sim & ./BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pipe 2>&1)