Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad ListLoad Num Num decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Num keyword Str Assign NameStore Call NameLoad Num keyword Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr BinOpMult Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Num decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Assign AttributeStore NameLoad attr ListLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str ImportFrom alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr attr Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Str attr Assign NameStore ListLoad ListLoad Num ListLoad Num ListLoad Num ListLoad Num ListLoad Num ListLoad Num ListLoad Num ListLoad Num ListLoad Num ListLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr ListLoad Str Str attr attr Assign NameStore ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Num For NameStore Call NameLoad Num body For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Assign NameStore ListLoad Num Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Str For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Assign NameStore Dict Str Str Str Num Num Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
Test query of case recorder file.
 N/A os.path N/A tempfile N/A shutil N/A unittest unittest SkipTest math isnan openmdao.main.api Assembly Component VariableTree set_as_top openmdao.main.datatypes.api Array Float VarTree openmdao.lib.drivers.api FixedPointIterator SLSQPdriver openmdao.lib.optproblems sellar openmdao.util.testutil assert_rel_error States N/A VariableTree N/A N/A y N/A Array N/A 0.0 0.0 N/A Globals N/A VariableTree N/A N/A z1 N/A Float 0.0 N/A z2 N/A Float 0.0 N/A Half N/A Component N/A N/A z2a N/A Float 0.0 iotype in N/A z2b N/A Float 0.0 iotype out execute N/A N/A self N/A N/A N/A N/A self z2b N/A 0.5 N/A self z2a N/A N/A SellarMDF N/A Assembly N/A N/A  Optimization of the Sellar problem using MDF
    Disciplines coupled with FixedPointIterator.
     configure N/A N/A self N/A N/A N/A  Creates a new Assembly with this problem

        Optimal Design at (1.9776, 0, 0)

        Optimal Objective = 3.18339 N/A sub N/A N/A self add sub N/A Assembly N/A N/A N/A sub add driver N/A FixedPointIterator N/A N/A N/A sub add dis1 N/A N/A sellar Discipline1 N/A N/A N/A sub add dis2 N/A N/A sellar Discipline2 N/A N/A N/A N/A N/A sub driver workflow add N/A dis1 dis2 N/A N/A N/A sub connect dis1.y1 dis2.y1 N/A N/A N/A sub connect dis1.z1 dis2.z1 N/A N/A N/A N/A sub driver add_parameter dis1.y2 N/A N/A N/A N/A sub driver add_constraint dis2.y2 = dis1.y2 N/A N/A N/A sub driver max_iteration 100 N/A N/A N/A sub driver tolerance 1e-05 N/A N/A N/A sub driver print_convergence False N/A N/A N/A sub add globals N/A VarTree N/A Globals iotype in N/A N/A N/A sub add states N/A VarTree N/A States iotype out N/A N/A N/A sub connect globals.z1 dis1.z1 N/A N/A N/A sub connect globals.z2 dis1.z2 N/A N/A N/A sub connect globals.z2 dis2.z2 N/A N/A N/A sub create_passthrough dis1.x1 N/A N/A N/A sub connect dis1.y1 states.y[0] N/A N/A N/A sub connect dis2.y2 states.y[1] N/A N/A N/A self add driver N/A SLSQPdriver N/A N/A N/A N/A self driver gradient_options force_fd True N/A N/A N/A self add half N/A Half N/A N/A N/A self connect half.z2b sub.globals.z2 N/A N/A N/A N/A N/A self driver workflow add N/A half sub N/A N/A N/A N/A self driver add_parameter sub.globals.z1 low -10.0 high 10.0 N/A N/A N/A N/A self driver add_parameter half.z2a low 0.0 high 10.0 N/A N/A N/A N/A self driver add_parameter sub.x1 low 0.0 high 10.0 N/A N/A N/A N/A self driver add_objective (sub.x1)**2 + sub.globals.z2 + sub.states.y[0] + math.exp(-sub.states.y[1]) N/A N/A N/A N/A self driver add_constraint 3.16 < sub.states.y[0] N/A N/A N/A N/A self driver add_constraint sub.states.y[1] < 24.0 N/A N/A N/A N/A self sub globals z1 5.0 N/A N/A N/A self half z2a 2.0 N/A N/A N/A self sub x1 1.0 N/A N/A create_files N/A N/A N/A N/A N/A  Create/update test data files.  N/A prob N/A set_as_top N/A SellarMDF N/A N/A prob recorders N/A N/A HDF5CaseRecorder sellar_hdf5.new N/A N/A N/A prob run N/A TestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A h5py N/A N/A N/A ImportError N/A N/A N/A SkipTest this test requires h5py openmdao.lib.casehandlers.api CaseDatasetHDF5 HDF5CaseRecorder N/A path N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ sellar.hdf5 N/A N/A self cds N/A CaseDatasetHDF5 path hdf5 N/A N/A self startdir N/A N/A os getcwd N/A N/A self tempdir N/A N/A tempfile mkdtemp prefix test_query- N/A N/A N/A os chdir N/A self tempdir N/A tearDown N/A N/A self N/A N/A N/A N/A self cds None N/A N/A N/A os chdir N/A self startdir N/A N/A N/A N/A N/A os environ get OPENMDAO_KEEPDIRS False N/A N/A N/A N/A N/A N/A shutil rmtree N/A self tempdir N/A N/A N/A OSError N/A N/A N/A test_query N/A N/A self N/A N/A N/A vnames N/A N/A N/A N/A N/A N/A self cds data var_names fetch N/A expected N/A _driver_id _driver_name _id _itername _parent_id _pseudo_0.out0 _pseudo_1.out0 _pseudo_2.out0 driver.workflow.itername error_message error_status half.derivative_exec_count half.exec_count half.itername half.z2a half.z2b sub._pseudo_0.out0 sub.derivative_exec_count sub.dis1.derivative_exec_count sub.dis1.exec_count sub.dis1.itername sub.dis1.y1 sub.dis1.y2 sub.dis2.derivative_exec_count sub.dis2.exec_count sub.dis2.itername sub.dis2.y2 sub.driver.workflow.itername sub.exec_count sub.globals.z1 sub.itername sub.states sub.states.y[0] sub.states.y[1] sub.x1 timestamp N/A expected N/A _driver_id _driver_name _id _itername _parent_id _pseudo_0.out0 _pseudo_1.out0 _pseudo_2.out0 driver.workflow.itername error_message error_status half.derivative_exec_count half.exec_count half.itername half.z2a half.z2b sub._pseudo_0.out0 sub.derivative_exec_count sub.dis1.derivative_exec_count sub.dis1.exec_count sub.dis1.itername sub.dis1.y1 sub.dis1.y2 sub.dis2.derivative_exec_count sub.dis2.exec_count sub.dis2.itername sub.dis2.y2 sub.driver.workflow.itername sub.exec_count sub.globals.z1 sub.itername sub.states sub.states.y[0] sub.states.y[1] sub.x1 timestamp N/A N/A N/A self assertEqual vnames expected N/A cases N/A N/A N/A N/A self cds data fetch N/A N/A N/A self assertEqual N/A len cases 74 N/A N/A N/A self assertEqual N/A len N/A cases N/A 0 N/A len expected N/A cases N/A N/A N/A N/A N/A N/A self cds data driver driver fetch N/A N/A N/A self assertEqual N/A len cases 10 N/A vnames N/A N/A N/A N/A N/A N/A N/A N/A self cds data driver driver var_names fetch N/A expected N/A _driver_id _driver_name _id _itername _parent_id _pseudo_0.out0 _pseudo_1.out0 _pseudo_2.out0 driver.workflow.itername error_message error_status half.derivative_exec_count half.exec_count half.itername half.z2a half.z2b sub.derivative_exec_count sub.exec_count sub.globals.z1 sub.itername sub.states sub.states.y[0] sub.states.y[1] sub.x1 timestamp N/A N/A N/A self assertEqual vnames expected N/A names N/A half.z2a sub.globals.z1 sub.x1 N/A vnames N/A N/A N/A N/A N/A N/A N/A N/A self cds data vars names var_names fetch N/A N/A N/A self assertEqual vnames names N/A cases N/A N/A N/A N/A N/A N/A self cds data vars names fetch N/A N/A N/A self assertEqual N/A len cases 74 N/A N/A N/A self assertEqual N/A len N/A cases N/A 0 N/A len names N/A cases N/A N/A N/A N/A N/A N/A N/A N/A self cds data driver driver vars sub.x1 fetch N/A expected N/A N/A 1.0 N/A 1.0 N/A -2.22044604925e-15 N/A 1.58332863667e-15 N/A -1.49206366258e-15 N/A -7.07632862702e-15 N/A -4.40559320925e-15 N/A -4.00093632777e-15 N/A 1.34802409522e-14 N/A 4.94198075296e-15 N/A N/A exp act N/A zip expected cases N/A N/A N/A N/A self assertAlmostEqual N/A exp N/A 0 N/A act N/A 0 N/A cases N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self cds data driver driver vars N/A sub.x1 half.z2a by_variable fetch N/A expected N/A N/A 1.0 1.0 -2.22044604925e-15 1.58332863667e-15 -1.49206366258e-15 -7.07632862702e-15 -4.40559320925e-15 -4.00093632777e-15 1.34802409522e-14 4.94198075296e-15 N/A 2.0 2.0 1.39829230582 0.660691272225 -1.12132525487e-13 -8.37056316997e-13 -2.56675099868e-15 1.76207504456e-15 -8.92554087861e-15 -8.21709075299e-15 N/A i N/A range 2 N/A N/A N/A exp act N/A zip N/A expected N/A i N/A cases N/A i N/A N/A N/A N/A self assertAlmostEqual exp act N/A cases N/A N/A N/A N/A N/A N/A self cds data driver driver fetch N/A expected N/A 24.80392945 10.98035435 N/A actual N/A N/A N/A cases N/A 0 N/A sub.states N/A y N/A N/A exp act N/A zip expected actual N/A N/A N/A N/A self assertAlmostEqual exp act N/A cases N/A N/A N/A N/A N/A N/A self cds data case 3-sub.5 fetch N/A N/A N/A self assertEqual 1 N/A len cases N/A N/A N/A self assertAlmostEqual N/A N/A cases N/A 0 N/A sub.dis1.y1 8.18917513654 N/A iteration_case_3_sub_5_expected N/A sub.dis1.y1 sub.dis1.y2 sub.dis2.y2 8.18917513654 6.52651934578 6.52651228123 N/A N/A name exp N/A N/A iteration_case_3_sub_5_expected items N/A N/A N/A N/A self assertAlmostEqual exp N/A N/A cases N/A 0 N/A name N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main