Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.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: 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.001719/0.001719, 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.495/1.495, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.06227/0.06227, 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.077e-05, allocations: 4.25 kB / 454.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.005395/0.005426, allocations: 2.894 MB / 457.5 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.00748, allocations: 1.055 MB / 458.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.007621, allocations: 11.88 kB / 458.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.007929, allocations: 75.2 kB / 458.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.008134, allocations: 59.45 kB / 458.7 MB, free: 4.211 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.0008207/0.008955, allocations: 287.3 kB / 459 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006567/0.009612, allocations: 0.5687 MB / 459.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.009931, allocations: 134.9 kB / 459.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.01029, allocations: 275.2 kB / 460 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.01062, allocations: 258.8 kB / 460.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.01071, allocations: 52 kB / 460.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.01097, allocations: 151.9 kB / 460.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008263/0.0118, allocations: 0.9747 MB / 461.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004731/0.01227, allocations: 0.6287 MB / 462 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.01234, allocations: 28 kB / 462 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.729e-05/0.01243, allocations: 47.55 kB / 462.1 MB, free: 0.8047 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: 132 (128) * Number of variables: 115 (115) Notification: Performance of [SIM] Bindings: time 0.002793/0.01523, allocations: 2.363 MB / 464.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008749/0.0161, allocations: 0.6497 MB / 465.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001829/0.01793, allocations: 1.632 MB / 466.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004737/0.01841, allocations: 280.2 kB / 467 MB, free: 11.51 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001869/0.02027, allocations: 1.32 MB / 468.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003949/0.02067, allocations: 256.3 kB / 468.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002464/0.02092, allocations: 192.1 kB / 468.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0008759/0.02179, allocations: 0.6424 MB / 469.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.000132/0.02192, allocations: 55.95 kB / 469.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00111/0.02303, allocations: 0.9191 MB / 470.4 MB, free: 7.719 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_119) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5848691999563016] Failed to read output from testmodel.py, exit status != 0: 0.03131773695349693 0.046215385000000005 0.030745265 Calling exit ...