Skip to content

Can run test but can't run simulation. #134

@MeinhardMark

Description

@MeinhardMark

Great work!

I tested installation with "./bin/mpettest.py" as demonstrated in the documentation, and it worked just fine with all 35 passed.

But when I try to run a simulation with configs under ./tests/ref_outputs/benchmark_*, it shows following error:

Traceback (most recent call last):
  File "d:\work\mpet\bin\mpetrun.py", line 28, in <module>
    main.main(sys.argv[1])
  File "d:\work\mpet\mpet\main.py", line 192, in main
    run_simulation(config, outdir)
  File "d:\work\mpet\mpet\main.py", line 79, in run_simulation
    simulation.SolveInitial()
RuntimeError: Miscellanous exception in function: daetools::solver::daeIDASolver::SolveInitial, source file: .\ida_solver.cpp, line: 955
Sundials IDAS solver cowardly failed to calculate initial conditions at TIME = 0; IDA_CONV_FAIL
IDAS solver error in module 'IDAS' in function 'IDACalcIC': Newton/Linesearch algorithm failed to converge. [IDA_CONV_FAIL]

I then tried to manually replace the daetools.cfg in the environment with the daetools_config_options.txt under ref_outputs/benchmark_*/sim_output/, still receive the error above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions