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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 111.2 kB / 19.74 MB, free: 2.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 190.4 kB / 23.03 MB, free: 5.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05899/0.05899, allocations: 12.18 MB / 319.2 MB, free: 12.84 MB / 254.1 MB
"
[Timeout remaining time 180]
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=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey")
translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 445.3 MB, free: 3.945 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09804, allocations: 55.2 MB / 0.4888 GB, free: 12.65 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.003944/0.102, allocations: 2.372 MB / 0.4911 GB, free: 10.27 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000358/0.1023, allocations: 179.4 kB / 0.4912 GB, free: 10.09 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.413e-05/0.1024, allocations: 0 / 0.4912 GB, free: 10.09 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1026, allocations: 27.84 kB / 0.4913 GB, free: 10.07 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1027, allocations: 43.83 kB / 0.4913 GB, free: 10.02 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.1029, allocations: 47.89 kB / 0.4914 GB, free: 9.977 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000159/0.103, allocations: 79.77 kB / 0.4914 GB, free: 9.898 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1031, allocations: 16.16 kB / 0.4914 GB, free: 9.879 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.1032, allocations: 31.86 kB / 0.4915 GB, free: 9.848 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.1033, allocations: 35.8 kB / 0.4915 GB, free: 9.812 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.1033, allocations: 8 kB / 0.4915 GB, free: 9.805 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.1035, allocations: 139.9 kB / 0.4917 GB, free: 9.668 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.1035, allocations: 15.92 kB / 0.4917 GB, free: 9.652 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1035, allocations: 31.81 kB / 0.4917 GB, free: 9.621 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1038, allocations: 139.6 kB / 0.4918 GB, free: 9.484 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1038, allocations: 0 / 0.4918 GB, free: 9.484 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.1038, allocations: 4 kB / 0.4918 GB, free: 9.48 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 4.779e-06/0.1038, allocations: 0 / 0.4918 GB, free: 9.48 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0004607/0.1043, allocations: 369.3 kB / 0.4922 GB, free: 9.074 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1043, allocations: 11.97 kB / 0.4922 GB, free: 9.062 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1043, allocations: 12.89 kB / 0.4922 GB, free: 9.051 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1046, allocations: 146.3 kB / 0.4923 GB, free: 8.883 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1046, allocations: 4.375 kB / 0.4924 GB, free: 8.879 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1046, allocations: 8.375 kB / 0.4924 GB, free: 8.871 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.1049, allocations: 153.5 kB / 0.4925 GB, free: 8.703 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1049, allocations: 4.188 kB / 0.4925 GB, free: 8.699 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.105, allocations: 3.938 kB / 0.4925 GB, free: 8.695 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.105, allocations: 0 / 0.4925 GB, free: 8.695 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.406e-05/0.105, allocations: 31.98 kB / 0.4925 GB, free: 8.664 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1054, allocations: 272.7 kB / 0.4928 GB, free: 8.352 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1056, allocations: 65.2 kB / 0.4929 GB, free: 8.27 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.1056, allocations: 41.78 kB / 0.4929 GB, free: 8.223 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1057, allocations: 7.938 kB / 0.4929 GB, free: 8.215 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1057, allocations: 30.56 kB / 0.4929 GB, free: 8.176 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1057, allocations: 0 / 0.4929 GB, free: 8.176 MB / 366.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0003542/0.1061, allocations: 165 kB / 0.4931 GB, free: 7.996 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.1061, allocations: 132.5 kB / 0.4932 GB, free: 7.836 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1063, allocations: 134.1 kB / 0.4934 GB, free: 7.691 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1063, allocations: 33.7 kB / 0.4934 GB, free: 7.652 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.1064, allocations: 96.06 kB / 0.4935 GB, free: 7.555 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1064, allocations: 11.95 kB / 0.4935 GB, free: 7.543 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.1064, allocations: 25.7 kB / 0.4935 GB, free: 7.512 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001521/0.1066, allocations: 326.8 kB / 0.4938 GB, free: 7.184 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.1066, allocations: 12 kB / 0.4938 GB, free: 7.172 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.1067, allocations: 58 kB / 0.4939 GB, free: 7.094 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1069, allocations: 184.8 kB / 0.4941 GB, free: 6.867 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1069, allocations: 0 / 0.4941 GB, free: 6.867 MB / 366.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002158/0.1071, allocations: 160.9 kB / 0.4942 GB, free: 6.691 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.1071, allocations: 63.39 kB / 0.4943 GB, free: 6.617 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1071, allocations: 96 / 0.4943 GB, free: 6.617 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1072, allocations: 7.938 kB / 0.4943 GB, free: 6.609 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.1072, allocations: 7.938 kB / 0.4943 GB, free: 6.602 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1072, allocations: 4 kB / 0.4943 GB, free: 6.598 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.1073, allocations: 8.203 kB / 0.4943 GB, free: 6.59 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1073, allocations: 8.219 kB / 0.4943 GB, free: 6.582 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 6 (synchronizeRealtime.initialized,keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState,assignClock1.y,assignClock1.u)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.1074, allocations: 193 kB / 0.4945 GB, free: 6.371 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1075, allocations: 65.58 kB / 0.4946 GB, free: 6.301 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.1076, allocations: 12.41 kB / 0.4946 GB, free: 6.281 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1076, allocations: 0 / 0.4946 GB, free: 6.281 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1076, allocations: 0 / 0.4946 GB, free: 6.281 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1076, allocations: 0 / 0.4946 GB, free: 6.281 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1077, allocations: 156.6 kB / 0.4947 GB, free: 6.086 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1077, allocations: 4 kB / 0.4947 GB, free: 6.082 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.1078, allocations: 4 kB / 0.4947 GB, free: 6.078 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1078, allocations: 4 kB / 0.4947 GB, free: 6.074 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1078, allocations: 0 / 0.4947 GB, free: 6.074 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1078, allocations: 7.984 kB / 0.4947 GB, free: 6.066 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1078, allocations: 0 / 0.4947 GB, free: 6.066 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.1081, allocations: 259.6 kB / 0.495 GB, free: 5.781 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.1081, allocations: 11.94 kB / 0.495 GB, free: 5.77 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.1081, allocations: 4 kB / 0.495 GB, free: 5.766 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.1082, allocations: 4 kB / 0.495 GB, free: 5.762 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1082, allocations: 11.94 kB / 0.495 GB, free: 5.75 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1082, allocations: 0 / 0.495 GB, free: 5.75 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001027/0.1083, allocations: 105.9 kB / 0.4951 GB, free: 5.648 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.1083, allocations: 0 / 0.4951 GB, free: 5.648 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0002798/0.1086, allocations: 31.92 kB / 0.4952 GB, free: 5.617 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 6 (synchronizeRealtime.initialized,assignClock1.u,assignClock1.y,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt)
 * Number of discrete states: 1 (synchronizeRealtime.initialized)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007367/0.1093, allocations: 300.8 kB / 0.4954 GB, free: 5.391 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002404/0.1096, allocations: 162.7 kB / 0.4956 GB, free: 5.207 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1096, allocations: 0 / 0.4956 GB, free: 5.207 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.1097, allocations: 122.8 kB / 0.4957 GB, free: 5.062 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1099, allocations: 27.95 kB / 0.4957 GB, free: 5.035 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.1103, allocations: 191.3 kB / 0.4959 GB, free: 4.82 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1106, allocations: 0.7001 MB / 0.4966 GB, free: 4.094 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 4.508e-05/0.1106, allocations: 8.656 kB / 0.4966 GB, free: 4.086 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.1107, allocations: 19.44 kB / 0.4966 GB, free: 4.066 MB / 366.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.1107, allocations: 0 / 0.4966 GB, free: 4.066 MB / 366.1 MB
Notification: Performance of Templates: time 0.00471/0.1154, allocations: 1.688 MB / 0.4983 GB, free: 2.391 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.makefile [Timeout 660]
(rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey  -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 9.32206351030618]
Failed to read output from testmodel.py, exit status != 0:
0.12220408860594034 0.13617956 0.029534745
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0011b497b0>