Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_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.001494/0.001494, 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.001941/0.001941, allocations: 214.1 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.531/1.531, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.06039/0.06039, allocations: 12.23 MB / 326.3 MB, free: 7.02 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.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.631e-05, allocations: 2.281 kB / 454.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.005272/0.005298, allocations: 3.077 MB / 457.7 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.007284, allocations: 0.9496 MB / 458.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.007441, allocations: 11.88 kB / 458.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.00776, allocations: 91.06 kB / 458.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.008001, allocations: 67.38 kB / 458.8 MB, free: 4.141 MB / 318.1 MB [/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: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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/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: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: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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008696/0.008871, allocations: 335 kB / 459.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007234/0.009594, allocations: 0.5999 MB / 459.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.00994, allocations: 151.1 kB / 459.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.01026, allocations: 271.2 kB / 460.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.01065, allocations: 270.7 kB / 460.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-05/0.01074, allocations: 60 kB / 460.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.01111, allocations: 203.8 kB / 460.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008764/0.01199, allocations: 1.056 MB / 461.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005325/0.01252, allocations: 0.6903 MB / 462.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.01259, allocations: 32 kB / 462.4 MB, free: 484 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.672e-05/0.01269, allocations: 43.56 kB / 462.5 MB, free: 440 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 (132) * Number of variables: 128 (122) Notification: Performance of [SIM] Bindings: time 0.002835/0.01553, allocations: 2.487 MB / 465 MB, free: 13.79 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007578/0.01628, allocations: 0.6104 MB / 465.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001789/0.01807, allocations: 1.675 MB / 467.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005036/0.01858, allocations: 280.2 kB / 467.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002461/0.02104, allocations: 1.678 MB / 469.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003732/0.02141, allocations: 248.1 kB / 469.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002357/0.02165, allocations: 196 kB / 469.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0008806/0.02253, allocations: 0.6233 MB / 470.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001141/0.02264, allocations: 47.89 kB / 470.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001136/0.02378, allocations: 0.8883 MB / 471.2 MB, free: 6.859 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_115) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.642989513988141] Failed to read output from testmodel.py, exit status != 0: 0.03255587100284174 0.047584202000000006 0.031705155 Calling exit ...