Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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.001493/0.001493, 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.001658/0.001658, 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.536/1.536, allocations: 230.7 MB / 257.7 MB, free: 7.766 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.07249/0.07249, allocations: 12.24 MB / 326.3 MB, free: 6.996 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_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.167e-05, allocations: 6.219 kB / 454.6 MB, free: 8.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.004751/0.004773, allocations: 2.713 MB / 457.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.006416, allocations: 0.884 MB / 458.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/0.006516, allocations: 11.88 kB / 458.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.006754, allocations: 55.42 kB / 458.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.007039, allocations: 83.42 kB / 458.4 MB, free: 4.574 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:52:7-61:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:119:7-128:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.007676, allocations: 251.3 kB / 458.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004841/0.00816, allocations: 419 kB / 459 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.008436, allocations: 104.1 kB / 459.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.008676, allocations: 203.4 kB / 459.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.008916, allocations: 195.1 kB / 459.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.008989, allocations: 40 kB / 459.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.00929, allocations: 191.8 kB / 459.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005935/0.009883, allocations: 0.7232 MB / 460.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003465/0.01023, allocations: 485.9 kB / 460.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.01028, allocations: 20 kB / 460.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.242e-05/0.01034, allocations: 35.67 kB / 461 MB, free: 1.926 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.002114/0.01246, allocations: 1.814 MB / 462.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006167/0.01307, allocations: 0.5048 MB / 463.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.001443/0.01452, allocations: 1.253 MB / 464.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003768/0.01489, allocations: 232.2 kB / 464.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001709/0.0166, allocations: 1.142 MB / 465.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003278/0.01693, allocations: 220.2 kB / 466.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001874/0.01712, allocations: 148.2 kB / 466.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0006604/0.01778, allocations: 498.9 kB / 466.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of [SIM] Events: time 6.546e-05/0.01784, allocations: 23.94 kB / 466.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009032/0.01875, allocations: 0.6878 MB / 467.5 MB, free: 10.73 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_87) State Candidate Variables (0/0) ********************************* " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.673572782019619] Failed to read output from testmodel.py, exit status != 0: 0.0269244639785029 0.042267792000000005 0.028676044 Calling exit ...