Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.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.001383/0.001383, 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.002719/0.002719, allocations: 215.9 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.497/1.497, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.06122/0.06122, 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_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/1.992e-05, allocations: 4.391 kB / 454.6 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.005/0.00502, allocations: 2.933 MB / 457.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.006753, allocations: 0.8757 MB / 458.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.006882, allocations: 19.81 kB / 458.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.007161, allocations: 75.27 kB / 458.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.00739, allocations: 59.45 kB / 458.6 MB, free: 4.332 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.0007488/0.008139, allocations: 295.1 kB / 458.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.008715, allocations: 486.9 kB / 459.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.00901, allocations: 121.2 kB / 459.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.009273, allocations: 227.2 kB / 459.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.009541, allocations: 211 kB / 459.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.009617, allocations: 44 kB / 459.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.00992, allocations: 199.8 kB / 460.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006884/0.01061, allocations: 0.8584 MB / 461 MB, free: 1.91 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004112/0.01102, allocations: 0.563 MB / 461.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.01108, allocations: 24 kB / 461.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.39e-05/0.01115, allocations: 39.67 kB / 461.6 MB, free: 1.277 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: 119 (105) * Number of variables: 107 (98) Notification: Performance of [SIM] Bindings: time 0.002348/0.0135, allocations: 2.038 MB / 463.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005605/0.01406, allocations: 460.8 kB / 464.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001426/0.01548, allocations: 1.343 MB / 465.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003798/0.01586, allocations: 244.1 kB / 465.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002071/0.01794, allocations: 1.426 MB / 467.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003275/0.01826, allocations: 209.6 kB / 467.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000206/0.01847, allocations: 157.5 kB / 467.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.000698/0.01917, allocations: 497.8 kB / 468 MB, free: 10.34 MB / 334.1 MB Notification: Performance of [SIM] Events: time 9.493e-05/0.01926, allocations: 50.45 kB / 468 MB, free: 10.29 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008753/0.02014, allocations: 0.7001 MB / 468.7 MB, free: 9.445 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_90) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.60108571103774] Failed to read output from testmodel.py, exit status != 0: 0.028639536001719534 0.042914214000000006 0.028834251 Calling exit ...