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.001173/0.001173, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.0009778/0.0009778, allocations: 187 kB / 17.34 MB, free: 5.75 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 284.7 kB / 291.5 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.9089/0.9089, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4288, allocations: 86.98 MB / 0.767 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.1059/0.5348, allocations: 115.1 MB / 0.8794 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03947/0.5743, allocations: 29.4 MB / 0.9081 GB, free: 2.953 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005595/0.58, allocations: 163.1 kB / 0.9082 GB, free: 2.793 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006976/0.587, allocations: 2.449 MB / 0.9106 GB, free: 340 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.5978, allocations: 4.093 MB / 0.9146 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008554/0.6064, allocations: 3.286 MB / 0.9178 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01729/0.6237, allocations: 12.88 MB / 0.9304 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.6298, allocations: 3.733 MB / 0.9341 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007979/0.6378, allocations: 3.671 MB / 0.9376 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005029/0.6428, allocations: 2.878 MB / 0.9405 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.6443, allocations: 396 kB / 0.9408 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006368/0.6507, allocations: 2.484 MB / 0.9433 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.6526, allocations: 1.203 MB / 0.9444 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004341/0.657, allocations: 2.325 MB / 0.9467 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.6681, allocations: 7.065 MB / 0.9536 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6681, allocations: 0 / 0.9536 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6682, allocations: 0 / 0.9536 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002222/0.6684, allocations: 0 / 0.9536 GB, free: 4.191 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.3981/1.067, allocations: 4.767 MB / 0.9583 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.067, allocations: 9.406 kB / 0.9583 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003551/1.07, allocations: 0.6309 MB / 0.9589 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009802/1.08, allocations: 4.434 MB / 0.9632 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/1.08, allocations: 189.4 kB / 0.9634 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005669/1.081, allocations: 243.8 kB / 0.9636 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006056/1.087, allocations: 3.048 MB / 0.9666 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.657e-05/1.087, allocations: 13.56 kB / 0.9666 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/1.087, allocations: 103.3 kB / 0.9667 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.214e-05/1.087, allocations: 97.56 kB / 0.9668 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004057/1.091, allocations: 2.383 MB / 0.9691 GB, free: 176.4 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.01494/1.106, allocations: 12.92 MB / 0.9818 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/1.109, allocations: 1.701 MB / 0.9834 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/1.11, allocations: 1.03 MB / 0.9844 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006642/1.117, allocations: 4.331 MB / 0.9887 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/1.117, allocations: 53.19 kB / 0.9887 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009388/1.118, allocations: 146 kB / 0.9888 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=125): time 4.258e-06/1.118, allocations: 0 / 0.9888 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125): time 0.004159/1.122, allocations: 2.392 MB / 0.9912 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/1.122, allocations: 90.11 kB / 0.9913 GB, free: 157 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/1.126, allocations: 3.471 MB / 0.9947 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002086/1.126, allocations: 57.7 kB / 0.9947 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.127, allocations: 1.693 MB / 0.9964 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/1.128, allocations: 460.8 kB / 0.9968 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005069/1.128, allocations: 451.6 kB / 0.9972 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.34e-05/1.128, allocations: 305.1 kB / 0.9975 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/1.129, allocations: 0.8447 MB / 0.9983 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.131, allocations: 1.464 MB / 0.9998 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.144, allocations: 4.556 MB / 1.004 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/1.144, allocations: 7.938 kB / 1.004 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.004707/1.149, allocations: 2.83 MB / 1.007 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.149, allocations: 16 kB / 1.007 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.149, allocations: 16 kB / 1.007 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/1.149, allocations: 176.3 kB / 1.007 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/1.151, allocations: 483.2 kB / 1.008 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/1.152, allocations: 2.509 MB / 1.01 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/1.155, allocations: 119.8 kB / 1.01 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.155, allocations: 91.98 kB / 1.01 GB, free: 137 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.002513/1.157, allocations: 1.923 MB / 1.012 GB, free: 135.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001258/1.159, allocations: 1.44 MB / 1.014 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0128/1.172, allocations: 4.525 MB / 1.018 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.522e-05/1.172, allocations: 7.938 kB / 1.018 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288) (initialization_lambda0): time 0.004263/1.176, allocations: 2.793 MB / 1.021 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.176, allocations: 16.03 kB / 1.021 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.176, allocations: 23.94 kB / 1.021 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/1.176, allocations: 176.7 kB / 1.021 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/1.178, allocations: 471.3 kB / 1.021 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/1.179, allocations: 2.498 MB / 1.024 GB, free: 122.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.182, allocations: 123.9 kB / 1.024 GB, free: 122.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/1.182, allocations: 91.98 kB / 1.024 GB, free: 122.3 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.0006511/1.183, allocations: 0.5075 MB / 1.025 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/1.183, allocations: 331.9 kB / 1.025 GB, free: 121.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/1.187, allocations: 1.986 MB / 1.027 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.187, allocations: 23.98 kB / 1.027 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.187, allocations: 3.938 kB / 1.027 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002054/1.189, allocations: 1.761 MB / 1.029 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/1.192, allocations: 2.639 MB / 1.031 GB, free: 114.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/1.192, allocations: 4 kB / 1.031 GB, free: 114.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/1.194, allocations: 259.6 kB / 1.031 GB, free: 114.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003619/1.194, allocations: 155.2 kB / 1.032 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/1.194, allocations: 43.91 kB / 1.032 GB, free: 114.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/1.196, allocations: 2.473 MB / 1.034 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.196, allocations: 3.984 kB / 1.034 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/1.2, allocations: 2.803 MB / 1.037 GB, free: 109.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.201, allocations: 0.6061 MB / 1.037 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/1.202, allocations: 28 kB / 1.037 GB, free: 108.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.203, allocations: 87.5 kB / 1.037 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.203, allocations: 93.17 kB / 1.038 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.204, allocations: 59.95 kB / 1.038 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003083/1.207, allocations: 2.354 MB / 1.04 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/1.207, allocations: 0 / 1.04 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005248/1.212, allocations: 1.871 MB / 1.042 GB, free: 104 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.00235/1.214, allocations: 1.069 MB / 1.043 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005272/1.22, allocations: 3.521 MB / 1.046 GB, free: 99.67 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.22, allocations: 4.562 kB / 1.046 GB, free: 99.67 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/1.221, allocations: 0.9274 MB / 1.047 GB, free: 98.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008171/1.229, allocations: 1.816 MB / 1.049 GB, free: 96.97 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009905/1.239, allocations: 6.758 MB / 1.055 GB, free: 90.21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.241, allocations: 2.353 MB / 1.058 GB, free: 87.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.242, allocations: 303.2 kB / 1.058 GB, free: 87.54 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/1.242, allocations: 0 / 1.058 GB, free: 87.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.08255/1.324, allocations: 80.76 MB / 1.137 GB, free: 7.227 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)