Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Keyboard.KeyboardInputs_Dymola.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.01465/0.01465, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006081/0.02073, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0002187/0.0002187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005966/0.0008153, allocations: 0 / 0, free: 0 / 0 " [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.000195/0.000195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005032/0.0006982, allocations: 0 / 0, free: 0 / 0 " [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 0.1083/0.1083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.06789/0.1762, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.006132/0.006132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.002237/0.008369, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: simulate(DroneLibrary.Visualize.Inputs.Keyboard.KeyboardInputs_Dymola,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Visualize.Inputs.Keyboard.KeyboardInputs_Dymola",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(DroneLibrary.Visualize.Inputs.Keyboard.KeyboardInputs_Dymola,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Visualize.Inputs.Keyboard.KeyboardInputs_Dymola",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.41e-07/7.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.085e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Keyboard.KeyboardInputs_Dymola): time 0.004881/0.004901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001819/0.006721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.006933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.007222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.002297/0.009519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.01004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0004876/0.01053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.01082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.0113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.0115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.01155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.01226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.01239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000123/0.01251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.01333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.046e-05/0.0134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.424e-06/0.01341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.493e-05/0.01342, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001268/0.01469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001079/0.0148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.01493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.01542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.01551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.01558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.01608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.0161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.01614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.01615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.01637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.01774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.01819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.01831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.01859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=51): time 4.93e-06/0.01859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=51): time 0.0003959/0.01899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.01903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.01928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.01933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.01957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.01972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 5.208e-05/0.01977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.01987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.02006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.02043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.02044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=87) (initialization): time 0.0005136/0.02095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.02098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.02103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.02132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.02135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.02153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.02157, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 3 variables: y.firstOrder.y:VARIABLE(flow=false start = y.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real x.firstOrder.y:VARIABLE(flow=false start = x.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real z.firstOrder.y:VARIABLE(flow=false start = z.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,$whenCondition5,keyboardKeyInput.additionalKeyStateInt,$PRE.keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput.keyStateInt,$PRE.keyboardKeyInput.keyStateInt,keyboardKeyInput.keyState,keyboardKeyInput1.additionalKeyStateInt,$PRE.keyboardKeyInput1.additionalKeyStateInt,keyboardKeyInput1.keyStateInt,$PRE.keyboardKeyInput1.keyStateInt,keyboardKeyInput1.keyState,$whenCondition4,$whenCondition3,keyboardKeyInput2.additionalKeyStateInt,$PRE.keyboardKeyInput2.additionalKeyStateInt,keyboardKeyInput2.keyStateInt,$PRE.keyboardKeyInput2.keyStateInt,keyboardKeyInput2.keyState,keyboardKeyInput3.additionalKeyStateInt,$PRE.keyboardKeyInput3.additionalKeyStateInt,keyboardKeyInput3.keyStateInt,$PRE.keyboardKeyInput3.keyStateInt,keyboardKeyInput3.keyState,$whenCondition2,$whenCondition1,keyboardKeyInput4.additionalKeyStateInt,$PRE.keyboardKeyInput4.additionalKeyStateInt,keyboardKeyInput4.keyStateInt,$PRE.keyboardKeyInput4.keyStateInt,keyboardKeyInput4.keyState,keyboardKeyInput5.additionalKeyStateInt,$PRE.keyboardKeyInput5.additionalKeyStateInt,keyboardKeyInput5.keyStateInt,$PRE.keyboardKeyInput5.keyStateInt,keyboardKeyInput5.keyState,y.integrator.local_reset,y.integrator1.local_reset,x.integrator.local_reset,x.integrator1.local_reset,z.integrator.local_reset,z.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002466/0.02182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.02189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.02201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.02202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.02203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.02204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.02241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.02242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.0226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.02268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.02268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.02272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.02273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.02273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.02324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.02339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.02349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.0236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.02363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001469/0.02378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.357e-05/0.02379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0007212/0.02451, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 9 (y.integrator.y,y.integrator1.y,y.firstOrder.y,x.integrator.y,x.integrator1.y,x.firstOrder.y,z.integrator.y,z.integrator1.y,z.firstOrder.y) * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,keyboardKeyInput.keyState,keyboardKeyInput.keyStateInt,keyboardKeyInput.additionalKeyStateInt,keyboardKeyInput1.keyState,keyboardKeyInput1.keyStateInt,keyboardKeyInput1.additionalKeyStateInt,$whenCondition4,$whenCondition3,keyboardKeyInput2.keyState,keyboardKeyInput2.keyStateInt,keyboardKeyInput2.additionalKeyStateInt,keyboardKeyInput3.keyState,keyboardKeyInput3.keyStateInt,keyboardKeyInput3.additionalKeyStateInt,$whenCondition2,$whenCondition1,keyboardKeyInput4.keyState,keyboardKeyInput4.keyStateInt,keyboardKeyInput4.additionalKeyStateInt,keyboardKeyInput5.keyState,keyboardKeyInput5.keyStateInt,keyboardKeyInput5.additionalKeyStateInt) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 12 * 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.0009331/0.02545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004347/0.02588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.941e-05/0.0259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000188/0.02609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.02649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.02797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.0281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002007/0.0283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.02854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.488e-05/0.0286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004203/0.0328, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 104.81459367647767]