Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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.001368/0.001368, allocations: 100.4 kB / 20.55 MB, free: 1.105 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.001435/0.001435, allocations: 210.1 kB / 23.85 MB, free: 4.305 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.513/1.513, allocations: 230.6 MB / 257.6 MB, free: 7.762 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.06425/0.06425, allocations: 12.23 MB / 326.3 MB, free: 7.012 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_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.819e-05, allocations: 3.547 kB / 454.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.005376/0.005405, allocations: 2.939 MB / 457.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.007334, allocations: 0.8717 MB / 458.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.007503, allocations: 15.88 kB / 458.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.007843, allocations: 83.19 kB / 458.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.008069, allocations: 55.52 kB / 458.6 MB, free: 4.375 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.0008825/0.008952, allocations: 287.2 kB / 458.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.009563, allocations: 494.8 kB / 459.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.009864, allocations: 117.2 kB / 459.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.01015, allocations: 227.3 kB / 459.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.01045, allocations: 207 kB / 459.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.01052, allocations: 44 kB / 459.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.01089, allocations: 207.8 kB / 460.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007355/0.01162, allocations: 0.8544 MB / 461 MB, free: 1.957 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004373/0.01206, allocations: 0.5669 MB / 461.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.01212, allocations: 24 kB / 461.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.482e-05/0.01222, allocations: 43.67 kB / 461.6 MB, free: 1.316 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.002515/0.01473, allocations: 2.035 MB / 463.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006236/0.01536, allocations: 468.7 kB / 464.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001506/0.01686, allocations: 1.343 MB / 465.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004371/0.0173, allocations: 240.2 kB / 465.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002226/0.01952, allocations: 1.429 MB / 467.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003341/0.01986, allocations: 213.6 kB / 467.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001803/0.02004, allocations: 149.5 kB / 467.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.000776/0.02082, allocations: 0.4987 MB / 468 MB, free: 10.36 MB / 334.1 MB Notification: Performance of [SIM] Events: time 9.677e-05/0.02091, allocations: 30.61 kB / 468 MB, free: 10.33 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009478/0.02186, allocations: 0.7157 MB / 468.7 MB, free: 9.477 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.6076958819758147] Failed to read output from testmodel.py, exit status != 0: 0.03135485603706911 0.046826912000000005 0.031340261 Calling exit ...