Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM.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.001483/0.001483, 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.001864/0.001864, allocations: 221.9 kB / 23.86 MB, free: 4.414 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.592/1.592, allocations: 230.7 MB / 257.7 MB, free: 7.727 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.06488/0.06488, allocations: 12.22 MB / 326.3 MB, free: 6.984 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_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.469e-05, allocations: 2.281 kB / 454.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_LCM): time 0.005254/0.005278, allocations: 2.97 MB / 457.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.00703, allocations: 0.8601 MB / 458.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.007151, allocations: 11.88 kB / 458.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.007456, allocations: 87.19 kB / 458.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.007668, allocations: 59.45 kB / 458.6 MB, free: 4.324 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:1272:7-1282:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.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:1262:7-1270:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readLCM' contains a call to impure function 'Modelica_DeviceDrivers.Communication.LCM_.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.0007571/0.008425, allocations: 287.2 kB / 458.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005738/0.008999, allocations: 0.491 MB / 459.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.009293, allocations: 133.1 kB / 459.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.009541, allocations: 215.3 kB / 459.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.009803, allocations: 222.9 kB / 459.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.009873, allocations: 44 kB / 460 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.01018, allocations: 203.8 kB / 460.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007137/0.01089, allocations: 0.8856 MB / 461.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004115/0.0113, allocations: 0.5785 MB / 461.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.01136, allocations: 24 kB / 461.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.187e-05/0.01144, allocations: 39.61 kB / 461.7 MB, free: 1.203 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: 117 (105) * Number of variables: 105 (96) Notification: Performance of [SIM] Bindings: time 0.002338/0.01378, allocations: 2.077 MB / 463.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005595/0.01434, allocations: 468.7 kB / 464.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001418/0.01576, allocations: 1.335 MB / 465.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003806/0.01614, allocations: 232.2 kB / 465.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.002026/0.01817, allocations: 1.422 MB / 467.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003089/0.01848, allocations: 213.5 kB / 467.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001834/0.01866, allocations: 157.5 kB / 467.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.000702/0.01936, allocations: 0.489 MB / 468.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001081/0.01947, allocations: 50.58 kB / 468.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008891/0.02036, allocations: 0.7001 MB / 468.8 MB, free: 9.336 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.6593751790351234] Failed to read output from testmodel.py, exit status != 0: 0.029882980976253748 0.043563713000000004 0.029139303000000002 Calling exit ...