Skip to content

Commit

Permalink
enable PumpingSystem
Browse files Browse the repository at this point in the history
refs ticket:4316

Belonging to [master]:
  - OpenModelica/OMCompiler#2312
  - OpenModelica/OpenModelica-testsuite#894
  • Loading branch information
vruge authored and OpenModelica-Hudson committed Mar 24, 2018
1 parent 69ab07a commit 4e71e61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 80 deletions.
3 changes: 1 addition & 2 deletions simulation/libraries/msl32/Makefile
Expand Up @@ -277,11 +277,10 @@ Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.mos \
Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.mos \
Modelica.Media.Examples.R134a.R134a1.mos \
Modelica.Media.Examples.R134a.R134a2.mos \

Modelica.Fluid.Examples.PumpingSystem.mos \

# Run make failingtest
FAILINGTESTFILES = \
Modelica.Fluid.Examples.PumpingSystem.mos \
Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.mos \

# Dependency files that are not .mo .mos or Makefile
Expand Down
Expand Up @@ -32,89 +32,20 @@ runScript(modelTesting);getErrorString();
// {"PT1.y","pumps.medium.T","reservoir.level","reservoir.medium.T"}
// Simulation options: startTime = 0.0, stopTime = 2000.0, numberOfIntervals = 5000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Fluid.Examples.PumpingSystem', options = '', outputFormat = 'mat', variableFilter = 'time|PT1.y|pumps.medium.T|reservoir.level|reservoir.medium.T', cflags = '', simflags = ' -abortSlowSimulation -alarm=360 -emit_protected'
// Result file: Modelica.Fluid.Examples.PumpingSystem_res.mat
// Messages: stdout | warning | While solving non-linear system an assertion failed during initialization.
// | | | | | The non-linear solver tries to solve the problem that could take some time.
// | | | | | It could help to provide better start-values for the iteration variables.
// | | | | | For more information simulate with -lv LOG_NLS
// stdout | warning | While solving non-linear system an assertion failed during initialization.
// | | | | | The non-linear solver tries to solve the problem that could take some time.
// | | | | | It could help to provide better start-values for the iteration variables.
// | | | | | For more information simulate with -lv LOG_NLS
// assert | warning | The following assertion has been violated at time 0.000000
// Messages: assert | debug | division leads to inf or nan at time 0, (a=6.67445e-11) / (b=0), where divisor b is: 0.0
// assert | debug | division leads to inf or nan at time 0, (a=6.67445e-11) / (b=0), where divisor b is: 0.0
// assert | debug | division leads to inf or nan at time 0, (a=6.67445e-11) / (b=0), where divisor b is: 0.0
// LOG_SUCCESS | info | The initialization finished successfully without homotopy method.
// assert | warning | The following assertion has been violated at time 0.800000
// | | | | pipe.flowModel.m_flows[1] >= -0.0 and pipe.flowModel.m_flows[1] <= 100000.0
// assert | warning | Variable pipe.flowModel.m_flows[1] out of [min, max] interval: pipe.flowModel.m_flows[1] >= -0.0 and pipe.flowModel.m_flows[1] <= 100000.0 has value: -895.239
// assert | warning | Variable violating min/max constraint: -0.0 <= pipe.flowModel.m_flows[1] <= 100000.0, has value: -2.27374e-13
// assert | warning | The following assertion has been violated at time 200.000000
// | | | | userValve.opening >= 0.0 and userValve.opening <= 1.0
// assert | warning | Variable userValve.opening out of [min, max] interval: userValve.opening >= 0.0 and userValve.opening <= 1.0 has value: 1
// assert | warning | Variable violating min/max constraint: 0.0 <= userValve.opening <= 1.0, has value: 1
// LOG_SUCCESS | info | The simulation finished successfully.
//
// Files Equal!
// Warning: Alias set with several free start values
// * candidate: pumps.medium.p(start = pumps.p_start)
// * candidate: pumps.port_b.p(start = pumps.p_b_start)
// * candidate: pipe.port_a.p(start = 5000000.0)
// * candidate: pipe.flowModel.states[1].p(start = 5000000.0)
// * candidate: pumps.medium.state.p(start = 5000000.0)
// * candidate: pumps.monitoring.state.p(start = 5000000.0)
// * candidate: pumps.heatTransfer.states[1].p(start = 5000000.0)
// * candidate: pumps.medium.sat.psat(start = 5000000.0)
// => select value from pumps.medium.p(start = pumps.p_start) for variable: pumps.medium.p
// Warning: Alias set with different nominal values
// * candidate: pumps.medium.sat.psat(nominal = 1000000.0)
// * candidate: pumps.heatTransfer.states[1].p(nominal = 1000000.0)
// * candidate: pumps.monitoring.state.p(nominal = 1000000.0)
// * candidate: pumps.medium.state.p(nominal = 1000000.0)
// * candidate: pipe.flowModel.states[1].p(nominal = 1000000.0)
// * candidate: pipe.port_a.p(nominal = 1000000.0)
// * candidate: pumps.port_b.p(nominal = 1000000.0)
// * candidate: pumps.medium.p(nominal = 100000.0)
// => select value from pumps.medium.p(nominal = 100000.0) for variable: pumps.medium.p
// Warning: Alias set with several free start values
// * candidate: reservoir.ports[2].h_outflow(start = 100000.0)
// * candidate: userValve.state_a.h(start = 100000.0)
// * candidate: userValve.port_b.h_outflow(start = 100000.0)
// * candidate: reservoir.medium.h(start = reservoir.h_start)
// * candidate: reservoir.ports[3].h_outflow(start = 100000.0)
// * candidate: reservoir.ports[1].h_outflow(start = 100000.0)
// * candidate: pipe.flowModel.states[2].h(start = 100000.0)
// * candidate: reservoir.medium.state.h(start = 100000.0)
// * candidate: reservoir.heatTransfer.states[1].h(start = 100000.0)
// => select value from reservoir.ports[2].h_outflow(start = 100000.0) for variable: reservoir.ports[2].h_outflow
// Warning: Alias set with several free start values
// * candidate: reservoir.medium.T(start = reservoir.T_start)
// * candidate: reservoir.medium.state.T(start = 500.0)
// * candidate: reservoir.heatTransfer.states[1].T(start = 500.0)
// => select value from reservoir.medium.T(start = reservoir.T_start) for variable: reservoir.medium.T
// Warning: Alias set with different nominal values
// * candidate: reservoir.heatTransfer.heatPorts[1].T(nominal = 300.0)
// * candidate: reservoir.heatTransfer.Ts[1](nominal = 300.0)
// * candidate: reservoir.heatTransfer.states[1].T(nominal = 500.0)
// * candidate: reservoir.medium.state.T(nominal = 500.0)
// * candidate: reservoir.medium.T(nominal = 500.0)
// => select value from reservoir.medium.T(nominal = 500.0) for variable: reservoir.medium.T
// Warning: Alias set with several free start values
// * candidate: pipe.flowModel.states[1].h(start = 100000.0)
// * candidate: pumps.port_b.h_outflow(start = 100000.0)
// * candidate: pumps.medium.h(start = pumps.h_start)
// * candidate: pumps.port_a.h_outflow(start = 100000.0)
// * candidate: pumps.medium.state.h(start = 100000.0)
// * candidate: pumps.monitoring.state.h(start = 100000.0)
// * candidate: pumps.heatTransfer.states[1].h(start = 100000.0)
// => select value from pipe.flowModel.states[1].h(start = 100000.0) for variable: pipe.flowModel.states[1].h
// Warning: Alias set with several free start values
// * candidate: pumps.medium.T(start = pumps.T_start)
// * candidate: pumps.medium.state.T(start = 500.0)
// * candidate: pumps.monitoring.state.T(start = 500.0)
// * candidate: pumps.heatTransfer.states[1].T(start = 500.0)
// => select value from pumps.medium.T(start = pumps.T_start) for variable: pumps.medium.T
// Warning: Alias set with different nominal values
// * candidate: pumps.heatTransfer.heatPorts[1].T(nominal = 300.0)
// * candidate: pumps.heatTransfer.Ts[1](nominal = 300.0)
// * candidate: pumps.heatTransfer.states[1].T(nominal = 500.0)
// * candidate: pumps.monitoring.state.T(nominal = 500.0)
// * candidate: pumps.medium.state.T(nominal = 500.0)
// * candidate: pumps.medium.T(nominal = 500.0)
// => select value from pumps.medium.T(nominal = 500.0) for variable: pumps.medium.T
// Warning: There are iteration variables with default zero start attribute. For more information set +d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("+d=initialization").
// Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
//
// "true
// "
Expand Down

0 comments on commit 4e71e61

Please sign in to comment.