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.0013/0.0013, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 291 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 103 kB / 0.6065 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1589, allocations: 89.14 MB / 0.6936 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4015/0.5604, allocations: 115.1 MB / 0.806 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04479/0.6053, allocations: 29.38 MB / 0.8346 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007124/0.6124, allocations: 157.1 kB / 0.8348 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.6238, allocations: 4.89 MB / 0.8396 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.6364, allocations: 4.003 MB / 0.8435 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009073/0.6455, allocations: 3.203 MB / 0.8466 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01794/0.6634, allocations: 12.76 MB / 0.8591 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005369/0.6688, allocations: 3.719 MB / 0.8627 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008087/0.6769, allocations: 3.544 MB / 0.8662 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005496/0.6825, allocations: 2.851 MB / 0.8689 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.6838, allocations: 388 kB / 0.8693 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007147/0.6909, allocations: 2.472 MB / 0.8717 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.6927, allocations: 1.188 MB / 0.8729 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003939/0.6967, allocations: 2.325 MB / 0.8752 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.7086, allocations: 6.949 MB / 0.8819 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.7086, allocations: 0 / 0.8819 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7087, allocations: 0 / 0.8819 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001747/0.7088, allocations: 0 / 0.8819 GB, free: 11.08 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.01018/0.719, allocations: 4.758 MB / 0.8866 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.7191, allocations: 8.031 kB / 0.8866 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005482/0.7197, allocations: 353.3 kB / 0.8869 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.7226, allocations: 0.6273 MB / 0.8875 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008476/0.731, allocations: 4.256 MB / 0.8917 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.7313, allocations: 192.7 kB / 0.8919 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005425/0.7319, allocations: 247.9 kB / 0.8921 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005592/0.7375, allocations: 3.053 MB / 0.8951 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.7375, allocations: 4 kB / 0.8951 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.7378, allocations: 100 kB / 0.8952 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.7379, allocations: 96.47 kB / 0.8953 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.7427, allocations: 2.383 MB / 0.8976 GB, free: 10.68 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/0.7637, allocations: 13.02 MB / 0.9103 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.767, allocations: 1.72 MB / 0.912 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.7688, allocations: 1.018 MB / 0.913 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008032/0.7769, allocations: 4.322 MB / 0.9172 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.777, allocations: 59.5 kB / 0.9173 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001047/0.778, allocations: 146.1 kB / 0.9174 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=125): time 3.257e-06/0.778, allocations: 4 kB / 0.9174 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125): time 0.005108/0.7832, allocations: 2.396 MB / 0.9198 GB, free: 3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.7833, allocations: 94.11 kB / 0.9199 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/0.7884, allocations: 3.453 MB / 0.9232 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.7887, allocations: 53.7 kB / 0.9233 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.7904, allocations: 1.69 MB / 0.9249 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.791, allocations: 461.5 kB / 0.9254 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006549/0.7916, allocations: 447.6 kB / 0.9258 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7918, allocations: 309.1 kB / 0.9261 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.7933, allocations: 0.8449 MB / 0.9269 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.7953, allocations: 1.46 MB / 0.9283 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/0.8111, allocations: 4.603 MB / 0.9328 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.8111, allocations: 4 kB / 0.9328 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.005822/0.817, allocations: 2.84 MB / 0.9356 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.817, allocations: 12 kB / 0.9356 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.8171, allocations: 16 kB / 0.9356 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.8176, allocations: 176.8 kB / 0.9358 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.8192, allocations: 483.2 kB / 0.9363 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/0.822, allocations: 2.505 MB / 0.9387 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.8244, allocations: 124 kB / 0.9388 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.8246, allocations: 99.91 kB / 0.9389 GB, free: 14.68 MB / 0.67 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 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 = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003339/0.828, allocations: 1.922 MB / 0.9408 GB, free: 12.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00201/0.83, allocations: 1.444 MB / 0.9422 GB, free: 11.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01523/0.8452, allocations: 4.544 MB / 0.9467 GB, free: 6.262 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.915e-05/0.8453, allocations: 11.98 kB / 0.9467 GB, free: 6.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.005724/0.851, allocations: 2.804 MB / 0.9494 GB, free: 3.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.8511, allocations: 13.88 kB / 0.9494 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.8511, allocations: 20.16 kB / 0.9494 GB, free: 3.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.8516, allocations: 176.8 kB / 0.9496 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.8532, allocations: 471.3 kB / 0.9501 GB, free: 2.762 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.8561, allocations: 2.51 MB / 0.9525 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.8586, allocations: 130.1 kB / 0.9526 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.8589, allocations: 95.88 kB / 0.9527 GB, free: 15.89 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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.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 = 100000.0 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 = 100000.0 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.0008091/0.8597, allocations: 0.4923 MB / 0.9532 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009483/0.8607, allocations: 335.8 kB / 0.9535 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/0.8649, allocations: 1.997 MB / 0.9555 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.865, allocations: 20 kB / 0.9555 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.865, allocations: 0 / 0.9555 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/0.8678, allocations: 1.765 MB / 0.9572 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004676/0.8725, allocations: 2.631 MB / 0.9598 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.8725, allocations: 0 / 0.9598 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.8737, allocations: 267.6 kB / 0.96 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/0.8741, allocations: 156.6 kB / 0.9602 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.8742, allocations: 35.98 kB / 0.9602 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.8769, allocations: 2.483 MB / 0.9627 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8769, allocations: 0 / 0.9627 GB, free: 5.438 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.8822, allocations: 2.811 MB / 0.9654 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/0.8839, allocations: 0.6061 MB / 0.966 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005208/0.8844, allocations: 32 kB / 0.966 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.8859, allocations: 87.89 kB / 0.9661 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.8861, allocations: 93.17 kB / 0.9662 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/0.8863, allocations: 63.95 kB / 0.9663 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003937/0.8902, allocations: 2.343 MB / 0.9685 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8902, allocations: 0 / 0.9685 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005969/0.8962, allocations: 1.867 MB / 0.9704 GB, free: 13.51 MB / 0.7012 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.008345/0.9046, allocations: 4.336 MB / 0.9746 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008359/0.913, allocations: 4.078 MB / 0.9786 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.913, allocations: 0.5625 kB / 0.9786 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.9147, allocations: 0.9313 MB / 0.9795 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/0.9231, allocations: 1.819 MB / 0.9813 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.047/0.9701, allocations: 29.41 MB / 1.01 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.9724, allocations: 2.404 MB / 1.012 GB, free: 336 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003819/0.9762, allocations: 1.078 MB / 1.013 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/0.9784, allocations: 1.526 MB / 1.015 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of SimCode: time 8.41e-07/0.9784, allocations: 4 kB / 1.015 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4206/1.399, allocations: 97.26 MB / 1.11 GB, free: 236.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.23, allocations: 8.125 kB / 1.11 GB, free: 236.9 MB / 0.7637 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)