Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 100.4 kB / 20.55 MB, free: 1.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 216 kB / 23.86 MB, free: 4.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0611/0.0611, allocations: 12.22 MB / 326.3 MB, free: 7.047 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.049e-05, allocations: 2.281 kB / 454.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemory): time 0.004919/0.004939, allocations: 2.783 MB / 457.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.006305, allocations: 0.6812 MB / 458.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.006405, allocations: 11.88 kB / 458.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.006694, allocations: 67.38 kB / 458.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.006877, allocations: 47.59 kB / 458.2 MB, free: 4.742 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.007501, allocations: 223.4 kB / 458.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.00794, allocations: 359.1 kB / 458.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.00823, allocations: 97.12 kB / 458.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.008419, allocations: 159.5 kB / 459 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.008619, allocations: 155.2 kB / 459.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.008671, allocations: 36 kB / 459.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.008906, allocations: 147.8 kB / 459.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005085/0.009415, allocations: 0.6495 MB / 460 MB, free: 2.934 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003218/0.009737, allocations: 438.4 kB / 460.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.009782, allocations: 16 kB / 460.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.254e-05/0.009834, allocations: 27.73 kB / 460.5 MB, free: 2.457 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 (78) * Number of variables: 78 (72) Notification: Performance of [SIM] Bindings: time 0.002064/0.0119, allocations: 1.562 MB / 462 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003942/0.01229, allocations: 305.8 kB / 462.3 MB, free: 412 kB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.001029/0.01332, allocations: 0.9929 MB / 463.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000292/0.01361, allocations: 189.6 kB / 463.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001841/0.01545, allocations: 1.188 MB / 464.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002378/0.01569, allocations: 163 kB / 464.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001408/0.01583, allocations: 112.3 kB / 465 MB, free: 13.46 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0006087/0.01644, allocations: 382.5 kB / 465.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of [SIM] Events: time 8.887e-05/0.01653, allocations: 37.27 kB / 465.4 MB, free: 13 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006226/0.01715, allocations: 0.5227 MB / 465.9 MB, free: 12.37 MB / 334.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because there was not enough state candidates to balance out the constraint equations. Constraint Equations (1/1) **************************** (1) [RECD] (1) packager.pkgOut.pkg = addReal.pkgIn.pkg ($RES_SIM_64) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.571698982035741] Failed to read output from testmodel.py, exit status != 0: 0.0257171870325692 0.039471869 0.026759681 Calling exit ...