watertap-org / watertap

The WaterTAP development repository
https://watertap.readthedocs.io/en/latest
Other
54 stars 54 forks source link

More Depreciation Warnings #586

Closed aladshaw3 closed 1 year ago

aladshaw3 commented 2 years ago

I recently noticed that there are still some residual depreciation warnings resulting from changes being made in both Pyomo and IDAES. You can see these by viewing the logs ( pytest.log ) from running pytest.

Some of them appear during the building of docs: DocDepreciations.txt

Others are unique to some units models or example files: DepWarn-RO1D.txt DepWarn-ChemExamples.txt

We will need to go through our whole repo at some point and start updating code to get rid of these warnings.

lbianchi-lbl commented 2 years ago

@aladshaw3 thanks for bringing these up. I'm just pasting the content of the text files inside the comment for convenience of access since my browser was forcing me to download each file before being able to view it.

Still some remaining Depreciation warnings from docs
----------------------------------------------------

reading sources... [  2%] apidoc/watertap.core.plugins
reading sources... [  2%] apidoc/watertap.core.util
reading sources... [  3%] apidoc/watertap.costing
reading sources... [  3%] apidoc/watertap.data
reading sources... [  4%] apidoc/watertap.data.techno_economic
reading sources... [  5%] apidoc/watertap.edb
reading sources... [  5%] apidoc/watertap.examples
reading sources... [  6%] apidoc/watertap.examples.chemistry
reading sources... [  6%] apidoc/watertap.examples.edb
reading sources... [  7%] apidoc/watertap.examples.flowsheets
reading sources... [  7%] apidoc/watertap.examples.flowsheets.RO_with_energy_recovery
reading sources... [  8%] apidoc/watertap.examples.flowsheets.case_studies
reading sources... [  8%] apidoc/watertap.examples.flowsheets.case_studies.municipal_treatment
reading sources... [  9%] apidoc/watertap.examples.flowsheets.case_studies.seawater_RO_desalination
reading sources... [ 10%] apidoc/watertap.examples.flowsheets.case_studies.wastewater_resource_recovery
reading sources... [ 10%] apidoc/watertap.examples.flowsheets.case_studies.wastewater_resource_recovery.biomembrane_filtration
reading sources... [ 11%] apidoc/watertap.examples.flowsheets.case_studies.wastewater_resource_recovery.dye_desalination
WARNING: DEPRECATED: the 'get_solver' function has been moved to
    'idaes.core.solvers.get_solver'.  Please update your import. (deprecated
    in 2.0.0.alpha0) (called from /home/runner/work/watertap/watertap/watertap
    /examples/flowsheets/case_studies/wastewater_resource_recovery/dye_desalin
    ation/dye_desalination_withRO.py:27)
WARNING: DEPRECATED: The generic_models.unit_models package has been moved to
    idaes.models.unit_models  (deprecated in 2.0.0.alpha0) (called from
    <frozen importlib._bootstrap>:219)
WARNING: DEPRECATED: The generic_models.unit_models.mixer module has been
    moved to idaes.models.unit_models.mixer  (deprecated in 2.0.0.alpha0)
    (called from <frozen importlib._bootstrap>:219)
WARNING: DEPRECATED: The generic_models.unit_models.translator module has been
    moved to idaes.models.unit_models.translator  (deprecated in 2.0.0.alpha0)
    (called from <frozen importlib._bootstrap>:219)
WARNING: DEPRECATED: The generic_models.costing package has been moved to
    idaes.core  (deprecated in 2.0.0.alpha0) (called from <frozen
    importlib._bootstrap>:219)
reading sources... [ 11%] apidoc/watertap.examples.flowsheets.case_studies.wastewater_resource_recovery.electrochemical_nutrient_removal
reading sources... [ 12%] apidoc/watertap.examples.flowsheets.case_studies.wastewater_resource_recovery.metab
reading sources... [ 12%] apidoc/watertap.examples.flowsheets.case_studies.wastewater_resource_recovery.supercritical_sludge_to_gas
reading sources... [ 13%] apidoc/watertap.examples.flowsheets.full_treatment_train
reading sources... [ 13%] apidoc/watertap.examples.flowsheets.full_treatment_train.analysis
reading sources... [ 14%] apidoc/watertap.examples.flowsheets.full_treatment_train.flowsheet_components
reading sources... [ 15%] apidoc/watertap.examples.flowsheets.full_treatment_train.flowsheet_components.chemistry
reading sources... [ 15%] apidoc/watertap.examples.flowsheets.full_treatment_train.flowsheet_components.examples
reading sources... [ 16%] apidoc/watertap.examples.flowsheets.full_treatment_train.model_components
reading sources... [ 16%] apidoc/watertap.examples.flowsheets.full_treatment_train.model_components.eNRTL
reading sources... [ 17%] apidoc/watertap.examples.flowsheets.lsrro
reading sources... [ 17%] apidoc/watertap.property_models
reading sources... [ 18%] apidoc/watertap.property_models.activated_sludge
reading sources... [ 18%] apidoc/watertap.tools
reading sources... [ 19%] apidoc/watertap.ui
reading sources... [ 20%] apidoc/watertap.unit_models
WARNING: DEPRECATED: the 'DistributedVars' class has been moved to
    'idaes.core.base.control_volume1d.DistributedVars'.  Please update your
    import.  (deprecated in 2.0.0.alpha0) (called from <frozen
    importlib._bootstrap>:219)
pytest.log for test_reverse_osmosis_1D.py
-----------------------------------------

2022-06-23T09:01:53 WARNING <reverse_osmosis_1D.py:118> Discretization method was not specified for the reverse osmosis module. Defaulting to finite difference method.
2022-06-23T09:01:53 WARNING <reverse_osmosis_1D.py:128> Discretization scheme was not specified for the reverse osmosis module.Defaulting to backward finite difference.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:118> Discretization method was not specified for the reverse osmosis module. Defaulting to finite difference method.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:128> Discretization scheme was not specified for the reverse osmosis module.Defaulting to backward finite difference.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:118> Discretization method was not specified for the reverse osmosis module. Defaulting to finite difference method.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:128> Discretization scheme was not specified for the reverse osmosis module.Defaulting to backward finite difference.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:118> Discretization method was not specified for the reverse osmosis module. Defaulting to finite difference method.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:128> Discretization scheme was not specified for the reverse osmosis module.Defaulting to backward finite difference.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:118> Discretization method was not specified for the reverse osmosis module. Defaulting to finite difference method.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:128> Discretization scheme was not specified for the reverse osmosis module.Defaulting to backward finite difference.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:118> Discretization method was not specified for the reverse osmosis module. Defaulting to finite difference method.
2022-06-23T09:01:54 WARNING <reverse_osmosis_1D.py:128> Discretization scheme was not specified for the reverse osmosis module.Defaulting to backward finite difference.
2022-06-23T09:01:55 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:01:55 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:01:55 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:01:56 WARNING <PyomoModel.py:209> Loading a SolverResults object with a warning status into model.name="fs.unit";
  - termination condition: infeasible
  - message from solver: Ipopt 3.13.2\x3a Converged to a locally infeasible point. Problem may be infeasible.
2022-06-23T09:01:57 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:431)
2022-06-23T09:01:57 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:01:57 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:01:57 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:01:58 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:614)
2022-06-23T09:01:58 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:01:58 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:01:58 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:01:59 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:784)
2022-06-23T09:01:59 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:01:59 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:01:59 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:02:00 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:952)
2022-06-23T09:02:00 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:02:00 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:02:00 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:02:01 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:1135)
2022-06-23T09:02:01 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:02:01 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:02:01 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:02:02 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:1323)
2022-06-23T09:02:02 WARNING <scaling.py:256> Missing scaling factor for fs.unit.feed_side.area
2022-06-23T09:02:02 WARNING <scaling.py:256> Missing scaling factor for fs.unit.area
2022-06-23T09:02:02 WARNING <scaling.py:256> Missing scaling factor for fs.unit.width
2022-06-23T09:02:03 WARNING <deprecation.py:212> DEPRECATED: Using __getitem__ to return a set value from its (ordered)
position is deprecated.  Please use at()  (deprecated in 6.1, will be
removed in (or after) 7.0)
(called from /home/1pi/projects/watertap/watertap/unit_models/tests/test_reverse_osmosis_1D.py:1512)
pytest.log from test_seawater_alkalinity.py
-------------------------------------------

2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.OH_- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.Cl_- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.HCO3_- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.CO3_2- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.H_+ dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.Na_+ dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.H2O dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.H2CO3 dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.NaHCO3 dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.OH_- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.Cl_- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.HCO3_- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.CO3_2- dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.H_+ dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.Na_+ dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.H2O dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.H2CO3 dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <Perrys.py:264> DEPRECATED - fs.thermo_params.NaHCO3 dens_mol_liq_comp_coeff index 'eqn_type' should be specified, defaulting to equation form 1.
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:52 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_comp[H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <scaling.py:256> Missing scaling factor for fs.unit.control_volume.properties_in[0.0].enth_mol_phase[Liq], for _enthalpy_flow_term
2022-06-23T09:03:53 WARNING <scaling.py:256> Missing scaling factor for fs.unit.control_volume.properties_out[0.0].enth_mol_phase[Liq], for _enthalpy_flow_term
2022-06-23T09:03:53 WARNING <scaling.py:256> Missing scaling factor for fs.unit.control_volume.properties_in[0.0].enth_mol_phase[Liq], for _enthalpy_flow_term
2022-06-23T09:03:53 WARNING <scaling.py:256> Missing scaling factor for fs.unit.control_volume.properties_out[0.0].enth_mol_phase[Liq], for _enthalpy_flow_term
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:53 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_in[0.0].mole_frac_phase_comp[Liq,H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_comp[H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,OH_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,HCO3_-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,CO3_2-]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,H_+]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
2022-06-23T09:03:54 WARNING <var.py:386> Setting Var 'fs.unit.control_volume.properties_out[0.0].mole_frac_phase_comp[Liq,H2CO3]' to a numeric value `0.0` outside the bounds (1e-20, 1.001).
aladshaw3 commented 2 years ago

I will also add that these are not the only Depreciation Warnings, but just a sampling of what I found. We will probably need to go through all the logs of all tests to see what needs updating.

As you can see, some of the warnings are actually coming from Pyomo, but most are from IDAES. Some of the IDAES warnings are not actually tied into the relocation of imports, but in the renaming of methods.