Importing model and scenario tree files
Time to import model and scenario tree structure files=0.01 seconds
Scenario Tree Detail
----------------------------------------------------
Tree Nodes:

	Name=Node2_1
	Stage=SecondStage
	Parent=RootNode
	Conditional probability=0.3330
	Children:
		Node3_1_1
		Node3_1_2
		Node3_1_3
	Scenarios:
		Scen1
		Scen2
		Scen3

	Name=Node2_2
	Stage=SecondStage
	Parent=RootNode
	Conditional probability=0.3330
	Children:
		Node3_2_1
		Node3_2_2
		Node3_2_3
	Scenarios:
		Scen4
		Scen5
		Scen6

	Name=Node2_3
	Stage=SecondStage
	Parent=RootNode
	Conditional probability=0.3340
	Children:
		Node3_3_1
		Node3_3_2
		Node3_3_3
	Scenarios:
		Scen7
		Scen8
		Scen9

	Name=Node3_1_1
	Stage=ThirdStage
	Parent=Node2_1
	Conditional probability=0.3330
	Children:
		None
	Scenarios:
		Scen1

	Name=Node3_1_2
	Stage=ThirdStage
	Parent=Node2_1
	Conditional probability=0.3330
	Children:
		None
	Scenarios:
		Scen2

	Name=Node3_1_3
	Stage=ThirdStage
	Parent=Node2_1
	Conditional probability=0.3340
	Children:
		None
	Scenarios:
		Scen3

	Name=Node3_2_1
	Stage=ThirdStage
	Parent=Node2_2
	Conditional probability=0.3330
	Children:
		None
	Scenarios:
		Scen4

	Name=Node3_2_2
	Stage=ThirdStage
	Parent=Node2_2
	Conditional probability=0.3330
	Children:
		None
	Scenarios:
		Scen5

	Name=Node3_2_3
	Stage=ThirdStage
	Parent=Node2_2
	Conditional probability=0.3340
	Children:
		None
	Scenarios:
		Scen6

	Name=Node3_3_1
	Stage=ThirdStage
	Parent=Node2_3
	Conditional probability=0.3330
	Children:
		None
	Scenarios:
		Scen7

	Name=Node3_3_2
	Stage=ThirdStage
	Parent=Node2_3
	Conditional probability=0.3330
	Children:
		None
	Scenarios:
		Scen8

	Name=Node3_3_3
	Stage=ThirdStage
	Parent=Node2_3
	Conditional probability=0.3340
	Children:
		None
	Scenarios:
		Scen9

	Name=RootNode
	Stage=FirstStage
	Parent=None
	Conditional probability=1.0000
	Children:
		Node2_1
		Node2_2
		Node2_3
	Scenarios:
		Scen1
		Scen2
		Scen3
		Scen4
		Scen5
		Scen6
		Scen7
		Scen8
		Scen9

----------------------------------------------------
Stages:
	Name=FirstStage
	Tree Nodes: 
		RootNode
	Variables: 
		 PDns : [1] 
		 Pgh : [1] 
		 Pgt : [1] 
		 Vol : [1] 
	Cost Variable: 
		StageCost[1]

	Name=SecondStage
	Tree Nodes: 
		Node2_1
		Node2_2
		Node2_3
	Variables: 
		 PDns : [2] 
		 Pgh : [2] 
		 Pgt : [2] 
		 Vol : [2] 
	Cost Variable: 
		StageCost[2]

	Name=ThirdStage
	Tree Nodes: 
		Node3_1_1
		Node3_1_2
		Node3_1_3
		Node3_2_1
		Node3_2_2
		Node3_2_3
		Node3_3_1
		Node3_3_2
		Node3_3_3
	Variables: 
		 PDns : [3] 
		 Pgh : [3] 
		 Pgt : [3] 
		 Vol : [3] 
		 sl : [] 
	Cost Variable: 
		StageCost[3]

----------------------------------------------------
Scenarios:
	Name=Scen1
	Probability=0.1109
	Leaf node=Node3_1_1
	Tree node sequence:
		RootNode
		Node2_1
		Node3_1_1

	Name=Scen2
	Probability=0.1109
	Leaf node=Node3_1_2
	Tree node sequence:
		RootNode
		Node2_1
		Node3_1_2

	Name=Scen3
	Probability=0.1112
	Leaf node=Node3_1_3
	Tree node sequence:
		RootNode
		Node2_1
		Node3_1_3

	Name=Scen4
	Probability=0.1109
	Leaf node=Node3_2_1
	Tree node sequence:
		RootNode
		Node2_2
		Node3_2_1

	Name=Scen5
	Probability=0.1109
	Leaf node=Node3_2_2
	Tree node sequence:
		RootNode
		Node2_2
		Node3_2_2

	Name=Scen6
	Probability=0.1112
	Leaf node=Node3_2_3
	Tree node sequence:
		RootNode
		Node2_2
		Node3_2_3

	Name=Scen7
	Probability=0.1112
	Leaf node=Node3_3_1
	Tree node sequence:
		RootNode
		Node2_3
		Node3_3_1

	Name=Scen8
	Probability=0.1112
	Leaf node=Node3_3_2
	Tree node sequence:
		RootNode
		Node2_3
		Node3_3_2

	Name=Scen9
	Probability=0.1116
	Leaf node=Node3_3_3
	Tree node sequence:
		RootNode
		Node2_3
		Node3_3_3

----------------------------------------------------
Scenario tree is valid!
Initializing ScenarioTreeManagerClientSerial with options:
 *                           verbose: True
 -                        disable_gc: False
 -                           profile: 0
 -                         traceback: False
 -     output_scenario_tree_solution: False
 -          solution_saver_extension: ()
 -         solution_loader_extension: ()
 -                   solution_writer: ()
 *                       output_file: /home/jwatson/sp/pyomo/pyomo/pyomo/pysp/tests/unit/test_hydro_ef.lp
 -                             solve: False
 -             output_scenario_costs: None
 - output_instance_construction_time: False
 -        compile_scenario_instances: False
 -                      output_times: False
 *                    model_location: /home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/models
 -                   model_directory: None (DEPRECATED)
 *            scenario_tree_location: /home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata
 -                instance_directory: None (DEPRECATED)
 -       objective_sense_stage_based: None
 -        postinit_callback_location: ()
 -                    bounds_cfgfile: None (DEPRECATED)
 - aggregategetter_callback_location: ()
 -                 aggregate_cfgfile: None (DEPRECATED)
 -         scenario_tree_random_seed: None
 -                scenario_tree_seed: None (DEPRECATED)
 - scenario_tree_downsample_fraction: 1.0
 -     scenario_bundle_specification: None
 -             create_random_bundles: 0
 -                    profile_memory: 0
 -                       cvar_weight: 1.0
 -            generate_weighted_cvar: False
 -                        risk_alpha: 0.95
 -                          cc_alpha: 0.0
 -                  cc_indicator_var: None
 -                            mipgap: None
 -                            solver: cplex
 -                         solver_io: None
 -                    solver_manager: serial
 -                    solver_options: ()
 -                 disable_warmstart: False
 -                         pyro_host: None
 -                         pyro_port: None
 -                     pyro_shutdown: False
 -                     shutdown_pyro: None (DEPRECATED)
 -             output_solver_results: False
 *            symbolic_solver_labels: True
 -                 output_solver_log: False
 -                 keep_solver_files: False
 -             pyro_shutdown_workers: False
 -             shutdown_pyro_workers: None (DEPRECATED)
 -    activate_jsonio_solution_saver: None

Constructing scenario tree instances
Scenario-based instance initialization enabled
Creating instance for scenario=Scen1
Data for scenario=Scen1 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen1.dat
Creating instance for scenario=Scen2
Data for scenario=Scen2 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen2.dat
Creating instance for scenario=Scen3
Data for scenario=Scen3 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen3.dat
Creating instance for scenario=Scen4
Data for scenario=Scen4 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen4.dat
Creating instance for scenario=Scen5
Data for scenario=Scen5 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen5.dat
Creating instance for scenario=Scen6
Data for scenario=Scen6 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen6.dat
Creating instance for scenario=Scen7
Data for scenario=Scen7 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen7.dat
Creating instance for scenario=Scen8
Data for scenario=Scen8 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen8.dat
Creating instance for scenario=Scen9
Data for scenario=Scen9 loads from file=/home/jwatson/sp/pyomo/pyomo/examples/pysp/hydro/scenariodata/Scen9.dat
Time to construct scenario instances=0.07 seconds
Linking instances into scenario tree
Time link scenario tree with instances=0.01 seconds
ScenarioTreeManagerClientSerial is successfully initialized
Overall initialization time=0.08 seconds

Initializing extensive form algorithm for stochastic programming problems.
Creating extensive form instance
Creating variables for master binding instance
Time to construct extensive form instance=0.00 seconds
Starting to write extensive form
Extensive form written to file=/home/jwatson/sp/pyomo/pyomo/pyomo/pysp/tests/unit/test_hydro_ef.lp
Time to write output file=0.02 seconds
Closing ScenarioTreeManagerClientSerial

Total EF execution time=0.13 seconds

