Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.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.00146/0.00146, allocations: 104.3 kB / 20.56 MB, free: 1.262 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.001877/0.001877, allocations: 224 kB / 23.86 MB, free: 4.418 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.522/1.522, allocations: 230.7 MB / 257.6 MB, free: 7.723 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.06524/0.06524, allocations: 12.23 MB / 326.3 MB, free: 7.004 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_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.01e-05, allocations: 2.281 kB / 454.6 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.005369/0.005389, allocations: 3.231 MB / 457.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.007175, allocations: 0.8914 MB / 458.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.007341, allocations: 15.81 kB / 458.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.007696, allocations: 95.22 kB / 458.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.007875, allocations: 47.52 kB / 458.9 MB, free: 4.062 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.0008726/0.008748, allocations: 321.7 kB / 459.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.01011, allocations: 1.163 MB / 460.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.01052, allocations: 176.3 kB / 460.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.01091, allocations: 291.2 kB / 460.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.01133, allocations: 314.9 kB / 461.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01143, allocations: 48 kB / 461.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.01175, allocations: 163.9 kB / 461.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0009368/0.01268, allocations: 0.8942 MB / 462.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004649/0.01315, allocations: 0.5442 MB / 462.8 MB, free: 160 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.01322, allocations: 28 kB / 462.8 MB, free: 132 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.333e-05/0.01331, allocations: 31.73 kB / 462.8 MB, free: 100 kB / 318.1 MB Error: Internal error NBEquation.WhenEquationBody.getType failed because of not properly split up when equation body: when tCPIPSend[$i28].pkgIn.trigger then (tCPIPSend[$i28].pkgSize, tCPIPSend[$i28].dummy1) := Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos(tCPIPSend[$i28].pkgIn.pkg, tCPIPSend[$i28].pkgIn.dummy) (tCPIPSend[$i28].dummy2, tCPIPSend[$i28].dataSent) := Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer(tcpipserverconfig.tcpipserver, tCPIPSend[$i28].pkgIn.pkg, tCPIPSend[$i28].pkgSize, tCPIPSend[$i28].clientIndex, tCPIPSend[$i28].dummy1) end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6038457990507595] Failed to read output from testmodel.py, exit status != 0: 0.023698990989942104 0.038150802000000004 0.021934592000000003 Calling exit ...