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.004723/0.004723, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001081/0.001081, allocations: 200 kB / 16.68 MB, free: 5.922 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 302.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9171/0.9171, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 107.8 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4061, allocations: 86.98 MB / 0.7664 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage): time 0.1233/0.5294, allocations: 132.4 MB / 0.8956 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04788/0.5773, allocations: 34.28 MB / 0.9291 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005629/0.583, allocations: 186.9 kB / 0.9293 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.007458/0.5905, allocations: 2.793 MB / 0.932 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.6032, allocations: 5.017 MB / 0.9369 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009342/0.6126, allocations: 4.069 MB / 0.9409 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01794/0.6306, allocations: 14.75 MB / 0.9553 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6838/1.314, allocations: 4.557 MB / 0.9597 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00945/1.324, allocations: 4.452 MB / 0.9641 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005791/1.33, allocations: 3.379 MB / 0.9674 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008791/1.331, allocations: 454.7 kB / 0.9678 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006115/1.337, allocations: 3.034 MB / 0.9708 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/1.338, allocations: 1.313 MB / 0.9721 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002739/1.34, allocations: 2.624 MB / 0.9746 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008473/1.349, allocations: 8.051 MB / 0.9825 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.349, allocations: 0 / 0.9825 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/1.349, allocations: 0 / 0.9825 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001094/1.349, allocations: 0 / 0.9825 GB, free: 11.23 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.008481/1.358, allocations: 5.259 MB / 0.9876 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.358, allocations: 14.84 kB / 0.9876 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/1.362, allocations: 0.8992 MB / 0.9885 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00785/1.37, allocations: 4.889 MB / 0.9933 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/1.37, allocations: 250.3 kB / 0.9935 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/1.37, allocations: 291.8 kB / 0.9938 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005591/1.376, allocations: 3.598 MB / 0.9973 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-05/1.376, allocations: 4.938 kB / 0.9973 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/1.376, allocations: 119.4 kB / 0.9974 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-05/1.376, allocations: 111 kB / 0.9975 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005103/1.381, allocations: 2.873 MB / 1 GB, free: 7.316 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.01549/1.397, allocations: 15.09 MB / 1.015 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/1.4, allocations: 2.115 MB / 1.017 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/1.402, allocations: 1.227 MB / 1.018 GB, free: 16.33 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.008281/1.41, allocations: 6.013 MB / 1.024 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.411, allocations: 58.75 kB / 1.024 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008312/1.411, allocations: 173.1 kB / 1.024 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=150): time 3.126e-06/1.411, allocations: 3.469 kB / 1.024 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150): time 0.00617/1.418, allocations: 2.892 MB / 1.027 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/1.418, allocations: 98.55 kB / 1.027 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/1.422, allocations: 3.6 MB / 1.031 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/1.422, allocations: 60.83 kB / 1.031 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.423, allocations: 1.845 MB / 1.033 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/1.424, allocations: 0.5328 MB / 1.033 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005954/1.424, allocations: 0.5036 MB / 1.034 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/1.424, allocations: 305.1 kB / 1.034 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.426, allocations: 0.9992 MB / 1.035 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.428, allocations: 1.674 MB / 1.037 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01944/1.448, allocations: 5.751 MB / 1.042 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.448, allocations: 3.25 kB / 1.042 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.005695/1.454, allocations: 3.236 MB / 1.045 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.454, allocations: 22.94 kB / 1.045 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/1.454, allocations: 16 kB / 1.045 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/1.454, allocations: 185.4 kB / 1.046 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/1.456, allocations: 0.5558 MB / 1.046 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.458, allocations: 2.519 MB / 1.049 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.461, allocations: 149.5 kB / 1.049 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/1.461, allocations: 111 kB / 1.049 GB, free: 3.59 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.003533/1.465, allocations: 2.119 MB / 1.051 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002443/1.467, allocations: 1.667 MB / 1.053 GB, free: 276 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01979/1.487, allocations: 5.687 MB / 1.058 GB, free: 10.4 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.335e-05/1.487, allocations: 8 kB / 1.058 GB, free: 10.39 MB / 0.7482 GB Notification: Performance of matching and sorting (n=321) (initialization_lambda0): time 0.005902/1.493, allocations: 3.221 MB / 1.061 GB, free: 7.273 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.493, allocations: 13 kB / 1.061 GB, free: 7.262 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.493, allocations: 20 kB / 1.061 GB, free: 7.242 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/1.493, allocations: 180.7 kB / 1.062 GB, free: 7.062 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/1.495, allocations: 0.5544 MB / 1.062 GB, free: 6.539 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.497, allocations: 2.512 MB / 1.065 GB, free: 3.91 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.5, allocations: 155.7 kB / 1.065 GB, free: 3.758 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.5, allocations: 116 kB / 1.065 GB, free: 3.645 MB / 0.7482 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.0007357/1.501, allocations: 0.5377 MB / 1.065 GB, free: 3.133 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000813/1.502, allocations: 359.5 kB / 1.066 GB, free: 2.777 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005411/1.507, allocations: 2.598 MB / 1.068 GB, free: 216 kB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.507, allocations: 16 kB / 1.068 GB, free: 200 kB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.507, allocations: 8 kB / 1.068 GB, free: 192 kB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003859/1.511, allocations: 2.028 MB / 1.07 GB, free: 14.12 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/1.521, allocations: 5.678 MB / 1.076 GB, free: 8.43 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.522, allocations: 0 / 1.076 GB, free: 8.43 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.523, allocations: 348.8 kB / 1.076 GB, free: 8.102 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/1.523, allocations: 156.8 kB / 1.076 GB, free: 7.945 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/1.524, allocations: 47.97 kB / 1.076 GB, free: 7.898 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.526, allocations: 2.47 MB / 1.079 GB, free: 5.301 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.526, allocations: 7.469 kB / 1.079 GB, free: 5.297 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00665/1.533, allocations: 3.541 MB / 1.082 GB, free: 1.73 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.534, allocations: 0.6877 MB / 1.083 GB, free: 1.02 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/1.535, allocations: 35.98 kB / 1.083 GB, free: 0.9844 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/1.537, allocations: 115.9 kB / 1.083 GB, free: 0.8711 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/1.537, allocations: 113.1 kB / 1.083 GB, free: 0.7578 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.537, allocations: 79.92 kB / 1.083 GB, free: 0.6797 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.003728/1.541, allocations: 2.455 MB / 1.086 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/1.541, allocations: 0 / 1.086 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005417/1.546, allocations: 2.169 MB / 1.088 GB, free: 12.04 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.002802/1.549, allocations: 1.271 MB / 1.089 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007772/1.557, allocations: 4.161 MB / 1.093 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.557, allocations: 4.562 kB / 1.093 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.559, allocations: 1.168 MB / 1.094 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/1.569, allocations: 2.106 MB / 1.096 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.584, allocations: 7.69 MB / 1.104 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/1.588, allocations: 2.547 MB / 1.106 GB, free: 9.535 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004663/1.592, allocations: 1.21 MB / 1.107 GB, free: 8.371 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.593, allocations: 322.8 kB / 1.108 GB, free: 8.059 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/1.593, allocations: 0 / 1.108 GB, free: 8.059 MB / 0.795 GB Notification: Performance of Templates: time 0.1252/1.719, allocations: 79.91 MB / 1.186 GB, free: 9.613 MB / 0.8732 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)