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.005266/0.005267, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001251/0.001251, allocations: 186 kB / 16.67 MB, free: 5.934 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002445/0.002445, allocations: 283.9 kB / 290.8 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.9542/0.9542, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 103.8 kB / 0.6809 GB, free: 7.527 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4349, allocations: 86.97 MB / 0.7659 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1245/0.5594, allocations: 115.1 MB / 0.8782 GB, free: 472 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04167/0.6011, allocations: 29.39 MB / 0.9069 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005233/0.6064, allocations: 163.1 kB / 0.9071 GB, free: 2.832 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007106/0.6135, allocations: 2.459 MB / 0.9095 GB, free: 372 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.6245, allocations: 4.095 MB / 0.9135 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007955/0.6325, allocations: 3.282 MB / 0.9167 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01796/0.6504, allocations: 12.87 MB / 0.9293 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006222/0.6567, allocations: 3.744 MB / 0.9329 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008007/0.6647, allocations: 3.579 MB / 0.9364 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005073/0.6698, allocations: 2.896 MB / 0.9392 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0009123/0.6707, allocations: 396 kB / 0.9396 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005823/0.6766, allocations: 2.473 MB / 0.942 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.6781, allocations: 1.203 MB / 0.9432 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003548/0.6817, allocations: 2.325 MB / 0.9455 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.6923, allocations: 7.089 MB / 0.9524 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6923, allocations: 3.984 kB / 0.9524 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6923, allocations: 4 kB / 0.9524 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001018/0.6924, allocations: 0 / 0.9524 GB, free: 4.281 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.3657/1.058, allocations: 4.915 MB / 0.9572 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.058, allocations: 9.438 kB / 0.9572 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000672/1.059, allocations: 340.7 kB / 0.9575 GB, free: 181 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/1.062, allocations: 0.6511 MB / 0.9582 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009435/1.072, allocations: 4.46 MB / 0.9625 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/1.072, allocations: 193.9 kB / 0.9627 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004845/1.072, allocations: 251.2 kB / 0.963 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005913/1.078, allocations: 3.048 MB / 0.9659 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.164e-05/1.078, allocations: 4.344 kB / 0.9659 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002386/1.078, allocations: 100.5 kB / 0.966 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.613e-05/1.079, allocations: 94.2 kB / 0.9661 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003876/1.082, allocations: 2.387 MB / 0.9685 GB, free: 176.3 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.01448/1.097, allocations: 12.94 MB / 0.9811 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/1.099, allocations: 1.711 MB / 0.9828 GB, free: 165 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/1.101, allocations: 1.032 MB / 0.9838 GB, free: 164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005658/1.106, allocations: 4.331 MB / 0.988 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.106, allocations: 51.56 kB / 0.9881 GB, free: 159.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008152/1.107, allocations: 145.8 kB / 0.9882 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 3.407e-06/1.107, allocations: 0 / 0.9882 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.003951/1.111, allocations: 2.408 MB / 0.9906 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/1.111, allocations: 90.11 kB / 0.9906 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/1.115, allocations: 3.475 MB / 0.994 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/1.115, allocations: 53.7 kB / 0.9941 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.116, allocations: 1.725 MB / 0.9958 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/1.117, allocations: 481.7 kB / 0.9962 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005078/1.117, allocations: 451.8 kB / 0.9967 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/1.117, allocations: 317 kB / 0.997 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/1.118, allocations: 0.8448 MB / 0.9978 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/1.12, allocations: 1.456 MB / 0.9992 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.133, allocations: 4.559 MB / 1.004 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/1.133, allocations: 8 kB / 1.004 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004474/1.137, allocations: 2.846 MB / 1.006 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.137, allocations: 15.98 kB / 1.006 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.138, allocations: 20 kB / 1.006 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/1.138, allocations: 176.3 kB / 1.007 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.139, allocations: 479.3 kB / 1.007 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.141, allocations: 2.509 MB / 1.01 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/1.144, allocations: 119.6 kB / 1.01 GB, free: 136.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.144, allocations: 91.98 kB / 1.01 GB, free: 136.9 MB / 0.7169 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.002572/1.146, allocations: 1.921 MB / 1.012 GB, free: 134.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00133/1.148, allocations: 1.443 MB / 1.013 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01247/1.16, allocations: 4.525 MB / 1.017 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/1.16, allocations: 4 kB / 1.017 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004291/1.165, allocations: 2.817 MB / 1.02 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.165, allocations: 12 kB / 1.02 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.165, allocations: 16 kB / 1.02 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/1.165, allocations: 181.3 kB / 1.02 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.166, allocations: 467.4 kB / 1.021 GB, free: 125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/1.168, allocations: 2.515 MB / 1.023 GB, free: 122.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.17, allocations: 123.9 kB / 1.023 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.17, allocations: 91.98 kB / 1.024 GB, free: 122.1 MB / 0.7169 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.0005596/1.171, allocations: 0.496 MB / 1.024 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/1.172, allocations: 349.8 kB / 1.024 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/1.175, allocations: 1.991 MB / 1.026 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.175, allocations: 19.98 kB / 1.026 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.175, allocations: 3.938 kB / 1.026 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002078/1.177, allocations: 1.773 MB / 1.028 GB, free: 117.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/1.18, allocations: 2.629 MB / 1.031 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.18, allocations: 0 / 1.031 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.181, allocations: 263.6 kB / 1.031 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/1.181, allocations: 152.7 kB / 1.031 GB, free: 114.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/1.181, allocations: 39.97 kB / 1.031 GB, free: 114.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/1.183, allocations: 2.47 MB / 1.033 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.183, allocations: 3.047 kB / 1.033 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/1.187, allocations: 2.828 MB / 1.036 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.188, allocations: 0.6158 MB / 1.037 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/1.189, allocations: 32 kB / 1.037 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.19, allocations: 87.36 kB / 1.037 GB, free: 108.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.19, allocations: 93.17 kB / 1.037 GB, free: 108 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.19, allocations: 60.17 kB / 1.037 GB, free: 108 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002736/1.193, allocations: 2.358 MB / 1.039 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.193, allocations: 3.938 kB / 1.039 GB, free: 105.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004122/1.197, allocations: 1.887 MB / 1.041 GB, free: 103.7 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.006205/1.203, allocations: 4.36 MB / 1.045 GB, free: 99.56 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004722/1.208, allocations: 3.52 MB / 1.049 GB, free: 96.03 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.208, allocations: 5.188 kB / 1.049 GB, free: 96.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.209, allocations: 0.9274 MB / 1.05 GB, free: 95.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007655/1.217, allocations: 1.808 MB / 1.052 GB, free: 93.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/1.251, allocations: 25.23 MB / 1.076 GB, free: 67.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/1.252, allocations: 2.408 MB / 1.079 GB, free: 64.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003045/1.256, allocations: 1.068 MB / 1.08 GB, free: 63.94 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.257, allocations: 1.53 MB / 1.081 GB, free: 62.41 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/1.257, allocations: 0 / 1.081 GB, free: 62.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1446/1.402, allocations: 95.43 MB / 1.174 GB, free: 160 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/17.98, allocations: 4.5 kB / 1.174 GB, free: 156 kB / 0.7481 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)