Skip to content

Update variables.jl #116

Update variables.jl

Update variables.jl #116

Triggered via push February 7, 2024 13:46
Status Success
Total duration 1h 2m 22s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 1 notice
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/compositional_5components.md:60-83 ```@example compositional_5components sys = MultiPhaseCompositionalSystemLV(eos, (L, V)) model, parameters = setup_reservoir_model(res, sys, wells = [inj, prod], reference_densities = rhoS, block_backend = true); kr = BrooksCoreyRelativePermeabilities(sys, 2.0, 0.0, 1.0) model = replace_variables!(model, RelativePermeabilities = kr) push!(model[:Reservoir].output_variables, :Saturations) parameters[:Reservoir][:Temperature] = 387.45*Kelvin state0 = setup_reservoir_state(model, Pressure = 225*bar, OverallMoleFractions = [0.463, 0.01640, 0.20520, 0.19108, 0.12432]); dt = repeat([2.0]*day, 365) rate_target = TotalRateTarget(0.0015) I_ctrl = InjectorControl(rate_target, [0, 1, 0, 0, 0], density = rhoVS) bhp_target = BottomHolePressureTarget(100*bar) P_ctrl = ProducerControl(bhp_target) controls = Dict() controls[:Injector] = I_ctrl controls[:Producer] = P_ctrl forces = setup_reservoir_forces(model, control = controls) ws, states = simulate_reservoir(state0, model, dt, parameters = parameters, forces = forces) #! ``` exception = BoundsError: attempt to access 3-element UnitRange{Int64} at index [4] Stacktrace: [1] check_for_inner_exception(dt::Float64, s::OrderedCollections.OrderedDict{Any, Any}) @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:706 [2] solve_timestep!(sim::Simulator{Jutul.DefaultExecutor, MultiModel{nothing}, JutulStorage{Nothing}}, dT::Float64, forces::Dict{Symbol, Any}, max_its::Int64, config::JutulConfig; dt::Float64, reports::Vector{Any}, step_no::Int64, info_level::Int64, rec::ProgressRecorder, kwarg::@kwargs{}) @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:248 [3] macro expansion @ ./timing.jl:395 [inlined] [4] simulate!(sim::Simulator{Jutul.DefaultExecutor, MultiModel{nothing}, JutulStorage{Nothing}}, timesteps::Vector{Float64}; forces::Dict{Symbol, Any}, config::JutulConfig, initialize::Bool, restart::Bool, state0::Nothing, parameters::Nothing, forces_per_step::Bool, start_date::Nothing, kwarg::@kwargs{}) @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:179 [5] simulate! @ Jutul ~/.julia/packages/Jutul/tlrVE/src/simulator/simulator.jl:125 [inlined] [6] #simulate_reservoir#57 @ JutulDarcy ~/work/JutulDarcy.jl/JutulDarcy.jl/src/utils.jl:451 [inlined] [7] top-level scope @ compositional_5components.md:81 [8] eval @ ./boot.jl:385 [inlined] [9] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [10] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [11] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [12] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [13] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [14] with_logger @ ./logging.jl:627 [inlined] [15] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [16] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/compositional_5components.md:87-99 ```@example compositional_5components sg = states[end][:OverallMoleFractions][2, :] fig, ax, p = plot_cell_data(g, sg) fig #! sg = states[end][:Saturations][2, :] fig, ax, p = plot_cell_data(g, sg) fig #! p = states[end][:Pressure] fig, ax, p = plot_cell_data(g, p) fig ``` exception = UndefVarError: `states` not defined Stacktrace: [1] top-level scope @ compositional_5components.md:88 [2] eval @ ./boot.jl:385 [inlined] [3] #58 @ ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#4#7"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:161 [7] with_logstate(f::Function, logstate::Any) @ Base.CoreLogging ./logging.jl:515 [8] with_logger @ ./logging.jl:627 [inlined] [9] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer) @ IOCapture ~/.julia/packages/IOCapture/Rzdxd/src/IOCapture.jl:158 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/1HwWe/src/expander_pipeline.jl:752
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
undefined binding 'parse_data_file' in `@docs` block in src/man/input_files.md:25-28 ```@docs parse_data_file parse_grdecl_file ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
undefined binding 'parse_grdecl_file' in `@docs` block in src/man/input_files.md:25-28 ```@docs parse_data_file parse_grdecl_file ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
no docs found for 'setup_reservoir_simulator_parray' in `@docs` block in src/man/mpi.md:39-42 ```@docs setup_reservoir_simulator_parray simulate_reservoir_parray ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
no docs found for 'simulate_reservoir_parray' in `@docs` block in src/man/mpi.md:39-42 ```@docs setup_reservoir_simulator_parray simulate_reservoir_parray ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
undefined binding 'FluidVolume' in `@docs` block in src/man/parameters.md:5-7 ```@docs FluidVolume ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
undefined binding 'reservoir_transmissibility' in `@docs` block in src/man/parameters.md:17-19 ```@docs reservoir_transmissibility ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
undefined binding 'TwoPointGravityDifference' in `@docs` block in src/man/parameters.md:23-27 ```@docs TwoPointGravityDifference ConnateWater EndPointScalingCoefficients ```
Documentation: ../../../.julia/packages/Documenter/1HwWe/src/utilities/utilities.jl#L46
undefined binding 'ConnateWater' in `@docs` block in src/man/parameters.md:23-27 ```@docs TwoPointGravityDifference ConnateWater EndPointScalingCoefficients ```
Julia 1.9 - ubuntu-latest - x64 - push
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, codecov/codecov-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Julia 1.9 - ubuntu-latest - x64 - push
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`