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: "" <> buildModelFMU(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_AirConditioningSystems_PhotovoltaicCoolingSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem,fileNamePrefix="BuildingSystems_BuildingSystems_Applications_AirConditioningSystems_PhotovoltaicCoolingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007646/0.0007645, allocations: 98.11 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.005113/0.005113, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.364/1.364, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 270.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 13.97 kB / 0.5987 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 88.54 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem): time 1.366/1.54, allocations: 0.5257 GB / 1.211 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1339/1.674, allocations: 87.3 MB / 1.296 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02891/1.703, allocations: 0.5281 MB / 1.297 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.03013/1.733, allocations: 11.28 MB / 1.308 GB, free: 12.05 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.04901/1.782, allocations: 15.4 MB / 1.323 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.03206/1.814, allocations: 9.677 MB / 1.332 GB, free: 2.957 MB / 0.8419 GB [/var/lib/jenkins1/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.226/3.041, allocations: 78.74 MB / 1.409 GB, free: 19.99 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07129/3.112, allocations: 41.1 MB / 1.449 GB, free: 11.18 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03937/3.151, allocations: 16.96 MB / 1.466 GB, free: 9.387 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03437/3.186, allocations: 22.05 MB / 1.487 GB, free: 5.555 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.01087/3.197, allocations: 1.809 MB / 1.489 GB, free: 5.555 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03356/3.23, allocations: 8.142 MB / 1.497 GB, free: 5.547 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.02094/3.251, allocations: 8.941 MB / 1.506 GB, free: 3.18 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.04625/3.298, allocations: 18.9 MB / 1.524 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.1056/3.403, allocations: 72.43 MB / 1.595 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/3.403, allocations: 0 / 1.595 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.635e-06/3.403, allocations: 0 / 1.595 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.002573/3.406, allocations: 0 / 1.595 GB, free: 12.02 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.1051/3.511, allocations: 41.96 MB / 1.636 GB, free: 4.48 MB / 0.9982 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/3.511, allocations: 8.031 kB / 1.636 GB, free: 4.473 MB / 0.9982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01805/3.529, allocations: 4.397 MB / 1.64 GB, free: 2.137 MB / 0.9982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03958/3.569, allocations: 6.39 MB / 1.646 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06413/3.633, allocations: 28.02 MB / 1.674 GB, free: 5.289 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003576/3.637, allocations: 3.325 MB / 1.677 GB, free: 1.777 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01458/3.651, allocations: 3.168 MB / 1.68 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1378/3.789, allocations: 53.81 MB / 1.733 GB, free: 8.137 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001031/3.79, allocations: 55.42 kB / 1.733 GB, free: 8.105 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01092/3.801, allocations: 1.31 MB / 1.734 GB, free: 6.816 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/3.804, allocations: 1.542 MB / 1.736 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5356/4.339, allocations: 63.18 MB / 1.797 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.2839/4.623, allocations: 172.1 MB / 1.965 GB, free: 412.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03457/4.658, allocations: 19.98 MB / 1.985 GB, free: 392.4 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01633/4.674, allocations: 8.571 MB / 1.993 GB, free: 383.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 preOpt evalFunc (simulation): time 0.07437/4.749, allocations: 34.81 MB / 2.027 GB, free: 347.9 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0163/4.765, allocations: 8.647 MB / 2.036 GB, free: 339 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01441/4.78, allocations: 1.826 MB / 2.037 GB, free: 337.2 MB / 1.123 GB Notification: Performance of pre-optimization done (n=941): time 3.853e-05/4.78, allocations: 0 / 2.037 GB, free: 337.2 MB / 1.123 GB Notification: Performance of matching and sorting (n=941): time 0.1361/4.916, allocations: 42.16 MB / 2.079 GB, free: 294.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003175/4.916, allocations: 1.441 MB / 2.08 GB, free: 292.5 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05494/4.971, allocations: 27.21 MB / 2.107 GB, free: 265.4 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.004191/4.975, allocations: 229.7 kB / 2.107 GB, free: 265.2 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.02719/5.003, allocations: 16.46 MB / 2.123 GB, free: 248.7 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.007757/5.01, allocations: 3.367 MB / 2.126 GB, free: 245.4 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007363/5.018, allocations: 1.411 MB / 2.128 GB, free: 243.9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/5.018, allocations: 308.5 kB / 2.128 GB, free: 243.6 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02743/5.045, allocations: 12.34 MB / 2.14 GB, free: 231.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03059/5.076, allocations: 17 MB / 2.156 GB, free: 211.9 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 16.11/21.18, allocations: 2.513 GB / 4.669 GB, free: 334.2 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/21.18, allocations: 48 kB / 4.669 GB, free: 334.2 MB / 1.123 GB Notification: Performance of matching and sorting (n=2115) (initialization): time 0.1039/21.29, allocations: 40.74 MB / 4.709 GB, free: 298 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.004073/21.29, allocations: 6.065 MB / 4.715 GB, free: 289.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003576/21.29, allocations: 164 kB / 4.715 GB, free: 289.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05401/21.35, allocations: 14.59 MB / 4.729 GB, free: 274.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02648/21.37, allocations: 5.425 MB / 4.735 GB, free: 269.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0526/21.43, allocations: 69.71 MB / 4.803 GB, free: 195.6 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03091/21.46, allocations: 2.32 MB / 4.805 GB, free: 193.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005757/21.46, allocations: 1.366 MB / 4.806 GB, free: 192 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/21.46, allocations: 4 kB / 4.806 GB, free: 192 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09228/21.55, allocations: 39.68 MB / 4.845 GB, free: 152 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004615/21.56, allocations: 164 kB / 4.845 GB, free: 151.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04074/21.6, allocations: 11.16 MB / 4.856 GB, free: 140.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02411/21.62, allocations: 5.418 MB / 4.862 GB, free: 135.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08831/21.71, allocations: 91.6 MB / 4.951 GB, free: 39.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02782/21.74, allocations: 2.029 MB / 4.953 GB, free: 37.7 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006078/21.74, allocations: 1.359 MB / 4.954 GB, free: 36.34 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.02749/21.77, allocations: 12.25 MB / 4.966 GB, free: 24.23 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007986/21.78, allocations: 2.16 MB / 4.968 GB, free: 22.84 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4803/22.26, allocations: 27.51 MB / 4.995 GB, free: 480.6 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001861/22.26, allocations: 124.8 kB / 4.995 GB, free: 480.6 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.514e-05/22.26, allocations: 24.88 kB / 4.995 GB, free: 480.6 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07914/22.34, allocations: 21.91 MB / 5.017 GB, free: 479.7 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.1447/22.48, allocations: 61.43 MB / 5.077 GB, free: 459.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/22.48, allocations: 13.17 kB / 5.077 GB, free: 459.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009664/22.49, allocations: 1.92 MB / 5.079 GB, free: 459.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05029/22.54, allocations: 14.87 MB / 5.093 GB, free: 457.3 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002982/22.55, allocations: 323 kB / 5.093 GB, free: 457.1 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05044/22.6, allocations: 73.22 MB / 5.165 GB, free: 391.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/22.6, allocations: 18.62 kB / 5.165 GB, free: 391.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07518/22.67, allocations: 35.94 MB / 5.2 GB, free: 367.4 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01261/22.68, allocations: 5.144 MB / 5.205 GB, free: 363 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006335/22.69, allocations: 247.9 kB / 5.205 GB, free: 362.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01751/22.71, allocations: 1.243 MB / 5.207 GB, free: 361.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002921/22.71, allocations: 0.7762 MB / 5.207 GB, free: 360.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001305/22.71, allocations: 419.7 kB / 5.208 GB, free: 360.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.03194/22.74, allocations: 19.01 MB / 5.226 GB, free: 341.5 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.71e-07/22.74, allocations: 0 / 5.226 GB, free: 341.5 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.05606/22.8, allocations: 17.04 MB / 5.243 GB, free: 324.9 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.06776/22.87, allocations: 36.67 MB / 5.279 GB, free: 288.1 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.1905/23.06, allocations: 64.51 MB / 5.342 GB, free: 222.3 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-05/23.06, allocations: 11.44 kB / 5.342 GB, free: 222.3 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.02792/23.09, allocations: 15.55 MB / 5.357 GB, free: 206.3 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08818/23.17, allocations: 7.966 MB / 5.365 GB, free: 198.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.802/24.98, allocations: 0.5214 GB / 5.886 GB, free: 237.9 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04011/25.02, allocations: 19.86 MB / 5.906 GB, free: 219.3 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.04891/25.07, allocations: 10.68 MB / 5.916 GB, free: 210.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0315/25.1, allocations: 15.74 MB / 5.931 GB, free: 194.6 MB / 1.123 GB Notification: Performance of SimCode: time 2.976e-06/25.1, allocations: 0 / 5.931 GB, free: 194.6 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.419/27.52, allocations: 0.676 GB / 6.607 GB, free: 425.3 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/27.52, allocations: 329.8 kB / 6.608 GB, free: 424.9 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.98/48.49, allocations: 0 / 6.608 GB, free: 424.9 MB / 1.123 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Applications_AirConditioningSystems_PhotovoltaicCoolingSystem_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Applications_AirConditioningSystems_PhotovoltaicCoolingSystem.fmu > BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pipe 2>&1)