Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.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.001591/0.001591, 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.001391/0.001391, allocations: 219.4 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.476/1.476, allocations: 230.6 MB / 257.6 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.06544/0.06544, allocations: 12.22 MB / 326.3 MB, free: 6.992 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_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.095e-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_ExternalTrigger): time 0.004578/0.004599, allocations: 2.715 MB / 457.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.005945, allocations: 0.6656 MB / 458 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.006056, allocations: 11.88 kB / 458 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.006316, allocations: 55.42 kB / 458.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.00649, allocations: 51.56 kB / 458.1 MB, free: 4.812 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: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/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:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/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: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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.007118, allocations: 239.4 kB / 458.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.007607, allocations: 435 kB / 458.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.007893, allocations: 109.1 kB / 458.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.008135, allocations: 211.4 kB / 459.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.008397, allocations: 191.1 kB / 459.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.41e-05/0.008461, allocations: 40 kB / 459.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.008684, allocations: 131.9 kB / 459.4 MB, free: 3.484 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006561/0.009341, allocations: 0.7348 MB / 460.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003709/0.009711, allocations: 485.8 kB / 460.6 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.009764, allocations: 24 kB / 460.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.891e-05/0.009823, allocations: 31.67 kB / 460.7 MB, free: 2.207 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: 102 (99) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.002117/0.01194, allocations: 1.814 MB / 462.5 MB, free: 268 kB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006127/0.01255, allocations: 0.5009 MB / 463 MB, free: 15.66 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.00135/0.0139, allocations: 1.249 MB / 464.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003622/0.01426, allocations: 228.2 kB / 464.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001571/0.01584, allocations: 1.12 MB / 465.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003071/0.01614, allocations: 212.2 kB / 465.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001803/0.01632, allocations: 156.2 kB / 466 MB, free: 12.42 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0006786/0.017, allocations: 498.2 kB / 466.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of [SIM] Events: time 8.58e-05/0.01709, allocations: 35.92 kB / 466.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008529/0.01794, allocations: 0.6958 MB / 467.2 MB, free: 11.03 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 = packInt.pkgIn.pkg ($RES_SIM_89) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.549690542044118] Failed to read output from testmodel.py, exit status != 0: 0.025726876046974212 0.040249136000000005 0.027449074 Calling exit ...