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: "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage",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.008065/0.008065, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001896/0.001896, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 290.8 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9517/0.9517, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 92.27 kB / 0.6809 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.164, allocations: 86.98 MB / 0.7659 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4584/0.6224, allocations: 115.1 MB / 0.8782 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04298/0.6654, allocations: 29.4 MB / 0.9069 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005916/0.6714, allocations: 159.1 kB / 0.9071 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006511/0.6779, allocations: 2.488 MB / 0.9095 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.6895, allocations: 4.272 MB / 0.9137 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008152/0.6977, allocations: 3.294 MB / 0.9169 GB, free: 8.676 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0171/0.7148, allocations: 12.9 MB / 0.9295 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005472/0.7203, allocations: 3.737 MB / 0.9332 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00742/0.7278, allocations: 3.682 MB / 0.9368 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.7325, allocations: 2.882 MB / 0.9396 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007466/0.7332, allocations: 396 kB / 0.94 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/0.7386, allocations: 2.488 MB / 0.9424 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.7398, allocations: 1.199 MB / 0.9436 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00281/0.7426, allocations: 2.317 MB / 0.9458 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009372/0.752, allocations: 7.093 MB / 0.9527 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.752, allocations: 4 kB / 0.9527 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7521, allocations: 0 / 0.9527 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001052/0.7522, allocations: 0 / 0.9527 GB, free: 3.863 MB / 0.7012 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.008168/0.7603, allocations: 4.917 MB / 0.9575 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7604, allocations: 12.03 kB / 0.9576 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004306/0.7608, allocations: 345.4 kB / 0.9579 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.7635, allocations: 0.6531 MB / 0.9585 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007612/0.7711, allocations: 4.457 MB / 0.9629 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.7712, allocations: 188.7 kB / 0.9631 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.7716, allocations: 255.9 kB / 0.9633 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00486/0.7765, allocations: 3.037 MB / 0.9663 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.7766, allocations: 3.938 kB / 0.9663 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.7768, allocations: 108 kB / 0.9664 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-05/0.7769, allocations: 92.47 kB / 0.9665 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/0.781, allocations: 2.387 MB / 0.9688 GB, free: 3.086 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.01768/0.7987, allocations: 12.94 MB / 0.9814 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.8015, allocations: 1.707 MB / 0.9831 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.8033, allocations: 1.025 MB / 0.9841 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007052/0.8103, allocations: 4.34 MB / 0.9883 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.8104, allocations: 51.5 kB / 0.9884 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009092/0.8113, allocations: 158.6 kB / 0.9885 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 3.657e-06/0.8113, allocations: 0 / 0.9885 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.004592/0.8159, allocations: 2.409 MB / 0.9909 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.816, allocations: 90.11 kB / 0.991 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004497/0.8205, allocations: 3.469 MB / 0.9944 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.8206, allocations: 53.7 kB / 0.9944 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.8221, allocations: 1.721 MB / 0.9961 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.8225, allocations: 484 kB / 0.9966 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/0.8231, allocations: 455.8 kB / 0.997 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.8232, allocations: 313.1 kB / 0.9973 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.8246, allocations: 0.841 MB / 0.9981 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.8263, allocations: 1.46 MB / 0.9995 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/0.8411, allocations: 4.57 MB / 1.004 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.8411, allocations: 8 kB / 1.004 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005017/0.8461, allocations: 2.834 MB / 1.007 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.8462, allocations: 16.06 kB / 1.007 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.8462, allocations: 16 kB / 1.007 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.8467, allocations: 176.7 kB / 1.007 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.8484, allocations: 483.2 kB / 1.007 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.8508, allocations: 2.506 MB / 1.01 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/0.8531, allocations: 115.8 kB / 1.01 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.8533, allocations: 95.97 kB / 1.01 GB, free: 7.109 MB / 0.7637 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.003207/0.8565, allocations: 1.929 MB / 1.012 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001792/0.8583, allocations: 1.444 MB / 1.013 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0152/0.8735, allocations: 4.511 MB / 1.018 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.428e-05/0.8736, allocations: 4 kB / 1.018 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005795/0.8794, allocations: 2.814 MB / 1.021 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.8795, allocations: 26.52 kB / 1.021 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.8795, allocations: 16 kB / 1.021 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004238/0.8799, allocations: 176.8 kB / 1.021 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.8817, allocations: 471.3 kB / 1.021 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.8842, allocations: 2.502 MB / 1.024 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.8867, allocations: 135.8 kB / 1.024 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.8869, allocations: 95.92 kB / 1.024 GB, free: 8.34 MB / 0.7794 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.0007478/0.8876, allocations: 0.4955 MB / 1.024 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/0.8887, allocations: 357.7 kB / 1.025 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.8929, allocations: 1.991 MB / 1.027 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.893, allocations: 12 kB / 1.027 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.893, allocations: 0 / 1.027 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003101/0.8961, allocations: 1.769 MB / 1.028 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.9026, allocations: 2.631 MB / 1.031 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.9026, allocations: 0 / 1.031 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.9039, allocations: 271.6 kB / 1.031 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004115/0.9043, allocations: 160.6 kB / 1.031 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.9044, allocations: 39.97 kB / 1.031 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.9068, allocations: 2.467 MB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9069, allocations: 4.062 kB / 1.034 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.9119, allocations: 2.825 MB / 1.037 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.9137, allocations: 0.6197 MB / 1.037 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007427/0.9144, allocations: 28 kB / 1.037 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.9164, allocations: 87.89 kB / 1.037 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.9166, allocations: 85.19 kB / 1.037 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.9168, allocations: 63.94 kB / 1.037 GB, free: 10.14 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004425/0.9212, allocations: 2.358 MB / 1.04 GB, free: 7.797 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9212, allocations: 0 / 1.04 GB, free: 7.797 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005914/0.9271, allocations: 1.887 MB / 1.042 GB, free: 5.906 MB / 0.795 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.007933/0.9351, allocations: 4.379 MB / 1.046 GB, free: 1.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005937/0.941, allocations: 3.511 MB / 1.049 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.9411, allocations: 4.562 kB / 1.049 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.9426, allocations: 0.9363 MB / 1.05 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008687/0.9513, allocations: 1.799 MB / 1.052 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04367/0.995, allocations: 25.24 MB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/0.9979, allocations: 2.408 MB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003961/1.002, allocations: 1.074 MB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/1.004, allocations: 1.526 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/1.004, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/1.482, allocations: 95.4 MB / 1.175 GB, free: 235.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.91, allocations: 15.7 kB / 1.175 GB, free: 235.8 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage_res.csv --start-time 0 --stop-time 20000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8 BuildingSystems_BuildingSystems_Technologies_Cogeneration_Examples_CogenerationUnitWithStorage.fmu > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)