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: translateModel(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage") translateModel(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.00129/0.00129, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 289.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8707/0.8707, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 107.8 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4174, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage): time 0.1135/0.5309, allocations: 132.4 MB / 0.8963 GB, free: 15.1 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04694/0.5779, allocations: 34.28 MB / 0.9298 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00847/0.5865, allocations: 183 kB / 0.93 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.009013/0.5955, allocations: 2.786 MB / 0.9327 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01461/0.6102, allocations: 5.021 MB / 0.9376 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.6207, allocations: 4.06 MB / 0.9415 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01909/0.6398, allocations: 14.74 MB / 0.9559 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.458/1.098, allocations: 4.562 MB / 0.9604 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/1.108, allocations: 4.457 MB / 0.9648 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/1.115, allocations: 3.385 MB / 0.9681 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001221/1.116, allocations: 453.2 kB / 0.9685 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006987/1.123, allocations: 3.032 MB / 0.9714 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001254/1.124, allocations: 1.309 MB / 0.9727 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003368/1.128, allocations: 2.626 MB / 0.9753 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009904/1.138, allocations: 8.054 MB / 0.9832 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/1.138, allocations: 0 / 0.9832 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/1.138, allocations: 4 kB / 0.9832 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001453/1.138, allocations: 0 / 0.9832 GB, free: 11.2 MB / 0.7169 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.008635/1.146, allocations: 5.25 MB / 0.9883 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/1.147, allocations: 12.3 kB / 0.9883 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/1.151, allocations: 0.8966 MB / 0.9892 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008005/1.159, allocations: 4.888 MB / 0.9939 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/1.159, allocations: 251.3 kB / 0.9942 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/1.159, allocations: 291.7 kB / 0.9945 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005544/1.165, allocations: 3.588 MB / 0.998 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/1.165, allocations: 6.219 kB / 0.998 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/1.165, allocations: 129.8 kB / 0.9981 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.133e-05/1.165, allocations: 115 kB / 0.9982 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/1.17, allocations: 2.869 MB / 1.001 GB, free: 7.281 MB / 0.7169 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.01681/1.187, allocations: 15.09 MB / 1.016 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.19, allocations: 2.125 MB / 1.018 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/1.192, allocations: 1.228 MB / 1.019 GB, free: 16.29 MB / 0.7325 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.008232/1.2, allocations: 6.008 MB / 1.025 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.2, allocations: 56.06 kB / 1.025 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007885/1.201, allocations: 175.3 kB / 1.025 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=150): time 3.146e-06/1.201, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150): time 0.005408/1.207, allocations: 2.892 MB / 1.028 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/1.207, allocations: 94.11 kB / 1.028 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/1.211, allocations: 3.6 MB / 1.032 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/1.211, allocations: 61.11 kB / 1.032 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.212, allocations: 1.848 MB / 1.033 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/1.212, allocations: 0.537 MB / 1.034 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005934/1.213, allocations: 0.5005 MB / 1.034 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.561e-05/1.213, allocations: 302.8 kB / 1.035 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/1.215, allocations: 0.9985 MB / 1.036 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/1.217, allocations: 1.681 MB / 1.037 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/1.236, allocations: 5.749 MB / 1.043 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/1.236, allocations: 6.906 kB / 1.043 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.00576/1.241, allocations: 3.241 MB / 1.046 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.241, allocations: 12 kB / 1.046 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/1.242, allocations: 20 kB / 1.046 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/1.242, allocations: 186.8 kB / 1.046 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/1.244, allocations: 0.5629 MB / 1.047 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/1.246, allocations: 2.507 MB / 1.049 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.249, allocations: 150.9 kB / 1.049 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.249, allocations: 106.2 kB / 1.05 GB, free: 3.457 MB / 0.7325 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003542/1.253, allocations: 2.12 MB / 1.052 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002259/1.255, allocations: 1.661 MB / 1.053 GB, free: 104 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01945/1.274, allocations: 5.695 MB / 1.059 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-05/1.274, allocations: 4 kB / 1.059 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.005821/1.28, allocations: 3.223 MB / 1.062 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.28, allocations: 15.98 kB / 1.062 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.28, allocations: 25.88 kB / 1.062 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/1.281, allocations: 180.9 kB / 1.062 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.283, allocations: 0.5481 MB / 1.063 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/1.285, allocations: 2.517 MB / 1.065 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.288, allocations: 151.8 kB / 1.065 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/1.288, allocations: 108 kB / 1.065 GB, free: 3.48 MB / 0.7481 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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 = 1e5 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.0008464/1.289, allocations: 0.5478 MB / 1.066 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.29, allocations: 363.5 kB / 1.066 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0054/1.295, allocations: 2.596 MB / 1.069 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/1.295, allocations: 24 kB / 1.069 GB, free: 12 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.295, allocations: 7.984 kB / 1.069 GB, free: 4 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003665/1.299, allocations: 2.022 MB / 1.071 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.311, allocations: 5.677 MB / 1.076 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.311, allocations: 0 / 1.076 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.312, allocations: 340.7 kB / 1.077 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/1.313, allocations: 156.7 kB / 1.077 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.313, allocations: 47.97 kB / 1.077 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/1.315, allocations: 2.475 MB / 1.079 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.315, allocations: 0 / 1.079 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006876/1.322, allocations: 3.553 MB / 1.083 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.324, allocations: 0.6799 MB / 1.083 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009386/1.325, allocations: 39.98 kB / 1.083 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.327, allocations: 119.6 kB / 1.084 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/1.328, allocations: 113.1 kB / 1.084 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.328, allocations: 83.31 kB / 1.084 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00443/1.332, allocations: 2.447 MB / 1.086 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/1.332, allocations: 0 / 1.086 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007755/1.34, allocations: 2.175 MB / 1.088 GB, free: 11.88 MB / 0.7794 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.003191/1.343, allocations: 1.271 MB / 1.09 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009065/1.352, allocations: 4.161 MB / 1.094 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.352, allocations: 0.5625 kB / 1.094 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002465/1.355, allocations: 1.166 MB / 1.095 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/1.366, allocations: 2.116 MB / 1.097 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.381, allocations: 7.727 MB / 1.104 GB, free: 11.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/1.384, allocations: 2.5 MB / 1.107 GB, free: 9.363 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.386, allocations: 338.2 kB / 1.107 GB, free: 9.035 MB / 0.795 GB Notification: Performance of SimCode: time 8.12e-07/1.386, allocations: 0 / 1.107 GB, free: 9.035 MB / 0.795 GB Notification: Performance of Templates: time 0.1114/1.497, allocations: 91.75 MB / 1.197 GB, free: 14.05 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.makefile (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 & ./BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage.pipe 2>&1)