Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.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.001371/0.001371, 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.001493/0.001493, allocations: 216 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.484/1.484, allocations: 230.6 MB / 257.6 MB, free: 7.789 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.06078/0.06078, 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.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.057e-05, allocations: 6.219 kB / 454.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.005251/0.005272, allocations: 3.233 MB / 457.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.007122, allocations: 0.8875 MB / 458.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.007283, allocations: 15.81 kB / 458.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.007647, allocations: 95.22 kB / 458.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.007809, allocations: 55.53 kB / 458.9 MB, free: 4.039 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/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: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: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:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.00875, allocations: 310.5 kB / 459.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.009342, allocations: 471.4 kB / 459.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.009625, allocations: 106 kB / 459.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.009851, allocations: 191.4 kB / 460 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.0101, allocations: 171.1 kB / 460.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.01017, allocations: 40 kB / 460.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.01045, allocations: 159.9 kB / 460.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006828/0.01113, allocations: 0.7499 MB / 461.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003565/0.01149, allocations: 485.5 kB / 461.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.01155, allocations: 24 kB / 461.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.287e-05/0.01163, allocations: 35.67 kB / 461.6 MB, free: 1.32 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: 99 (75) * Number of variables: 95 (81) Notification: Performance of [SIM] Bindings: time 0.002115/0.01374, allocations: 1.72 MB / 463.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002915/0.01403, allocations: 213.4 kB / 463.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.00121/0.01524, allocations: 1.125 MB / 464.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000316/0.01556, allocations: 203 kB / 464.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001966/0.01753, allocations: 1.347 MB / 466.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002565/0.01778, allocations: 170 kB / 466.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001691/0.01795, allocations: 139.9 kB / 466.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0005613/0.01851, allocations: 408.7 kB / 466.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001177/0.01863, allocations: 57.08 kB / 467 MB, free: 11.42 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006293/0.01926, allocations: 487.2 kB / 467.4 MB, free: 10.88 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) tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg ($RES_SIM_58) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.550149112008512] Failed to read output from testmodel.py, exit status != 0: 0.027309278026223183 0.041339452000000006 0.026840131000000003 Calling exit ...