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: translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 107.3 kB / 16.41 MB, free: 6.52 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.001634/0.001634, allocations: 185.2 kB / 17.34 MB, free: 5.734 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00247/0.00247, allocations: 283.2 kB / 291.5 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 0.998/0.998, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4207, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1225/0.5433, allocations: 115.3 MB / 0.8796 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04416/0.5874, allocations: 29.43 MB / 0.9083 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005226/0.5926, allocations: 159.2 kB / 0.9085 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007046/0.5997, allocations: 2.513 MB / 0.9109 GB, free: 72 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.6106, allocations: 4.272 MB / 0.9151 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008042/0.6186, allocations: 3.304 MB / 0.9183 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01793/0.6365, allocations: 12.9 MB / 0.9309 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00496/0.6415, allocations: 3.085 MB / 0.9339 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00795/0.6495, allocations: 3.667 MB / 0.9375 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004981/0.6544, allocations: 2.884 MB / 0.9403 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008611/0.6553, allocations: 396 kB / 0.9407 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.6609, allocations: 2.484 MB / 0.9431 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.6623, allocations: 1.246 MB / 0.9444 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00331/0.6656, allocations: 2.321 MB / 0.9466 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.6766, allocations: 7.093 MB / 0.9535 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6766, allocations: 0 / 0.9535 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6766, allocations: 0 / 0.9535 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001182/0.6767, allocations: 0 / 0.9535 GB, free: 4.297 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.3259/1.003, allocations: 4.919 MB / 0.9584 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.003, allocations: 10.14 kB / 0.9584 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/1.006, allocations: 0.6536 MB / 0.959 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008608/1.014, allocations: 4.468 MB / 0.9634 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.015, allocations: 183.3 kB / 0.9635 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/1.015, allocations: 246.7 kB / 0.9638 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/1.02, allocations: 3.044 MB / 0.9667 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/1.02, allocations: 10 kB / 0.9668 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/1.02, allocations: 108.2 kB / 0.9669 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.223e-05/1.021, allocations: 95.05 kB / 0.9669 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/1.024, allocations: 2.385 MB / 0.9693 GB, free: 177 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.01281/1.037, allocations: 12.94 MB / 0.9819 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/1.039, allocations: 1.611 MB / 0.9835 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/1.041, allocations: 0.936 MB / 0.9844 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005586/1.046, allocations: 4.334 MB / 0.9886 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/1.046, allocations: 47.56 kB / 0.9887 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007149/1.047, allocations: 149.1 kB / 0.9888 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 3.246e-06/1.047, allocations: 3.891 kB / 0.9888 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.003898/1.051, allocations: 2.403 MB / 0.9912 GB, free: 157.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/1.051, allocations: 94.05 kB / 0.9913 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/1.055, allocations: 3.477 MB / 0.9947 GB, free: 154.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/1.055, allocations: 59.67 kB / 0.9947 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.056, allocations: 1.72 MB / 0.9964 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.056, allocations: 483.4 kB / 0.9969 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/1.056, allocations: 455.8 kB / 0.9973 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.428e-05/1.057, allocations: 301.1 kB / 0.9976 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/1.058, allocations: 0.8423 MB / 0.9984 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/1.059, allocations: 1.459 MB / 0.9998 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01359/1.073, allocations: 4.563 MB / 1.004 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.073, allocations: 4 kB / 1.004 GB, free: 144.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004207/1.077, allocations: 2.84 MB / 1.007 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.077, allocations: 12 kB / 1.007 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/1.077, allocations: 19.98 kB / 1.007 GB, free: 141.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/1.077, allocations: 173.4 kB / 1.007 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.079, allocations: 479.3 kB / 1.008 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.081, allocations: 2.515 MB / 1.01 GB, free: 138 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.083, allocations: 123.9 kB / 1.01 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/1.083, allocations: 95.8 kB / 1.01 GB, free: 137.8 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.002462/1.085, allocations: 1.918 MB / 1.012 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/1.087, allocations: 1.44 MB / 1.014 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01351/1.1, allocations: 4.518 MB / 1.018 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.389e-05/1.1, allocations: 4 kB / 1.018 GB, free: 129.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004308/1.105, allocations: 2.813 MB / 1.021 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.105, allocations: 14.34 kB / 1.021 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.105, allocations: 16 kB / 1.021 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003613/1.105, allocations: 181.4 kB / 1.021 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/1.107, allocations: 471.3 kB / 1.021 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.108, allocations: 2.508 MB / 1.024 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.111, allocations: 131.8 kB / 1.024 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.111, allocations: 91.98 kB / 1.024 GB, free: 123 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.0006047/1.112, allocations: 0.4967 MB / 1.025 GB, free: 122.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/1.112, allocations: 345.8 kB / 1.025 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/1.116, allocations: 1.992 MB / 1.027 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/1.116, allocations: 15.98 kB / 1.027 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.116, allocations: 7.938 kB / 1.027 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002155/1.118, allocations: 1.761 MB / 1.029 GB, free: 118.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/1.121, allocations: 2.625 MB / 1.031 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.121, allocations: 0 / 1.031 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.122, allocations: 263.6 kB / 1.031 GB, free: 115.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/1.123, allocations: 152.7 kB / 1.032 GB, free: 115.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/1.123, allocations: 43.91 kB / 1.032 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/1.125, allocations: 2.464 MB / 1.034 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.125, allocations: 0 / 1.034 GB, free: 112.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/1.129, allocations: 2.824 MB / 1.037 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.13, allocations: 0.6274 MB / 1.037 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/1.131, allocations: 35.94 kB / 1.037 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.132, allocations: 88.61 kB / 1.038 GB, free: 109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.132, allocations: 89.17 kB / 1.038 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.132, allocations: 63.95 kB / 1.038 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002895/1.135, allocations: 2.358 MB / 1.04 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.135, allocations: 3.938 kB / 1.04 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004478/1.14, allocations: 1.883 MB / 1.042 GB, free: 104.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.002424/1.142, allocations: 1.075 MB / 1.043 GB, free: 103.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00462/1.147, allocations: 3.286 MB / 1.046 GB, free: 100.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/1.147, allocations: 0.5625 kB / 1.046 GB, free: 100.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.148, allocations: 0.869 MB / 1.047 GB, free: 99.61 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006934/1.155, allocations: 1.807 MB / 1.049 GB, free: 97.86 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/1.163, allocations: 6.84 MB / 1.055 GB, free: 91.01 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/1.165, allocations: 2.404 MB / 1.058 GB, free: 88.58 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003272/1.168, allocations: 1.076 MB / 1.059 GB, free: 87.53 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000627/1.169, allocations: 279.3 kB / 1.059 GB, free: 87.25 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/1.169, allocations: 3.938 kB / 1.059 GB, free: 87.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.08999/1.259, allocations: 67.54 MB / 1.125 GB, free: 20.66 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile (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 & ./BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)