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.001011/0.001011, allocations: 106.8 kB / 17.13 MB, free: 5.961 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.001031/0.001031, allocations: 195.2 kB / 18.07 MB, free: 5.039 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.288/1.288, allocations: 222.9 MB / 241.8 MB, free: 15.11 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.05823/0.05823, allocations: 12.04 MB / 304 MB, free: 3.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 420.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08438, allocations: 52.32 MB / 473.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestInputKeyboardKey): time 0.003413/0.08783, allocations: 2.25 MB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.08817, allocations: 167.5 kB / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.08826, allocations: 0 / 475.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.0884, allocations: 23.84 kB / 475.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.08857, allocations: 39.81 kB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.08876, allocations: 47.83 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.0889, allocations: 83.75 kB / 475.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.08901, allocations: 24.2 kB / 475.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.08907, allocations: 35.84 kB / 475.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.08912, allocations: 35.8 kB / 475.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.08915, allocations: 8 kB / 475.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.08933, allocations: 135.9 kB / 475.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.08936, allocations: 15.92 kB / 475.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.08941, allocations: 27.81 kB / 475.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.08965, allocations: 147.6 kB / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.08966, allocations: 0 / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08967, allocations: 0 / 476.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.08968, allocations: 0 / 476.1 MB, free: 9.809 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.0004324/0.09011, allocations: 442.6 kB / 476.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.09016, allocations: 12.03 kB / 476.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.09022, allocations: 16.75 kB / 476.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.09045, allocations: 192.2 kB / 476.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.09048, allocations: 8.375 kB / 476.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.0905, allocations: 4.375 kB / 476.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.09081, allocations: 157.5 kB / 476.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.09083, allocations: 192 / 476.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.09085, allocations: 11.94 kB / 476.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.09086, allocations: 0 / 476.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.09095, allocations: 27.98 kB / 476.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.09129, allocations: 301.5 kB / 477.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.09149, allocations: 150.3 kB / 477.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.09158, allocations: 41.72 kB / 477.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.09162, allocations: 7.922 kB / 477.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.09165, allocations: 38.56 kB / 477.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.995e-06/0.09166, allocations: 4 kB / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003195/0.09198, allocations: 165.1 kB / 477.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.09204, allocations: 128.5 kB / 477.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.09215, allocations: 130.1 kB / 477.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.09218, allocations: 33.64 kB / 477.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.09223, allocations: 96.03 kB / 478 MB, free: 7.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.09225, allocations: 7.906 kB / 478 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.0923, allocations: 25.72 kB / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.0924, allocations: 330.9 kB / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.09244, allocations: 15.98 kB / 478.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.352e-05/0.0925, allocations: 46.02 kB / 478.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.09264, allocations: 188.7 kB / 478.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.09265, allocations: 3.938 kB / 478.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002012/0.09286, allocations: 156.9 kB / 478.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.09291, allocations: 59.62 kB / 478.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.09292, allocations: 4 kB / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.09294, allocations: 4 kB / 478.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.09299, allocations: 11.92 kB / 478.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.093, allocations: 4 kB / 478.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.09305, allocations: 11.94 kB / 478.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.09307, allocations: 4 kB / 478.9 MB, free: 6.617 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.0001058/0.09318, allocations: 173.2 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.09323, allocations: 11.89 kB / 479 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.09327, allocations: 16.31 kB / 479.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.09328, allocations: 0 / 479.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09328, allocations: 0 / 479.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.09333, allocations: 85.02 kB / 479.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.09335, allocations: 8 kB / 479.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.09342, allocations: 0 / 479.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.09345, allocations: 19.8 kB / 479.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002786/0.09374, allocations: 406.7 kB / 479.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000277/0.09402, allocations: 409.4 kB / 480 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.237e-05/0.0941, allocations: 27.98 kB / 480 MB, free: 5.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.858e-05/0.09416, allocations: 101.9 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.09417, allocations: 4 kB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009981/0.09517, allocations: 425.8 kB / 480.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004611/0.09564, allocations: 0.7085 MB / 481.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of Templates: time 0.004123/0.09978, allocations: 1.628 MB / 482.9 MB, free: 2.5 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)