-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When trying to run multiple simulations in parallel, the emulator is able to initialize eplus, but returns the following error when it tries to start jmodelica
jmodelica0_1 | Exception in thread Thread-1:
jmodelica0_1 | Traceback (most recent call last):
jmodelica0_1 | File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
jmodelica0_1 | self.run()
jmodelica0_1 | File "/usr/local/JModelica/Python/pymodelica/compiler_logging.py", line 226, in run
jmodelica0_1 | self.result.problems.append(CompilationException('xml.sax.SAXParseException', self.stream.genErrorMsg(e),""))
jmodelica0_1 | File "/usr/local/JModelica/Python/pymodelica/compiler_logging.py", line 153, in genErrorMsg
jmodelica0_1 | more = self.stream.read()
jmodelica0_1 | ValueError: I/O operation on closed file
jmodelica0_1 |
jmodelica0_1 | Traceback (most recent call last):
jmodelica0_1 | File "web.py", line 202, in <module>
jmodelica0_1 | main(sys.argv[1])
jmodelica0_1 | File "web.py", line 157, in main
jmodelica0_1 | case = TestCase(model_config)
jmodelica0_1 | File "/home/developer/testcase.py", line 211, in __init__
jmodelica0_1 | self.fmu = load_fmu(self.fmupath)
jmodelica0_1 | File "src/pyfmi/fmi.pyx", line 7954, in pyfmi.fmi.load_fmu
jmodelica0_1 | pyfmi.fmi.FMUException: Could not locate the FMU in the specified directory.
buildingcontroltest_jmodelica0_1 exited with code 1
The same error is repeated for the seconds instance running in parallel, namely jmodelica1_1.
The corresponding .yml files are attached for the two simulations. (Note: I had to convert them to .txt files in order to attach them to this issue... .yml format is not supported)
docker-compose0.txt
docker-compose1.txt
Metadata
Metadata
Assignees
Labels
No labels