Question about model jicam

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about model jicam

Carlos Bahamonde Reyes
Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

srcnick
Remove the argument from the launcher (run -> run configuration ->  choose the model, arguments tab). If you need more memory allocated to run the model then try something like -Xmx1G. Google the -Xmx to see more info re. -Xmx.

Nick


n Aug 22, 2016, at 11:31 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Łukasz Kowalski
In reply to this post by Carlos Bahamonde Reyes
Hi,

I'm not an expert, but I have just had similar problem with my model.

What system do you have? And what Java do you use? If you have 64-bit Windows system and you have 8gb RAM, you should be able to run a model with -Xmx6400M, but you have to install 64-bit Java and load it to your program.

In Eclipse change JDK (java development kit) to 1.8 from 1.6 at run> run configuration>JRE>alternate
JRE>JDK1.8. If it doesn't exist - it should be added(installed JREs>add)
4 There should be 2 JRE available for this project 1.6 and 1.8 (It can
be done by clicking repastcity>build path>configure build path. 1.8
should be default project JRE

If you don't have this JDK, you have to download it and install to eclipse.

Maybe this action should be don as well:
 change content of MessageCenter.log4j.properties file (it should be in
main catalog of your project) as writen here at the bottom:
http://repast.sourceforge.net/docs/Upgrading_Repast_Simphony.txt

PS. maybe 1.7 should work too, I run newest Repast version.

Cheers,
Lukasz Kowalski

2016-08-22 17:31 GMT+02:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest



------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Łukasz Kowalski
PS2. Sorry, there should be "4 There should be 2 JRE available for this project 1.6 and 1.8 (It can
be done by clicking repastcity>build path>configure build path. 1.8
should be default project JRE", just "JRE (or JDK) can can
be done by clicking repastcity>build path>configure build path. 1.8" (its 6 a.m.  here)

2016-08-23 6:01 GMT+02:00 Łukasz Kowalski <[hidden email]>:
Hi,

I'm not an expert, but I have just had similar problem with my model.

What system do you have? And what Java do you use? If you have 64-bit Windows system and you have 8gb RAM, you should be able to run a model with -Xmx6400M, but you have to install 64-bit Java and load it to your program.

In Eclipse change JDK (java development kit) to 1.8 from 1.6 at run> run configuration>JRE>alternate
JRE>JDK1.8. If it doesn't exist - it should be added(installed JREs>add)
4 There should be 2 JRE available for this project 1.6 and 1.8 (It can
be done by clicking repastcity>build path>configure build path. 1.8
should be default project JRE

If you don't have this JDK, you have to download it and install to eclipse.

Maybe this action should be don as well:
 change content of MessageCenter.log4j.properties file (it should be in
main catalog of your project) as writen here at the bottom:
http://repast.sourceforge.net/docs/Upgrading_Repast_Simphony.txt

PS. maybe 1.7 should work too, I run newest Repast version.

Cheers,
Lukasz Kowalski

2016-08-22 17:31 GMT+02:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Ozik, Jonathan
In reply to this post by Carlos Bahamonde Reyes
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession - at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession - at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession - at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession - at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession - at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession - at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession - at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession - at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession - at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession - at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession - at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession - at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession - at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Ozik, Jonathan
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

srcnick
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
In reply to this post by Carlos Bahamonde Reyes
Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

srcnick
Can you ask for Simphony to be updated? 2.1 is quite old.

Have you changed the model at all? I think you can get this issue if you do not create any file sink output during a batch run. So, a solution would be to generate some output which I think the model does unless you’ve turned that off some how.

Nick

On Aug 26, 2016, at 9:10 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Hi Nick,

I haven't changed the model at all and by now is not possible to update the Simphony version. I followed your hint of don't create any output files. I did that deleting the sink in the Scenario tree, so the "xml" sink file was deleted from the jicam.rs directory, however, I still have the problem. 

Any idea about how to stop generating the output files?

Thank you in advance,

Kind regards,

2016-08-26 16:14 GMT+01:00 Nick Collier <[hidden email]>:
Can you ask for Simphony to be updated? 2.1 is quite old.

Have you changed the model at all? I think you can get this issue if you do not create any file sink output during a batch run. So, a solution would be to generate some output which I think the model does unless you’ve turned that off some how.

Nick

On Aug 26, 2016, at 9:10 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

srcnick
Sorry, I meant the problem can occur if NO output is generated, but file sinks etc. exist. So, a possible solution is to generate some output, but the model does that by default and you didn’t change it so that’s not a workaround in this case. 

Unfortunately, there are specifix fixes for this issue in post 2.1 releases. Can you say a bit more about where Simphony is installed and how you are running it. Perhaps there is some workaround available if we know more about your particular case.

Nick


On Aug 26, 2016, at 2:56 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

I haven't changed the model at all and by now is not possible to update the Simphony version. I followed your hint of don't create any output files. I did that deleting the sink in the Scenario tree, so the "xml" sink file was deleted from the jicam.rs directory, however, I still have the problem. 

Any idea about how to stop generating the output files?

Thank you in advance,

Kind regards,

2016-08-26 16:14 GMT+01:00 Nick Collier <[hidden email]>:
Can you ask for Simphony to be updated? 2.1 is quite old.

Have you changed the model at all? I think you can get this issue if you do not create any file sink output during a batch run. So, a solution would be to generate some output which I think the model does unless you’ve turned that off some how.

Nick

On Aug 26, 2016, at 9:10 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Hi Nick,

The platform that I'm using is a deployment of Repast Simphony 2.1 on the Cloud (Cloud-Broker platform). But as a single user of this cloud platform, I don't have any control over the deployment and the version unfortunately won't be changed soon.

That's why I need to run it on my laptop with that version of Repast. So, first I need that the model run in my laptop without any error and then I can try it on the cloud. By the moment, I'm not interested in the outputs at all, so I need to know how to remove the outputs that are generating this error.

Do you have any idea about how to do this?

Thanks in advance,

Kind regards,

2016-08-26 20:36 GMT+01:00 Nick Collier <[hidden email]>:
Sorry, I meant the problem can occur if NO output is generated, but file sinks etc. exist. So, a possible solution is to generate some output, but the model does that by default and you didn’t change it so that’s not a workaround in this case. 

Unfortunately, there are specifix fixes for this issue in post 2.1 releases. Can you say a bit more about where Simphony is installed and how you are running it. Perhaps there is some workaround available if we know more about your particular case.

Nick


On Aug 26, 2016, at 2:56 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

I haven't changed the model at all and by now is not possible to update the Simphony version. I followed your hint of don't create any output files. I did that deleting the sink in the Scenario tree, so the "xml" sink file was deleted from the jicam.rs directory, however, I still have the problem. 

Any idea about how to stop generating the output files?

Thank you in advance,

Kind regards,

2016-08-26 16:14 GMT+01:00 Nick Collier <[hidden email]>:
Can you ask for Simphony to be updated? 2.1 is quite old.

Have you changed the model at all? I think you can get this issue if you do not create any file sink output during a batch run. So, a solution would be to generate some output which I think the model does unless you’ve turned that off some how.

Nick

On Aug 26, 2016, at 9:10 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

srcnick
Carlos,

Its not the outputs that are generating the error. Its a bug in Repast Simphony 2.1. Sometimes the bug can be worked around by forcing some output. In your case, this looks like its not working. 

I’m not sure this will help you at all, but to remove the outputs, delete any file sinks in the sink section of the scenario tree in the runtime GUI and save the scenario. You can click on them and then use the delete key to delete them. Good luck!

Nick

On Aug 27, 2016, at 8:57 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

The platform that I'm using is a deployment of Repast Simphony 2.1 on the Cloud (Cloud-Broker platform). But as a single user of this cloud platform, I don't have any control over the deployment and the version unfortunately won't be changed soon.

That's why I need to run it on my laptop with that version of Repast. So, first I need that the model run in my laptop without any error and then I can try it on the cloud. By the moment, I'm not interested in the outputs at all, so I need to know how to remove the outputs that are generating this error.

Do you have any idea about how to do this?

Thanks in advance,

Kind regards,

2016-08-26 20:36 GMT+01:00 Nick Collier <[hidden email]>:
Sorry, I meant the problem can occur if NO output is generated, but file sinks etc. exist. So, a possible solution is to generate some output, but the model does that by default and you didn’t change it so that’s not a workaround in this case. 

Unfortunately, there are specifix fixes for this issue in post 2.1 releases. Can you say a bit more about where Simphony is installed and how you are running it. Perhaps there is some workaround available if we know more about your particular case.

Nick


On Aug 26, 2016, at 2:56 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

I haven't changed the model at all and by now is not possible to update the Simphony version. I followed your hint of don't create any output files. I did that deleting the sink in the Scenario tree, so the "xml" sink file was deleted from the jicam.rs directory, however, I still have the problem. 

Any idea about how to stop generating the output files?

Thank you in advance,

Kind regards,

2016-08-26 16:14 GMT+01:00 Nick Collier <[hidden email]>:
Can you ask for Simphony to be updated? 2.1 is quite old.

Have you changed the model at all? I think you can get this issue if you do not create any file sink output during a batch run. So, a solution would be to generate some output which I think the model does unless you’ve turned that off some how.

Nick

On Aug 26, 2016, at 9:10 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|

Re: Question about model jicam

Carlos Bahamonde Reyes
Hi Nick,

Thank you very much for your help. I'll try to do what you have recommend me.

Kind regards,

2016-08-29 15:47 GMT+01:00 Nick Collier <[hidden email]>:
Carlos,

Its not the outputs that are generating the error. Its a bug in Repast Simphony 2.1. Sometimes the bug can be worked around by forcing some output. In your case, this looks like its not working. 

I’m not sure this will help you at all, but to remove the outputs, delete any file sinks in the sink section of the scenario tree in the runtime GUI and save the scenario. You can click on them and then use the delete key to delete them. Good luck!

Nick

On Aug 27, 2016, at 8:57 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

The platform that I'm using is a deployment of Repast Simphony 2.1 on the Cloud (Cloud-Broker platform). But as a single user of this cloud platform, I don't have any control over the deployment and the version unfortunately won't be changed soon.

That's why I need to run it on my laptop with that version of Repast. So, first I need that the model run in my laptop without any error and then I can try it on the cloud. By the moment, I'm not interested in the outputs at all, so I need to know how to remove the outputs that are generating this error.

Do you have any idea about how to do this?

Thanks in advance,

Kind regards,

2016-08-26 20:36 GMT+01:00 Nick Collier <[hidden email]>:
Sorry, I meant the problem can occur if NO output is generated, but file sinks etc. exist. So, a possible solution is to generate some output, but the model does that by default and you didn’t change it so that’s not a workaround in this case. 

Unfortunately, there are specifix fixes for this issue in post 2.1 releases. Can you say a bit more about where Simphony is installed and how you are running it. Perhaps there is some workaround available if we know more about your particular case.

Nick


On Aug 26, 2016, at 2:56 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

I haven't changed the model at all and by now is not possible to update the Simphony version. I followed your hint of don't create any output files. I did that deleting the sink in the Scenario tree, so the "xml" sink file was deleted from the jicam.rs directory, however, I still have the problem. 

Any idea about how to stop generating the output files?

Thank you in advance,

Kind regards,

2016-08-26 16:14 GMT+01:00 Nick Collier <[hidden email]>:
Can you ask for Simphony to be updated? 2.1 is quite old.

Have you changed the model at all? I think you can get this issue if you do not create any file sink output during a batch run. So, a solution would be to generate some output which I think the model does unless you’ve turned that off some how.

Nick

On Aug 26, 2016, at 9:10 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Hi Nick,

Thank you for your answer, I'm using the version 2.1 of Repast Simphony. Unfortunately, I can't change the version of Repast because I'm using the model on a cloud platform where this version is deployed.

Kind regards,

2016-08-26 13:50 GMT+01:00 Nicholson Collier <[hidden email]>:
What version of Simphony are you using? There’s was an issue like this in 2.2, I think, but it was fixed in 2.3.

Nick

On Aug 26, 2016, at 4:13 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear Jonathan,

Thank you for your response. I checked the "FAILURE_1" file as you suggest and it contains the next log:

Error while running model
java.lang.NullPointerException
at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)

Do you have any clue about which the problem could be?

Thank you in advance.

Kind regards,

2016-08-26 2:34 GMT+01:00 Ozik, Jonathan <[hidden email]>:
One thing you can try to do is look in the "C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1" directory and see if there is a "FAILURE" file or any other log file that might indicate what the problem could be.

Jonathan

On Aug 25, 2016, at 9:09 AM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I would like ask please a question regard an error that I'm getting when I run the "jicam" model in batch mode. In the console I get the next log (The error is almost at the bottom of the log):

INFO  [AWT-EventQueue-0] 11:17:55,628 repast.simphony.batch.gui.BatchConfigMediator - Writing batch run config file to: C:\Users\carlo\workspace\jicam\output\config.props
INFO  [AWT-EventQueue-0] 11:17:55,791 repast.simphony.batch.gui.BatchConfigMediator - Unrolling batch parameter file:
C:\Users\carlo\workspace\jicam\batch\batch_params.xml to
C:\Users\carlo\AppData\Local\Temp\unrolledParamFile.txt
INFO  [SwingWorker-pool-1-thread-1] 11:18:13,981 repast.simphony.batch.ssh.LocalSession - 
Copying locally C:\Users\carlo\AppData\Local\Temp\carlo_localhost927983090211747682.zip to 
C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 ...
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,074 repast.simphony.batch.ssh.LocalSession - Copying Finished.
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.SessionsDriver - Initialization Time: 0.1135
INFO  [SwingWorker-pool-1-thread-1] 11:18:14,076 repast.simphony.batch.ssh.LocalSession - Unzipping model C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\carlo_localhost927983090211747682.zip
INFO  [SwingWorker-pool-1-thread-1] 11:18:16,282 repast.simphony.batch.ssh.LocalSession - Running model on localhost ...
INFO  [Thread-3] 11:18:50,330 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [Thread-3] 11:18:50,331 repast.simphony.batch.ssh.LocalSession - 
INFO  [pool-2-thread-1] 11:19:16,300 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:20:16,302 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:21:16,305 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:22:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [pool-2-thread-1] 11:23:16,306 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  no
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - ERROR [main] 11:23:57,790 repast.simphony.batch.InstanceRunner - Error while running model
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession - java.lang.NullPointerException
INFO  [Thread-3] 11:23:57,805 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchParamMapFileWriter.close(BatchParamMapFileWriter.java:196)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.AbstractDataSet.close(AbstractDataSet.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.BatchRunDataSetManager.batchEnded(BatchRunDataSetManager.java:63)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.data2.engine.DataInitActionCreator$1.batchCleanup(DataInitActionCreator.java:73)
INFO  [Thread-3] 11:23:57,806 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:266)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController$4.visit(DefaultController.java:1)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
INFO  [Thread-3] 11:23:57,807 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:264)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.engine.controller.DefaultController.batchCleanup(DefaultController.java:456)
INFO  [Thread-3] 11:23:57,808 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.OneRunBatchRunner.batchCleanup(OneRunBatchRunner.java:93)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.run(InstanceRunner.java:120)
INFO  [Thread-3] 11:23:57,809 repast.simphony.batch.ssh.LocalSession -  at repast.simphony.batch.InstanceRunner.main(InstanceRunner.java:131)
INFO  [pool-2-thread-1] 11:24:16,329 repast.simphony.batch.ssh.LocalDonePoller - Polled C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268 for DONE:  yes
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,333 repast.simphony.batch.ssh.SessionsDriver - Run Time: 6.0376
INFO  [SwingWorker-pool-1-thread-1] 11:24:16,360 repast.simphony.batch.ssh.LocalSession - Finding output on localhost in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268
WARN  [SwingWorker-pool-1-thread-1] 11:24:16,362 repast.simphony.batch.ssh.RemoteOutputFinderCopier - No model output found in C:\Users\carlo\AppData\Local\Temp\simphony_model_1472120287268\instance_1
ERROR [SwingWorker-pool-1-thread-1] 11:24:16,373 repast.simphony.batch.ssh.SessionsDriver - Error while aggregating remote output
java.io.IOException: Output files are missing
at repast.simphony.batch.ssh.OutputAggregator.run(OutputAggregator.java:79)
at repast.simphony.batch.ssh.SessionsDriver.concatenateOutput(SessionsDriver.java:165)
at repast.simphony.batch.ssh.SessionsDriver.run(SessionsDriver.java:74)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:445)
at repast.simphony.batch.gui.BatchConfigMediator$AntSessionRunner.doInBackground(BatchConfigMediator.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Do you have any idea about how to fix this problem?

Thank you in advance.

Kind regards,


2016-08-25 10:07 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Please ignore my last question. I just to realize that there is a parameter (run length) when it is run in batch mode with which it may be stopped.

Sorry for that.

Kind regards,

2016-08-25 9:51 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Regard this same model (jicam), I would like to ask you please another question. How may I stop it in any condition or any tick number when I run it in batch mode?

Thank you in advance.

Kind regards,

2016-08-23 11:13 GMT+01:00 Carlos Bahamonde Reyes <[hidden email]>:
Dear all,

Thank you very much for your responses. Changing this parameter it works indeed.

Kind regards,

2016-08-23 7:14 GMT+01:00 Ozik, Jonathan <[hidden email]>:
Hi Carlos,

If the issue is a maximum representable size for the heap size, you can go into the launcher file:
jicam/launchers/jicam Model.launch
and edit the "-Xmx6400M" bit to something smaller, say "-Xmx1024M".

Jonathan

On Aug 22, 2016, at 5:31 PM, Carlos Bahamonde Reyes <[hidden email]> wrote:

Dear all,

I have downloaded the jicam model from: https://www.openabm.org/model/4464/version/1/view. But when I try to run it I receive the following window pop up:

Errors: Could not create the Java Virtual Machine.
Error: A fatal exception has ocurred. Program will exit.

Then, in the console I receive the next message:

Invalid maximum heap size: -Xmx6400M
The specified size exceeds the maximum representable size.

I'm using Repast Simphony 2.1.

Could you please give some hint about how may I fix this problem?

Thank you in advance,

Kind regards,

-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción



-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




-- 
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción
------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción




--
Carlos R. Bahamonde Reyes
Ingeniero Civil Electrónico
Universidad de Concepción

------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest