Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001391/0.001391, 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.001843/0.001843, allocations: 223.2 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.7 MB / 257.6 MB, free: 7.758 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.06033/0.06033, allocations: 12.22 MB / 326.3 MB, free: 7.004 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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.755e-05, allocations: 2.281 kB / 454.6 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.006038/0.006066, allocations: 2.966 MB / 457.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.008172, allocations: 0.8873 MB / 458.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.008461, allocations: 11.88 kB / 458.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.008857, allocations: 87.19 kB / 458.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.009244, allocations: 63.44 kB / 458.6 MB, free: 4.305 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/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/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:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/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/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.0103, allocations: 287.2 kB / 458.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.01107, allocations: 0.491 MB / 459.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.01142, allocations: 121.2 kB / 459.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.01184, allocations: 231.3 kB / 459.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.01225, allocations: 211 kB / 460 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.01237, allocations: 44 kB / 460 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.01281, allocations: 195.8 kB / 460.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008529/0.01366, allocations: 0.8661 MB / 461.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005508/0.01421, allocations: 0.5708 MB / 461.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.01431, allocations: 24 kB / 461.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.588e-05/0.01441, allocations: 39.61 kB / 461.7 MB, free: 1.227 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: 121 (107) * Number of variables: 109 (100) Notification: Performance of [SIM] Bindings: time 0.00255/0.01696, allocations: 2.058 MB / 463.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005863/0.01754, allocations: 468.7 kB / 464.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001475/0.01902, allocations: 1.362 MB / 465.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003966/0.01941, allocations: 252.1 kB / 465.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002103/0.02152, allocations: 1.434 MB / 467.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003185/0.02183, allocations: 216.2 kB / 467.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001973/0.02203, allocations: 156.1 kB / 467.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0007325/0.02276, allocations: 0.4953 MB / 468.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001146/0.02288, allocations: 63.77 kB / 468.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.000928/0.02381, allocations: 0.7279 MB / 468.9 MB, free: 9.27 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_92) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6407663130084984] Failed to read output from testmodel.py, exit status != 0: 0.03385318705113605 0.050027925 0.032352779000000005 Calling exit ...