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.001256/0.001256, allocations: 106.1 kB / 17.13 MB, free: 5.914 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.001224/0.001224, allocations: 198.1 kB / 18.07 MB, free: 5 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.263/1.263, allocations: 222.9 MB / 241.8 MB, free: 15.15 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.05657/0.05657, allocations: 12.04 MB / 304 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 420.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 52.31 MB / 473.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.004694/0.1086, allocations: 2.247 MB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004584/0.1091, allocations: 171.5 kB / 475.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.1091, allocations: 3.938 kB / 475.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1093, allocations: 19.88 kB / 475.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1095, allocations: 43.81 kB / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1098, allocations: 55.86 kB / 475.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.11, allocations: 71.78 kB / 475.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1101, allocations: 32.19 kB / 475.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.1102, allocations: 27.86 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.1103, allocations: 39.83 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.1103, allocations: 4 kB / 475.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.1106, allocations: 131.8 kB / 475.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.1106, allocations: 15.92 kB / 475.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.1107, allocations: 39.72 kB / 475.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.111, allocations: 139.6 kB / 476.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.111, allocations: 3.984 kB / 476.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.111, allocations: 4 kB / 476.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.111, allocations: 0 / 476.1 MB, free: 9.789 MB / 350.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.000555/0.1116, allocations: 438.6 kB / 476.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1117, allocations: 12.03 kB / 476.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.1117, allocations: 12.75 kB / 476.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.112, allocations: 203.4 kB / 476.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1121, allocations: 8.375 kB / 476.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1121, allocations: 4.375 kB / 476.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1125, allocations: 145.6 kB / 476.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1125, allocations: 4.188 kB / 476.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.1126, allocations: 15.88 kB / 476.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1126, allocations: 0 / 476.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1127, allocations: 27.98 kB / 476.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1132, allocations: 301.6 kB / 477.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1134, allocations: 154.2 kB / 477.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.1136, allocations: 33.78 kB / 477.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1136, allocations: 11.94 kB / 477.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1136, allocations: 34.56 kB / 477.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.1136, allocations: 0 / 477.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004619/0.1141, allocations: 164.9 kB / 477.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.1142, allocations: 132.5 kB / 477.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1144, allocations: 137.6 kB / 477.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1144, allocations: 29.64 kB / 477.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.1145, allocations: 104.1 kB / 478 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1145, allocations: 3.906 kB / 478 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.1146, allocations: 33.7 kB / 478.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1147, allocations: 314.8 kB / 478.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.1148, allocations: 15.98 kB / 478.4 MB, free: 7.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1149, allocations: 65.94 kB / 478.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1151, allocations: 172.7 kB / 478.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1152, allocations: 7.938 kB / 478.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002956/0.1155, allocations: 156.9 kB / 478.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.1155, allocations: 63.39 kB / 478.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1155, allocations: 4 kB / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1156, allocations: 0 / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.1156, allocations: 8 kB / 478.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1156, allocations: 3.938 kB / 478.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.1157, allocations: 7.938 kB / 478.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1157, allocations: 8.219 kB / 478.9 MB, free: 6.605 MB / 350.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 (keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState,assignClock1.y,assignClock1.u,synchronizeRealtime.initialized) * 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.0001458/0.1159, allocations: 181.2 kB / 479 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.116, allocations: 11.91 kB / 479.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.116, allocations: 8.312 kB / 479.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.116, allocations: 0 / 479.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.116, allocations: 4 kB / 479.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.1161, allocations: 81.02 kB / 479.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1161, allocations: 7.984 kB / 479.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.1162, allocations: 4 kB / 479.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1163, allocations: 11.94 kB / 479.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003912/0.1167, allocations: 414.6 kB / 479.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004362/0.1171, allocations: 409.4 kB / 480 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.867e-05/0.1172, allocations: 23.94 kB / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.1173, allocations: 107.2 kB / 480.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.1173, allocations: 4.031 kB / 480.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.1188, allocations: 423.6 kB / 480.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005384/0.1194, allocations: 0.7046 MB / 481.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Templates: time 0.005714/0.1251, allocations: 1.619 MB / 482.8 MB, free: 2.492 MB / 350.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey.makefile (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)