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.05335/0.05335, allocations: 9.136 MB / 28.99 MB, free: 0.8203 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.00101/0.00101, allocations: 102.3 kB / 35.34 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.001212/0.001212, allocations: 164.5 kB / 38.73 MB, free: 2.488 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 1.074/1.074, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004217/0.004217, allocations: 0.8293 MB / 276.5 MB, free: 0.7461 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.771/1.771, 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.393e-06/1.393e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.355e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.MovingAverage): time 0.002891/0.002915, allocations: 1.701 MB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.003799, allocations: 0.5062 MB / 0.6401 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/0.003878, allocations: 3.938 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.003999, allocations: 11.88 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.004057, allocations: 19.84 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.004311, allocations: 55.77 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.004468, allocations: 83.77 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.004555, allocations: 7.984 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004658, allocations: 47.89 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.004731, allocations: 27.84 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.004755, allocations: 8 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.00477, allocations: 8 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.004797, allocations: 19.91 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.004836, allocations: 23.98 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004955, allocations: 51.81 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004957, allocations: 0 / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004958, allocations: 0 / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004961, allocations: 0 / 0.6404 GB, free: 11.48 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.0005041/0.005465, allocations: 318.3 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.005505, allocations: 11.98 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.005544, allocations: 8.922 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.005718, allocations: 145.5 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005729, allocations: 8.375 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.00575, allocations: 4.375 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.005914, allocations: 101.5 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005924, allocations: 192 / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.005933, allocations: 384 / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.005942, allocations: 3.938 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.005983, allocations: 19.92 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.006345, allocations: 348.5 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.006467, allocations: 42.55 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.006489, allocations: 8.859 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.006502, allocations: 3.938 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.00662, allocations: 67.53 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.006622, allocations: 4 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001435/0.006766, allocations: 57.86 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.006802, allocations: 51.41 kB / 0.6416 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.006894, allocations: 138.6 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.006912, allocations: 29.7 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.006965, allocations: 108 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.006983, allocations: 11.84 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.007037, allocations: 33.69 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.007142, allocations: 318.8 kB / 0.6422 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.007185, allocations: 41.7 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.007237, allocations: 69.06 kB / 0.6423 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.995e-05/0.007317, allocations: 73.11 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007319, allocations: 3.938 kB / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.007462, allocations: 140.9 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.007489, allocations: 29.7 kB / 0.6425 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.007496, allocations: 4 kB / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.007512, allocations: 0 / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.007636, allocations: 23.98 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.007643, allocations: 11.92 kB / 0.6426 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.00771, allocations: 11.95 kB / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.007718, allocations: 0 / 0.6426 GB, free: 9.035 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 7.687e-05/0.007795, allocations: 125.9 kB / 0.6427 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.00781, allocations: 7.938 kB / 0.6427 GB, free: 8.895 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.007836, allocations: 12.78 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007838, allocations: 0 / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.00784, allocations: 0 / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.007845, allocations: 3.984 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.172e-05/0.007937, allocations: 81.88 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007938, allocations: 0 / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.008013, allocations: 15.98 kB / 0.6428 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008016, allocations: 3.938 kB / 0.6428 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.008024, allocations: 0 / 0.6428 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008024, allocations: 4 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008026, allocations: 4 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.008144, allocations: 85.05 kB / 0.6429 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.008157, allocations: 15.81 kB / 0.6429 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.008169, allocations: 4 kB / 0.6429 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.171e-05/0.008201, allocations: 8 kB / 0.6429 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.008243, allocations: 11.97 kB / 0.6429 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.008248, allocations: 64 / 0.6429 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.008276, allocations: 28.83 kB / 0.643 GB, free: 8.582 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008276, allocations: 3.938 kB / 0.643 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001046/0.00838, allocations: 16.03 kB / 0.643 GB, free: 8.562 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 7.484e-05/0.008455, allocations: 80.42 kB / 0.6431 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.00857, allocations: 125.9 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.008573, allocations: 0 / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.008603, allocations: 20.8 kB / 0.6432 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.008716, allocations: 23.97 kB / 0.6432 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.009024, allocations: 180.7 kB / 0.6434 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.00906, allocations: 63.34 kB / 0.6435 GB, free: 8 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.009094, allocations: 8.484 kB / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.00916, allocations: 63.38 kB / 0.6435 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of SimCode: time 8.72e-07/0.009161, allocations: 0 / 0.6435 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of Templates: time 0.00296/0.01212, allocations: 1.311 MB / 0.6448 GB, free: 6.621 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.488510149065405]