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.008557/0.008557, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.002107/0.002107, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 288.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.224/1.224, allocations: 178.5 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 99.83 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4091, allocations: 89.12 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1227/0.5319, allocations: 115.1 MB / 0.8937 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0451/0.577, allocations: 29.38 MB / 0.9224 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.5825, allocations: 163.1 kB / 0.9225 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00745/0.59, allocations: 2.461 MB / 0.9249 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.6014, allocations: 4.101 MB / 0.9289 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.6098, allocations: 3.284 MB / 0.9321 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0192/0.629, allocations: 12.88 MB / 0.9447 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005684/0.6347, allocations: 3.74 MB / 0.9484 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008494/0.6432, allocations: 3.588 MB / 0.9519 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00512/0.6484, allocations: 2.89 MB / 0.9547 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.6494, allocations: 396 kB / 0.9551 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006314/0.6557, allocations: 2.48 MB / 0.9575 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.6574, allocations: 1.192 MB / 0.9587 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003716/0.6611, allocations: 2.333 MB / 0.9609 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.6723, allocations: 7.085 MB / 0.9679 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.6723, allocations: 0 / 0.9679 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6724, allocations: 4 kB / 0.9679 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001575/0.6725, allocations: 0 / 0.9679 GB, free: 9.137 MB / 0.7325 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.01077/0.6833, allocations: 4.921 MB / 0.9727 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6834, allocations: 8.031 kB / 0.9727 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005213/0.6839, allocations: 337.4 kB / 0.973 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.6868, allocations: 0.657 MB / 0.9736 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008555/0.6954, allocations: 4.47 MB / 0.978 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.6956, allocations: 188.7 kB / 0.9782 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005726/0.6962, allocations: 248 kB / 0.9784 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/0.7019, allocations: 3.045 MB / 0.9814 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.357e-05/0.702, allocations: 11.89 kB / 0.9814 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.7023, allocations: 100 kB / 0.9815 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.7024, allocations: 92.53 kB / 0.9816 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.7071, allocations: 2.383 MB / 0.9839 GB, free: 8.355 MB / 0.7481 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.3411/1.048, allocations: 12.94 MB / 0.9965 GB, free: 186.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002899/1.051, allocations: 1.706 MB / 0.9982 GB, free: 186.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.053, allocations: 1.023 MB / 0.9992 GB, free: 185.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006669/1.06, allocations: 4.335 MB / 1.003 GB, free: 183.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/1.06, allocations: 50.53 kB / 1.003 GB, free: 183.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007409/1.06, allocations: 150 kB / 1.004 GB, free: 183.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=125): time 3.967e-06/1.06, allocations: 0 / 1.004 GB, free: 183.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=125): time 0.005156/1.065, allocations: 2.41 MB / 1.006 GB, free: 182.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.066, allocations: 94.12 kB / 1.006 GB, free: 182.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004571/1.07, allocations: 3.468 MB / 1.009 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/1.07, allocations: 52.98 kB / 1.01 GB, free: 181.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/1.072, allocations: 1.724 MB / 1.011 GB, free: 179.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/1.072, allocations: 483.5 kB / 1.012 GB, free: 179.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/1.072, allocations: 454.3 kB / 1.012 GB, free: 179.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.592e-05/1.073, allocations: 306.3 kB / 1.012 GB, free: 178.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/1.074, allocations: 0.8457 MB / 1.013 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/1.075, allocations: 1.454 MB / 1.015 GB, free: 177.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/1.09, allocations: 4.568 MB / 1.019 GB, free: 174.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/1.09, allocations: 4.969 kB / 1.019 GB, free: 174.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004928/1.095, allocations: 2.848 MB / 1.022 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.095, allocations: 12.91 kB / 1.022 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.095, allocations: 16.81 kB / 1.022 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/1.095, allocations: 177.8 kB / 1.022 GB, free: 173.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.097, allocations: 480.9 kB / 1.023 GB, free: 173 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/1.099, allocations: 2.506 MB / 1.025 GB, free: 170.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.101, allocations: 123.2 kB / 1.025 GB, free: 170.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.102, allocations: 96.38 kB / 1.025 GB, free: 170.8 MB / 0.7481 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.002615/1.104, allocations: 1.912 MB / 1.027 GB, free: 169.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001337/1.106, allocations: 1.447 MB / 1.028 GB, free: 168.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01334/1.119, allocations: 4.519 MB / 1.033 GB, free: 165.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.161e-05/1.119, allocations: 7.938 kB / 1.033 GB, free: 165.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004093/1.123, allocations: 2.817 MB / 1.036 GB, free: 164.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/1.123, allocations: 18.72 kB / 1.036 GB, free: 164.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.123, allocations: 15.06 kB / 1.036 GB, free: 164.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/1.123, allocations: 172 kB / 1.036 GB, free: 164.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.125, allocations: 480.8 kB / 1.036 GB, free: 164.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/1.127, allocations: 2.507 MB / 1.039 GB, free: 162.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.129, allocations: 120.6 kB / 1.039 GB, free: 162.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.129, allocations: 92.36 kB / 1.039 GB, free: 162 MB / 0.7481 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.0006643/1.13, allocations: 0.5006 MB / 1.039 GB, free: 161.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006814/1.13, allocations: 354.7 kB / 1.04 GB, free: 161.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/1.134, allocations: 1.986 MB / 1.042 GB, free: 160.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.134, allocations: 22.72 kB / 1.042 GB, free: 160.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.134, allocations: 3.906 kB / 1.042 GB, free: 160.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002186/1.136, allocations: 1.766 MB / 1.043 GB, free: 158.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/1.14, allocations: 2.636 MB / 1.046 GB, free: 156.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.14, allocations: 4 kB / 1.046 GB, free: 156.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.141, allocations: 259.6 kB / 1.046 GB, free: 156 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/1.141, allocations: 156.7 kB / 1.046 GB, free: 155.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.205e-05/1.141, allocations: 39.91 kB / 1.046 GB, free: 155.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/1.143, allocations: 2.491 MB / 1.049 GB, free: 153.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.143, allocations: 0 / 1.049 GB, free: 153.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/1.147, allocations: 2.813 MB / 1.052 GB, free: 150.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.148, allocations: 0.6257 MB / 1.052 GB, free: 149.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/1.149, allocations: 24 kB / 1.052 GB, free: 149.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.15, allocations: 94.61 kB / 1.052 GB, free: 149.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.151, allocations: 89.12 kB / 1.052 GB, free: 149.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.151, allocations: 67.94 kB / 1.053 GB, free: 149.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002915/1.154, allocations: 2.354 MB / 1.055 GB, free: 147.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.154, allocations: 0 / 1.055 GB, free: 147.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004144/1.158, allocations: 1.886 MB / 1.057 GB, free: 145.4 MB / 0.7481 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.00631/1.164, allocations: 4.355 MB / 1.061 GB, free: 141.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004859/1.169, allocations: 3.517 MB / 1.064 GB, free: 137.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.169, allocations: 7.469 kB / 1.064 GB, free: 137.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.17, allocations: 0.9366 MB / 1.065 GB, free: 136.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007477/1.178, allocations: 1.808 MB / 1.067 GB, free: 135.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/1.21, allocations: 25.21 MB / 1.092 GB, free: 109.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.212, allocations: 2.402 MB / 1.094 GB, free: 106.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003186/1.215, allocations: 1.081 MB / 1.095 GB, free: 105.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/1.217, allocations: 1.522 MB / 1.097 GB, free: 104.3 MB / 0.7481 GB Notification: Performance of SimCode: time 9.72e-07/1.217, allocations: 0 / 1.097 GB, free: 104.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.345, allocations: 95.39 MB / 1.19 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/18.62, allocations: 8.359 kB / 1.19 GB, free: 10.05 MB / 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)