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.001297/0.001297, allocations: 108 kB / 15.61 MB, free: 148 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.001482/0.001482, allocations: 195.8 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 286.9 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9851/0.9851, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 104.1 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1537, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.4151/0.5688, allocations: 115 MB / 0.7926 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03535/0.6042, allocations: 29.39 MB / 0.8213 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006553/0.6108, allocations: 164 kB / 0.8215 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.6214, allocations: 4.892 MB / 0.8263 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.6322, allocations: 3.988 MB / 0.8302 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008111/0.6403, allocations: 3.21 MB / 0.8333 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01803/0.6584, allocations: 12.75 MB / 0.8457 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005646/0.6641, allocations: 3.714 MB / 0.8494 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008868/0.673, allocations: 3.541 MB / 0.8528 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005489/0.6785, allocations: 2.851 MB / 0.8556 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.6795, allocations: 389.8 kB / 0.856 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.6858, allocations: 2.477 MB / 0.8584 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.6873, allocations: 1.192 MB / 0.8596 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003609/0.691, allocations: 2.313 MB / 0.8618 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009847/0.7008, allocations: 6.952 MB / 0.8686 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7009, allocations: 7.938 kB / 0.8686 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7009, allocations: 0 / 0.8686 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001547/0.701, allocations: 0 / 0.8686 GB, free: 14.66 MB / 0.5919 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.009592/0.7106, allocations: 4.76 MB / 0.8733 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.7107, allocations: 12.03 kB / 0.8733 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005155/0.7112, allocations: 348.1 kB / 0.8736 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.7143, allocations: 0.6234 MB / 0.8742 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008795/0.7231, allocations: 4.262 MB / 0.8784 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.7233, allocations: 196.7 kB / 0.8786 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004126/0.7238, allocations: 243.7 kB / 0.8788 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/0.7293, allocations: 3.056 MB / 0.8818 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/0.7293, allocations: 3.938 kB / 0.8818 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.7296, allocations: 100 kB / 0.8819 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.082e-05/0.7297, allocations: 92.53 kB / 0.882 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004504/0.7342, allocations: 2.395 MB / 0.8843 GB, free: 14.38 MB / 0.6075 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.01861/0.7528, allocations: 13.01 MB / 0.897 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.756, allocations: 1.717 MB / 0.8987 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.7577, allocations: 1.027 MB / 0.8997 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007654/0.7654, allocations: 4.316 MB / 0.9039 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.7655, allocations: 51.5 kB / 0.904 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009429/0.7664, allocations: 154.2 kB / 0.9041 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=125): time 3.507e-06/0.7664, allocations: 0 / 0.9041 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125): time 0.004977/0.7714, allocations: 2.395 MB / 0.9064 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.7715, allocations: 90.11 kB / 0.9065 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/0.7764, allocations: 3.457 MB / 0.9099 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.7767, allocations: 57.7 kB / 0.91 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.7784, allocations: 1.688 MB / 0.9116 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.7789, allocations: 456.2 kB / 0.912 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006568/0.7796, allocations: 455.6 kB / 0.9125 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7797, allocations: 305.1 kB / 0.9128 GB, free: 428 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.7812, allocations: 0.8499 MB / 0.9136 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.7833, allocations: 1.449 MB / 0.915 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/0.799, allocations: 4.608 MB / 0.9195 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.7991, allocations: 8 kB / 0.9195 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.006766/0.8059, allocations: 2.829 MB / 0.9223 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.806, allocations: 12 kB / 0.9223 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.806, allocations: 20.16 kB / 0.9223 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005101/0.8065, allocations: 184.6 kB / 0.9225 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.8082, allocations: 479.2 kB / 0.923 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.8111, allocations: 2.5 MB / 0.9254 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.8135, allocations: 131 kB / 0.9255 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.8138, allocations: 95.92 kB / 0.9256 GB, free: 2.641 MB / 0.6387 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.00339/0.8172, allocations: 1.918 MB / 0.9275 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002007/0.8192, allocations: 1.444 MB / 0.9289 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01522/0.8344, allocations: 4.542 MB / 0.9333 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-05/0.8345, allocations: 4 kB / 0.9333 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.00551/0.84, allocations: 2.807 MB / 0.9361 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.84, allocations: 12 kB / 0.9361 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.8401, allocations: 20.84 kB / 0.9361 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.8405, allocations: 184.6 kB / 0.9363 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.8421, allocations: 467.3 kB / 0.9367 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.8448, allocations: 2.506 MB / 0.9392 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.8472, allocations: 127.8 kB / 0.9393 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/0.8474, allocations: 94.86 kB / 0.9394 GB, free: 3.883 MB / 0.6544 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.0007518/0.8481, allocations: 0.5001 MB / 0.9399 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008586/0.849, allocations: 335.7 kB / 0.9402 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.8532, allocations: 2.002 MB / 0.9421 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.8532, allocations: 12 kB / 0.9422 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.8533, allocations: 4 kB / 0.9422 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002852/0.8561, allocations: 1.773 MB / 0.9439 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004622/0.8608, allocations: 2.631 MB / 0.9465 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.8608, allocations: 0 / 0.9465 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.862, allocations: 263.6 kB / 0.9467 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.8625, allocations: 160.6 kB / 0.9469 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.8626, allocations: 39.97 kB / 0.9469 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.8654, allocations: 2.47 MB / 0.9493 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8654, allocations: 3.938 kB / 0.9493 GB, free: 9.469 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006771/0.8722, allocations: 2.817 MB / 0.9521 GB, free: 6.633 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/0.8743, allocations: 0.5983 MB / 0.9527 GB, free: 6.012 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/0.8748, allocations: 28 kB / 0.9527 GB, free: 5.984 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8763, allocations: 99.73 kB / 0.9528 GB, free: 5.887 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.8765, allocations: 85.19 kB / 0.9529 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.8767, allocations: 67.94 kB / 0.9529 GB, free: 5.734 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003825/0.8805, allocations: 2.346 MB / 0.9552 GB, free: 3.406 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8805, allocations: 0 / 0.9552 GB, free: 3.406 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005489/0.886, allocations: 1.878 MB / 0.9571 GB, free: 1.527 MB / 0.67 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.008083/0.8941, allocations: 4.343 MB / 0.9613 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008255/0.9024, allocations: 4.066 MB / 0.9653 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.9024, allocations: 5.25 kB / 0.9653 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.9041, allocations: 0.9391 MB / 0.9662 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008822/0.9129, allocations: 1.807 MB / 0.968 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04987/0.9629, allocations: 29.4 MB / 0.9967 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.9652, allocations: 2.41 MB / 0.999 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004111/0.9693, allocations: 1.075 MB / 1 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/0.972, allocations: 1.522 MB / 1.002 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/0.972, allocations: 0 / 1.002 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4308/1.403, allocations: 97.29 MB / 1.097 GB, free: 291.3 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/13.14, allocations: 8 kB / 1.097 GB, free: 291.3 MB / 0.7794 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)