A job finishes with a message saying slurmstepd error, with the job cancelled due to time limit. The error message will be in the slurm output file. The slurmstepd error message may be preceeded with a message from srun that the job step was aborted.
There are two likely causes. Firstly, the job may have reached the maximum time it was allowed to run. Secondly, if you have a fixed allocation then your allocation may have been used up.
SLURM allocates resources to a job for a fixed amount of time. This time limit is either specified in the job request, or if none is specified then it is the default limit. There are maximum limits on all SLURM partitions, so if you have not requested the maximum then try increasing the time limit in the request with the --time= flag to sbatch or salloc.
To see the maximum and default time limits, use sinfo:
Usually if your allocation is not sufficient to support a job running to completion, SLURM will not start the job. However, if multiple jobs start at the same time then each job may not hit the limit but collectively they might. When this happens they will all start, but get terminated when the allocation is used up. You can tell this is the case if the elapsed time does not match the job's timelimit.
If this is the case, check whether your allocation is used up. If it is, contact the Pawsey helpdesk. See Submitting and Monitoring Jobs#ProjectAccounting for more information about project accounting.