Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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.Technologies.Chillers.Examples.CompressionChillerWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChillerWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChillerWithStorage",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.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.895/1.895, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003957/0.003957, allocations: 275 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.645/1.645, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003595/0.003595, allocations: 96.02 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2467, allocations: 86.97 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage): time 0.7641/1.011, allocations: 132.4 MB / 0.8095 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.07394/1.085, allocations: 34.28 MB / 0.843 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01504/1.1, allocations: 185.2 kB / 0.8432 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.02153/1.122, allocations: 5.231 MB / 0.8483 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02473/1.146, allocations: 4.912 MB / 0.8531 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01376/1.16, allocations: 3.976 MB / 0.857 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02256/1.183, allocations: 14.64 MB / 0.8713 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009608/1.192, allocations: 4.533 MB / 0.8757 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01283/1.205, allocations: 4.327 MB / 0.8799 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008172/1.213, allocations: 3.349 MB / 0.8832 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002702/1.216, allocations: 448 kB / 0.8836 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/1.228, allocations: 3.022 MB / 0.8866 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0029/1.231, allocations: 1.301 MB / 0.8878 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008196/1.239, allocations: 2.617 MB / 0.8904 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01979/1.259, allocations: 7.923 MB / 0.8981 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/1.259, allocations: 0 / 0.8981 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/1.259, allocations: 3.938 kB / 0.8981 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003266/1.259, allocations: 0 / 0.8981 GB, free: 8.504 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 717 * Number of variables: 717 Notification: Performance of Generate backend data structure: time 0.01454/1.274, allocations: 5.235 MB / 0.9033 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.274, allocations: 8.031 kB / 0.9033 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001335/1.275, allocations: 396.3 kB / 0.9036 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/1.281, allocations: 0.9037 MB / 0.9045 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/1.292, allocations: 4.678 MB / 0.9091 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003853/1.293, allocations: 247.5 kB / 0.9093 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/1.294, allocations: 292 kB / 0.9096 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/1.304, allocations: 3.591 MB / 0.9131 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.778e-05/1.304, allocations: 11.84 kB / 0.9131 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003804/1.305, allocations: 120 kB / 0.9132 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/1.305, allocations: 113.3 kB / 0.9133 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007036/1.312, allocations: 2.878 MB / 0.9162 GB, free: 5.723 MB / 0.6231 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.02554/1.338, allocations: 15.2 MB / 0.931 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004466/1.342, allocations: 2.143 MB / 0.9331 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002492/1.345, allocations: 1.223 MB / 0.9343 GB, free: 2.371 MB / 0.6387 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.01275/1.357, allocations: 5.995 MB / 0.9401 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/1.357, allocations: 55.86 kB / 0.9402 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001743/1.359, allocations: 177.9 kB / 0.9404 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=150): time 9.297e-06/1.359, allocations: 0 / 0.9404 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150): time 0.008936/1.368, allocations: 2.893 MB / 0.9432 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/1.368, allocations: 98.42 kB / 0.9433 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.379, allocations: 3.58 MB / 0.9468 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000653/1.38, allocations: 65.64 kB / 0.9468 GB, free: 5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003499/1.383, allocations: 1.847 MB / 0.9486 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.385, allocations: 0.5393 MB / 0.9492 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00229/1.387, allocations: 0.5003 MB / 0.9497 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.387, allocations: 309.1 kB / 0.95 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00413/1.391, allocations: 0.9909 MB / 0.9509 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005025/1.396, allocations: 1.683 MB / 0.9526 GB, free: 14.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03893/1.435, allocations: 5.787 MB / 0.9582 GB, free: 8.766 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.038e-05/1.436, allocations: 7.938 kB / 0.9582 GB, free: 8.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01216/1.448, allocations: 3.241 MB / 0.9614 GB, free: 5.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/1.448, allocations: 12 kB / 0.9614 GB, free: 5.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/1.448, allocations: 20 kB / 0.9614 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008136/1.449, allocations: 181.4 kB / 0.9616 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.451, allocations: 0.5655 MB / 0.9621 GB, free: 4.723 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/1.454, allocations: 2.517 MB / 0.9646 GB, free: 2.062 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.458, allocations: 156.4 kB / 0.9648 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005277/1.459, allocations: 116 kB / 0.9649 GB, free: 1.797 MB / 0.67 GB Warning: Assuming fixed start value for the following 7 variables: chiller.volCon.dynBal.U:VARIABLE(start = 0.01 * chiller.volCon.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.chiller.volCon.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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.Technologies.Chillers.Examples.CompressionChillerWithStorage.chiller.volEva.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005537/1.464, allocations: 2.108 MB / 0.9669 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003503/1.468, allocations: 1.675 MB / 0.9686 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03059/1.498, allocations: 5.724 MB / 0.9742 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.071e-05/1.499, allocations: 12 kB / 0.9742 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.01428/1.513, allocations: 3.214 MB / 0.9773 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/1.513, allocations: 14.34 kB / 0.9773 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-05/1.513, allocations: 24.16 kB / 0.9773 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/1.514, allocations: 184.7 kB / 0.9775 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004688/1.519, allocations: 0.5577 MB / 0.9781 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/1.523, allocations: 2.514 MB / 0.9805 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005623/1.529, allocations: 161 kB / 0.9807 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/1.53, allocations: 108 kB / 0.9808 GB, free: 0.793 MB / 0.6856 GB Warning: Assuming fixed start value for the following 7 variables: chiller.volCon.dynBal.U:VARIABLE(start = 0.01 * chiller.volCon.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.chiller.volCon.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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.Technologies.Chillers.Examples.CompressionChillerWithStorage.chiller.volEva.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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.Technologies.Chillers.Examples.CompressionChillerWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.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 pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.controller.y,controller.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 275 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001808/1.531, allocations: 0.534 MB / 0.9813 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/1.533, allocations: 371.5 kB / 0.9816 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.545, allocations: 2.606 MB / 0.9842 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/1.545, allocations: 19.98 kB / 0.9842 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.545, allocations: 4 kB / 0.9842 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008321/1.554, allocations: 2.021 MB / 0.9862 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/1.577, allocations: 5.682 MB / 0.9917 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.578, allocations: 4 kB / 0.9917 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/1.581, allocations: 343.7 kB / 0.9921 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008176/1.582, allocations: 152.7 kB / 0.9922 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/1.582, allocations: 55.89 kB / 0.9923 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/1.586, allocations: 2.474 MB / 0.9947 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.586, allocations: 4 kB / 0.9947 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.6, allocations: 3.548 MB / 0.9982 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/1.603, allocations: 0.6837 MB / 0.9988 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.605, allocations: 36 kB / 0.9989 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004361/1.609, allocations: 119.8 kB / 0.999 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/1.61, allocations: 109.1 kB / 0.9991 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/1.61, allocations: 75.94 kB / 0.9991 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008013/1.618, allocations: 2.447 MB / 1.002 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.132e-06/1.618, allocations: 0 / 1.002 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01247/1.631, allocations: 2.171 MB / 1.004 GB, free: 9.012 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (senTemConIn.T,senTemConOut.T,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaIn.T,senTemEvaOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H) * Number of discrete variables: 1 (controller.y) * Number of discrete states: 1 (controller.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02077/1.652, allocations: 5.272 MB / 1.009 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.667, allocations: 4.854 MB / 1.014 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.667, allocations: 4.625 kB / 1.014 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002739/1.67, allocations: 1.17 MB / 1.015 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/1.686, allocations: 2.131 MB / 1.017 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1116/1.798, allocations: 32.91 MB / 1.049 GB, free: 8.016 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/1.803, allocations: 2.547 MB / 1.051 GB, free: 5.441 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.01011/1.813, allocations: 1.211 MB / 1.053 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005384/1.819, allocations: 1.721 MB / 1.054 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of SimCode: time 2.144e-06/1.819, allocations: 0 / 1.054 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8265/2.645, allocations: 111.6 MB / 1.163 GB, free: 238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.16/21.8, allocations: 14.75 kB / 1.163 GB, free: 238 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChillerWithStorage.fmu > BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pipe 2>&1)