Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.001412/0.001412, 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.00165/0.00165, allocations: 216.5 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.481/1.481, allocations: 230.7 MB / 257.7 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.06196/0.06196, allocations: 12.24 MB / 326.3 MB, free: 7 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_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/2.921e-05, allocations: 6.219 kB / 454.6 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.007957/0.007986, allocations: 2.98 MB / 457.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.01161, allocations: 1.195 MB / 458.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004067/0.01202, allocations: 11.88 kB / 458.8 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.01253, allocations: 75.2 kB / 458.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.01314, allocations: 63.45 kB / 458.9 MB, free: 3.984 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.001498/0.01464, allocations: 295.2 kB / 459.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.01579, allocations: 0.4986 MB / 459.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.01632, allocations: 129.1 kB / 459.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.01687, allocations: 219.3 kB / 460.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.01737, allocations: 215 kB / 460.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.01749, allocations: 44 kB / 460.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.01812, allocations: 199.8 kB / 460.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009933/0.01911, allocations: 0.8699 MB / 461.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006145/0.01973, allocations: 0.5786 MB / 462 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.01988, allocations: 28 kB / 462 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001422/0.02002, allocations: 43.61 kB / 462 MB, free: 0.8672 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: 120 (106) * Number of variables: 108 (99) Notification: Performance of [SIM] Bindings: time 0.003275/0.0233, allocations: 2.06 MB / 464.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007891/0.02409, allocations: 468.7 kB / 464.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001901/0.02599, allocations: 1.355 MB / 465.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000566/0.02655, allocations: 240.1 kB / 466.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002486/0.02904, allocations: 1.414 MB / 467.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004165/0.02946, allocations: 214.7 kB / 467.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002555/0.02971, allocations: 153.5 kB / 467.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0009055/0.03062, allocations: 0.4917 MB / 468.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001463/0.03076, allocations: 50.53 kB / 468.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001102/0.03187, allocations: 0.7388 MB / 469.2 MB, free: 8.965 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_93) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5953112529823557] Failed to read output from testmodel.py, exit status != 0: 0.043411567981820554 0.059765725000000006 0.03621954 Calling exit ...