Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.MovingAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06296/0.06296, allocations: 9.127 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/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. " [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.001245/0.001245, allocations: 87.28 kB / 35.32 MB, free: 1.074 MB / 24.77 MB " [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.001178/0.001178, allocations: 164.5 kB / 38.73 MB, free: 2.508 MB / 24.77 MB " [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.977/0.977, allocations: 177.1 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004202/0.004202, allocations: 0.8221 MB / 276.5 MB, free: 0.7148 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.585/1.585, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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: translateModel(AixLib.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.MovingAverage") translateModel(AixLib.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Algorithm = \"CVode\" Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.995e-05/8.105e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.MovingAverage): time 0.001839/0.00192, allocations: 1.658 MB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.002809, allocations: 0.5062 MB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.002869, allocations: 0 / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.00297, allocations: 15.86 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.003014, allocations: 11.88 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.003208, allocations: 51.81 kB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003321, allocations: 95.69 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.003386, allocations: 8 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.003459, allocations: 39.91 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.003512, allocations: 31.89 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.00353, allocations: 8 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.00354, allocations: 8 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.00356, allocations: 7.984 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.003588, allocations: 27.91 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.988e-05/0.003678, allocations: 55.75 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00368, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00368, allocations: 4 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.003683, allocations: 4 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004099/0.004093, allocations: 310.4 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.711e-05/0.00412, allocations: 11.98 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.004152, allocations: 12.92 kB / 0.6407 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004281, allocations: 137.6 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.004292, allocations: 8.312 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.004309, allocations: 4.375 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.004433, allocations: 113.4 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.004441, allocations: 192 / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004448, allocations: 384 / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.004454, allocations: 7.938 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.004485, allocations: 15.92 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.00474, allocations: 340.6 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.004832, allocations: 42.58 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.578e-05/0.004848, allocations: 8.859 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.004859, allocations: 11.94 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.065e-05/0.00495, allocations: 67.48 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.004951, allocations: 0 / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.000101/0.005052, allocations: 57.62 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.005081, allocations: 55.41 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.005144, allocations: 134.5 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.005157, allocations: 29.7 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.005197, allocations: 104 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.005211, allocations: 23.81 kB / 0.6418 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.005242, allocations: 21.72 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.005311, allocations: 326.8 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.005338, allocations: 33.7 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.578e-05/0.005374, allocations: 73.05 kB / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.00543, allocations: 77.03 kB / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005432, allocations: 4 kB / 0.6423 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.382e-05/0.005526, allocations: 132.9 kB / 0.6424 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.005551, allocations: 37.69 kB / 0.6424 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.005554, allocations: 8.344 kB / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.005565, allocations: 0 / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.005622, allocations: 23.98 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.005625, allocations: 0 / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.005671, allocations: 11.95 kB / 0.6425 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.005679, allocations: 7.984 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (movingAverage.uInt.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 5.523e-05/0.005734, allocations: 121.8 kB / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.005744, allocations: 7.938 kB / 0.6426 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.005766, allocations: 16.77 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005768, allocations: 4 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.00577, allocations: 0 / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.005773, allocations: 0 / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.186e-05/0.005845, allocations: 81.88 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.005846, allocations: 0 / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.005881, allocations: 8 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005884, allocations: 3.984 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.005892, allocations: 3.938 kB / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005892, allocations: 4 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005893, allocations: 0 / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.005989, allocations: 85.09 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-06/0.005999, allocations: 15.92 kB / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.006012, allocations: 11.86 kB / 0.6428 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.006042, allocations: 8 kB / 0.6428 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.006077, allocations: 11.97 kB / 0.6429 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.006081, allocations: 0 / 0.6429 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.006098, allocations: 24.84 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006099, allocations: 0 / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001069/0.006205, allocations: 16 kB / 0.6429 GB, free: 8.664 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (movingAverage.uInt.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.501e-05/0.00627, allocations: 76.42 kB / 0.643 GB, free: 8.582 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.006373, allocations: 129.9 kB / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.006375, allocations: 0 / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.006404, allocations: 24.86 kB / 0.6431 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.318e-05/0.006497, allocations: 28.05 kB / 0.6431 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.006741, allocations: 176.6 kB / 0.6433 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.581e-05/0.006767, allocations: 63.47 kB / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.0068, allocations: 8.5 kB / 0.6434 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.00686, allocations: 71.34 kB / 0.6434 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of SimCode: time 3.5e-07/0.00686, allocations: 0 / 0.6434 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of Templates: time 0.002454/0.009314, allocations: 1.25 MB / 0.6447 GB, free: 6.773 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.MovingAverage.sim & ./AixLib_AixLib.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3862068499438465]