Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.001692/0.001692, allocations: 104.3 kB / 20.56 MB, free: 1.262 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.001886/0.001886, allocations: 221.4 kB / 23.86 MB, free: 4.414 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.5/1.5, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.07108/0.07108, allocations: 12.23 MB / 326.3 MB, free: 6.992 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_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.773e-05, allocations: 6.219 kB / 454.6 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004819/0.004847, allocations: 2.879 MB / 457.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.006372, allocations: 0.7395 MB / 458.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.006479, allocations: 11.88 kB / 458.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.006737, allocations: 59.41 kB / 458.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.006922, allocations: 51.53 kB / 458.4 MB, free: 4.559 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.0006577/0.00758, allocations: 231.3 kB / 458.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000455/0.008035, allocations: 395.1 kB / 459 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.008292, allocations: 105.4 kB / 459.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.008499, allocations: 171.4 kB / 459.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.00872, allocations: 175.1 kB / 459.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.008779, allocations: 36 kB / 459.4 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.009022, allocations: 143.9 kB / 459.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005491/0.009571, allocations: 0.6882 MB / 460.3 MB, free: 2.629 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003165/0.009887, allocations: 462 kB / 460.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.009933, allocations: 24 kB / 460.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.916e-05/0.009992, allocations: 23.75 kB / 460.8 MB, free: 2.125 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: 93 (85) * Number of variables: 85 (79) Notification: Performance of [SIM] Bindings: time 0.001882/0.01187, allocations: 1.646 MB / 462.4 MB, free: 352 kB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004454/0.01232, allocations: 329.8 kB / 462.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.00113/0.01345, allocations: 1.081 MB / 463.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000347/0.0138, allocations: 216.2 kB / 464 MB, free: 14.59 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001945/0.01574, allocations: 1.305 MB / 465.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000265/0.01601, allocations: 169.7 kB / 465.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001568/0.01616, allocations: 122.9 kB / 465.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0005917/0.01675, allocations: 425.4 kB / 466 MB, free: 12.29 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.000128/0.01688, allocations: 65.09 kB / 466.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007106/0.01759, allocations: 0.5657 MB / 466.7 MB, free: 11.55 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_73) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6116730999783613] Failed to read output from testmodel.py, exit status != 0: 0.0267096990137361 0.041059697 0.028107468 Calling exit ...