Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 112.3 kB / 17.14 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 200.7 kB / 18.08 MB, free: 4.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05336/0.05336, allocations: 12.04 MB / 304 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.149e-05, allocations: 2.281 kB / 420.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.002583/0.002612, allocations: 2.255 MB / 422.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.002887, allocations: 167.5 kB / 423.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.002981, allocations: 3.938 kB / 423.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.003131, allocations: 23.86 kB / 423.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.0033, allocations: 43.81 kB / 423.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.003454, allocations: 47.88 kB / 423.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.003597, allocations: 91.75 kB / 423.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.00372, allocations: 16.23 kB / 423.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.003779, allocations: 35.84 kB / 423.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.003835, allocations: 27.86 kB / 423.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.003861, allocations: 4 kB / 423.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.004017, allocations: 139.9 kB / 423.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of combineBinaries: time 8.499e-05/0.004108, allocations: 122.4 kB / 423.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.357e-05/0.004147, allocations: 86.78 kB / 423.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.004178, allocations: 7.938 kB / 423.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-05/0.004206, allocations: 7.984 kB / 423.7 MB, free: 14.18 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 (12) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0004054/0.004616, allocations: 423.9 kB / 424.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.234e-05/0.004634, allocations: 3.938 kB / 424.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000157/0.004796, allocations: 236.2 kB / 424.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simplify1: time 6.452e-06/0.004809, allocations: 12 kB / 424.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Alias: time 0.0003238/0.005138, allocations: 293.5 kB / 424.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simplify2: time 2.835e-06/0.00515, allocations: 4 kB / 424.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of Events: time 7.055e-05/0.005225, allocations: 39.91 kB / 424.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Detect States: time 0.000123/0.005354, allocations: 93.97 kB / 424.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of Partitioning: time 6.594e-05/0.005427, allocations: 60.22 kB / 424.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001682/0.005602, allocations: 172.4 kB / 425 MB, free: 12.63 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001068/0.005725, allocations: 160.4 kB / 425.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Inline: time 0.000575/0.006307, allocations: 0.7328 MB / 425.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Partitioning: time 2.037e-05/0.006336, allocations: 32.05 kB / 426 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Cleanup: time 1.867e-05/0.00636, allocations: 15.98 kB / 426 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006863/0.00705, allocations: 0.8859 MB / 426.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of Tearing: time 6.732e-06/0.007066, allocations: 3.938 kB / 426.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Initialization: time 2.9e-07/0.007071, allocations: 0 / 426.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Tearing: time 8.31e-07/0.007077, allocations: 0 / 426.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Categorize: time 8.136e-06/0.007089, allocations: 0 / 426.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Solve: time 0.0001101/0.007204, allocations: 99.8 kB / 427 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Jacobian: time 2.675e-06/0.007212, allocations: 0 / 427 MB, free: 10.62 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {keyboardKeyInput.keyState, keyboardKeyInput.keyStateInt, keyboardKeyInput.additionalKeyStateInt, assignClock1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {synchronizeRealtime.procPrio.initialized} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:2, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:12, array:0, record:2) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.303e-05/0.007259, allocations: 22.61 kB / 427 MB, free: 10.61 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable assignClock1.clock.