Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 106.8 kB / 16.35 MB, free: 5.824 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.001155/0.001155, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 292.1 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.879/0.879, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 99.3 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1418, allocations: 86.98 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.3302/0.4721, allocations: 115 MB / 0.7939 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03773/0.5098, allocations: 29.4 MB / 0.8226 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005164/0.515, allocations: 163.1 kB / 0.8228 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.009656/0.5247, allocations: 4.887 MB / 0.8276 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00971/0.5344, allocations: 3.995 MB / 0.8315 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006946/0.5414, allocations: 3.23 MB / 0.8346 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01456/0.5559, allocations: 12.77 MB / 0.8471 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004598/0.5606, allocations: 3.709 MB / 0.8507 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0062/0.5668, allocations: 3.559 MB / 0.8542 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.571, allocations: 2.863 MB / 0.857 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007078/0.5717, allocations: 391.9 kB / 0.8574 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004803/0.5765, allocations: 2.469 MB / 0.8598 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.5777, allocations: 1.192 MB / 0.8609 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002787/0.5805, allocations: 2.313 MB / 0.8632 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007843/0.5883, allocations: 7.026 MB / 0.8701 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5884, allocations: 0 / 0.8701 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5884, allocations: 0 / 0.8701 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.491e-05/0.5885, allocations: 0 / 0.8701 GB, free: 13.7 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.007381/0.5958, allocations: 4.765 MB / 0.8747 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5959, allocations: 12.02 kB / 0.8747 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.5983, allocations: 0.635 MB / 0.8753 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/0.6052, allocations: 4.381 MB / 0.8796 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.6053, allocations: 184.7 kB / 0.8798 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.6057, allocations: 255.9 kB / 0.88 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.6103, allocations: 3.05 MB / 0.883 GB, free: 116 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.6103, allocations: 7.938 kB / 0.883 GB, free: 108 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.6106, allocations: 100 kB / 0.8831 GB, free: 8 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.463e-05/0.6107, allocations: 88.58 kB / 0.8832 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/0.6147, allocations: 2.391 MB / 0.8855 GB, free: 13.51 MB / 0.6544 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.01493/0.6296, allocations: 12.91 MB / 0.8982 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.6322, allocations: 1.707 MB / 0.8998 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.6337, allocations: 1.018 MB / 0.9008 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0064/0.6401, allocations: 4.322 MB / 0.905 GB, free: 8.598 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6402, allocations: 55.5 kB / 0.9051 GB, free: 8.535 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005658/0.6408, allocations: 150.2 kB / 0.9052 GB, free: 8.387 MB / 0.67 GB Notification: Performance of pre-optimization done (n=125): time 2.364e-06/0.6408, allocations: 0 / 0.9052 GB, free: 8.387 MB / 0.67 GB Notification: Performance of matching and sorting (n=125): time 0.004225/0.645, allocations: 2.396 MB / 0.9076 GB, free: 5.961 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.6451, allocations: 90.11 kB / 0.9077 GB, free: 5.852 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.649, allocations: 3.449 MB / 0.911 GB, free: 2.418 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.6491, allocations: 57.7 kB / 0.9111 GB, free: 2.355 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.6504, allocations: 1.687 MB / 0.9127 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.6508, allocations: 457.5 kB / 0.9132 GB, free: 204 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005649/0.6513, allocations: 447.6 kB / 0.9136 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/0.6514, allocations: 309.1 kB / 0.9139 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.6527, allocations: 0.8449 MB / 0.9147 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.6544, allocations: 1.46 MB / 0.9161 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/0.6682, allocations: 4.563 MB / 0.9206 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.6682, allocations: 7.938 kB / 0.9206 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004246/0.6725, allocations: 2.828 MB / 0.9234 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6725, allocations: 16.22 kB / 0.9234 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.6725, allocations: 16 kB / 0.9234 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.6729, allocations: 176.6 kB / 0.9236 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.6745, allocations: 483.2 kB / 0.924 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.6768, allocations: 2.498 MB / 0.9265 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6784, allocations: 127.7 kB / 0.9266 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.6786, allocations: 95.97 kB / 0.9267 GB, free: 1.695 MB / 0.6856 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002659/0.6813, allocations: 1.926 MB / 0.9286 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001641/0.6829, allocations: 1.444 MB / 0.93 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01383/0.6967, allocations: 4.503 MB / 0.9344 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.44e-05/0.6968, allocations: 11.98 kB / 0.9344 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004434/0.7012, allocations: 2.804 MB / 0.9371 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7012, allocations: 12 kB / 0.9371 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.7013, allocations: 20.16 kB / 0.9371 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.7017, allocations: 176.7 kB / 0.9373 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.7032, allocations: 475.3 kB / 0.9378 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.7055, allocations: 2.502 MB / 0.9402 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.7075, allocations: 123.8 kB / 0.9403 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.7077, allocations: 91.92 kB / 0.9404 GB, free: 2.957 MB / 0.7012 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 1e5 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (245): * Single equations (assignments): 242 * 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.0006747/0.7083, allocations: 0.4998 MB / 0.9409 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/0.7089, allocations: 335.8 kB / 0.9412 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003615/0.7125, allocations: 1.995 MB / 0.9432 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.7126, allocations: 20 kB / 0.9432 GB, free: 116 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7126, allocations: 4 kB / 0.9432 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002504/0.7151, allocations: 1.761 MB / 0.9449 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.7187, allocations: 2.627 MB / 0.9475 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7187, allocations: 3.938 kB / 0.9475 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.7199, allocations: 267.6 kB / 0.9477 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.7203, allocations: 161.1 kB / 0.9479 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7204, allocations: 39.97 kB / 0.9479 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.7226, allocations: 2.471 MB / 0.9503 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7226, allocations: 0 / 0.9503 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/0.7269, allocations: 2.807 MB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.7281, allocations: 0.6061 MB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/0.7285, allocations: 28 kB / 0.9537 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.7298, allocations: 87.98 kB / 0.9538 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.73, allocations: 89.19 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.7301, allocations: 63.94 kB / 0.9539 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003006/0.7332, allocations: 2.343 MB / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7332, allocations: 0 / 0.9562 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003827/0.737, allocations: 1.871 MB / 0.958 GB, free: 0.5938 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.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,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.228/0.965, allocations: 1.06 MB / 0.9591 GB, free: 239.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00577/0.9708, allocations: 3.508 MB / 0.9625 GB, free: 238.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9708, allocations: 9.344 kB / 0.9625 GB, free: 238.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.9722, allocations: 0.9286 MB / 0.9634 GB, free: 238.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006531/0.9788, allocations: 1.806 MB / 0.9652 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.9881, allocations: 6.703 MB / 0.9717 GB, free: 234.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.9904, allocations: 2.418 MB / 0.9741 GB, free: 233.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003771/0.9942, allocations: 1.081 MB / 0.9751 GB, free: 233.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007377/0.9949, allocations: 284 kB / 0.9754 GB, free: 233.6 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/0.9949, allocations: 0 / 0.9754 GB, free: 233.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.08684/1.082, allocations: 66.55 MB / 1.04 GB, free: 188 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.sim & ./BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)