Looks like it's due to trying to load gui models when running on the background processes. Here's the stack trace:
java.lang.IllegalArgumentException: requirement failed: not event thread: Thread[JobThread,4,main]
at scala.Predef$.require(Predef.scala:224)
at org.nlogo.awt.EventQueue$.mustBeEventDispatchThread(EventQueue.scala:23)
at org.nlogo.awt.EventQueue.mustBeEventDispatchThread(EventQueue.scala)
at org.nlogo.window.Event.doRaise(Event.java:128)
at org.nlogo.window.Event.raise(Event.java:122)
at org.nlogo.window.Widget.addNotify(Widget.scala:172)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at java.awt.Container.addNotify(Container.java:2773)
at javax.swing.JComponent.addNotify(JComponent.java:4740)
at javax.swing.JRootPane.addNotify(JRootPane.java:757)
at java.awt.Container.addNotify(Container.java:2773)
at java.awt.Window.addNotify(Window.java:770)
at java.awt.Frame.addNotify(Frame.java:487)
at java.awt.Window.show(Window.java:1031)
at java.awt.Component.show(Component.java:1673)
at java.awt.Component.setVisible(Component.java:1625)
at java.awt.Window.setVisible(Window.java:1014)
at org.nlogo.ls.GUIChildModel$RunGUIChildModel$.run(GUIChildModel.scala:38)
at org.nlogo.ls.GUIChildModel$RunGUIChildModel$.run(GUIChildModel.scala:26)
at org.nlogo.headless.HeadlessWorkspace.waitForResult(HeadlessWorkspace.scala:152)
at org.nlogo.ls.GUIChildModel.<init>(GUIChildModel.scala:23)
at org.nlogo.ls.LevelSpace$LoadModel.perform(LevelSpace.java:182)
at org.nlogo.prim._extern.perform(_extern.java:38)
at org.nlogo.nvm.Context.stepConcurrent(Context.java:91)
at org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.java:83)
at org.nlogo.job.JobThread.org$nlogo$job$JobThread$$runPrimaryJobs(JobThread.scala:133)
at org.nlogo.job.JobThread$$anonfun$run$1.apply$mcV$sp(JobThread.scala:68)
at org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:66)
at org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:66)
at scala.util.control.Exception$Catch.apply(Exception.scala:103)
at org.nlogo.api.Exceptions$.handling(Exceptions.scala:41)
at org.nlogo.job.JobThread.run(JobThread.scala:65)
NetLogo 6.0-M9
main: org.nlogo.app.AppFrame
thread: AWT-EventQueue-0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_77 (Oracle Corporation; 1.8.0_77-b03)
operating system: Mac OS X 10.11.6 (x86_64 processor)
Scala version 2.11.8
JOGL: (3D View not initialized)
OpenGL Graphics: (3D View not initialized)
model: BS Test
Looks like it's due to trying to load gui models when running on the background processes. Here's the stack trace: