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.006968/0.006968, allocations: 109.1 kB / 15.74 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.00154/0.00154, allocations: 188.5 kB / 16.67 MB, free: 5.941 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 282.7 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 91.86 kB / 0.6814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4091, allocations: 86.98 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1098/0.5189, allocations: 115.1 MB / 0.8787 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0418/0.5608, allocations: 29.4 MB / 0.9074 GB, free: 3.023 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00524/0.566, allocations: 159.1 kB / 0.9076 GB, free: 2.867 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007114/0.5732, allocations: 2.457 MB / 0.91 GB, free: 408 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.5845, allocations: 4.094 MB / 0.914 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008156/0.5927, allocations: 3.278 MB / 0.9172 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01689/0.6096, allocations: 12.89 MB / 0.9298 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005586/0.6152, allocations: 3.729 MB / 0.9334 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007418/0.6227, allocations: 3.673 MB / 0.937 GB, free: 4.66 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.6276, allocations: 2.882 MB / 0.9398 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.6289, allocations: 400 kB / 0.9402 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/0.6348, allocations: 2.477 MB / 0.9426 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.6365, allocations: 1.207 MB / 0.9438 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.6403, allocations: 2.317 MB / 0.946 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.6506, allocations: 7.073 MB / 0.9529 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.6507, allocations: 0 / 0.9529 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6507, allocations: 0 / 0.9529 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002186/0.6509, allocations: 0 / 0.9529 GB, free: 4.262 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.3519/1.003, allocations: 4.768 MB / 0.9576 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/1.003, allocations: 9.344 kB / 0.9576 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/1.007, allocations: 0.6308 MB / 0.9582 GB, free: 181 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009809/1.016, allocations: 4.437 MB / 0.9626 GB, free: 179 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/1.017, allocations: 187.5 kB / 0.9627 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005001/1.017, allocations: 240.1 kB / 0.963 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005862/1.023, allocations: 3.051 MB / 0.966 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.22e-05/1.023, allocations: 12.86 kB / 0.966 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/1.023, allocations: 103.2 kB / 0.9661 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-05/1.023, allocations: 101.6 kB / 0.9662 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/1.027, allocations: 2.384 MB / 0.9685 GB, free: 176.5 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.01395/1.041, allocations: 12.91 MB / 0.9811 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/1.044, allocations: 1.711 MB / 0.9828 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.045, allocations: 1.03 MB / 0.9838 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006227/1.051, allocations: 4.328 MB / 0.988 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.051, allocations: 49.31 kB / 0.988 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008191/1.052, allocations: 150.2 kB / 0.9882 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 3.025e-06/1.052, allocations: 0 / 0.9882 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004102/1.056, allocations: 2.39 MB / 0.9905 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.056, allocations: 90.11 kB / 0.9906 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/1.06, allocations: 3.468 MB / 0.994 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/1.06, allocations: 57.7 kB / 0.994 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/1.062, allocations: 1.694 MB / 0.9957 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/1.062, allocations: 457.2 kB / 0.9961 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/1.062, allocations: 455.6 kB / 0.9966 GB, free: 151 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/1.062, allocations: 301.1 kB / 0.9969 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.064, allocations: 0.8478 MB / 0.9977 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.065, allocations: 1.461 MB / 0.9991 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.079, allocations: 4.57 MB / 1.004 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/1.079, allocations: 4 kB / 1.004 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.00469/1.084, allocations: 2.833 MB / 1.006 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.084, allocations: 14.34 kB / 1.006 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.084, allocations: 16 kB / 1.006 GB, free: 140.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/1.084, allocations: 172.7 kB / 1.007 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.086, allocations: 483.2 kB / 1.007 GB, free: 139.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/1.087, allocations: 2.504 MB / 1.009 GB, free: 137.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/1.09, allocations: 119.1 kB / 1.01 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.09, allocations: 95.97 kB / 1.01 GB, free: 137.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002604/1.093, allocations: 1.925 MB / 1.012 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001295/1.094, allocations: 1.44 MB / 1.013 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01301/1.107, allocations: 4.518 MB / 1.017 GB, free: 128.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.307e-05/1.107, allocations: 4 kB / 1.017 GB, free: 128.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004354/1.111, allocations: 2.8 MB / 1.02 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.112, allocations: 19.94 kB / 1.02 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.112, allocations: 20 kB / 1.02 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/1.112, allocations: 168.7 kB / 1.02 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.113, allocations: 471.3 kB / 1.021 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/1.115, allocations: 2.511 MB / 1.023 GB, free: 122.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.117, allocations: 127.6 kB / 1.023 GB, free: 122.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.118, allocations: 95.92 kB / 1.023 GB, free: 122.4 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.0005992/1.118, allocations: 0.5038 MB / 1.024 GB, free: 121.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/1.119, allocations: 327.9 kB / 1.024 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/1.122, allocations: 1.983 MB / 1.026 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/1.122, allocations: 20 kB / 1.026 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.122, allocations: 3.938 kB / 1.026 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002111/1.124, allocations: 1.761 MB / 1.028 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/1.127, allocations: 2.636 MB / 1.03 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/1.127, allocations: 4 kB / 1.03 GB, free: 115 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.128, allocations: 259.6 kB / 1.031 GB, free: 114.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003686/1.129, allocations: 156.7 kB / 1.031 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.136e-05/1.129, allocations: 43.91 kB / 1.031 GB, free: 114.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.131, allocations: 2.471 MB / 1.033 GB, free: 112 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.131, allocations: 3.844 kB / 1.033 GB, free: 112 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/1.135, allocations: 2.803 MB / 1.036 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.136, allocations: 0.61 MB / 1.037 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/1.136, allocations: 24 kB / 1.037 GB, free: 108.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.138, allocations: 92.22 kB / 1.037 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.138, allocations: 93.17 kB / 1.037 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.138, allocations: 59.95 kB / 1.037 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002795/1.141, allocations: 2.354 MB / 1.039 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.141, allocations: 224 / 1.039 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00396/1.145, allocations: 1.87 MB / 1.041 GB, free: 104.1 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.002009/1.147, allocations: 1.071 MB / 1.042 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004898/1.152, allocations: 3.517 MB / 1.046 GB, free: 99.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.152, allocations: 4.5 kB / 1.046 GB, free: 99.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.153, allocations: 0.9275 MB / 1.046 GB, free: 98.83 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007974/1.161, allocations: 1.812 MB / 1.048 GB, free: 97.08 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008512/1.17, allocations: 6.707 MB / 1.055 GB, free: 90.37 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.171, allocations: 2.403 MB / 1.057 GB, free: 87.95 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003279/1.174, allocations: 1.085 MB / 1.058 GB, free: 86.88 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/1.175, allocations: 283.3 kB / 1.058 GB, free: 86.61 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/1.175, allocations: 0 / 1.058 GB, free: 86.61 MB / 0.7169 GB Notification: Performance of Templates: time 0.08529/1.261, allocations: 68.16 MB / 1.125 GB, free: 19.41 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pipe 2>&1)