Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Average.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.04196/0.04196, allocations: 9.132 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.00126/0.00126, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001277/0.001277, allocations: 163.8 kB / 38.73 MB, free: 2.516 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.011/1.011, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.005973/0.005973, allocations: 0.8261 MB / 276.5 MB, free: 0.7422 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.609/1.609, 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Average") translateModel(AixLib.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.135e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Average): time 0.002579/0.0026, allocations: 1.592 MB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003575/0.002958, allocations: 127.5 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.003005, allocations: 0 / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003128, allocations: 11.88 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.00316, allocations: 11.86 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.003407, allocations: 27.95 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.003505, allocations: 59.84 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.003593, allocations: 11.98 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.003668, allocations: 43.83 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.255e-05/0.00373, allocations: 19.97 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.003751, allocations: 4 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.397e-05/0.003815, allocations: 15.94 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.003858, allocations: 15.92 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.003885, allocations: 15.97 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.004004, allocations: 51.83 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004007, allocations: 0 / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004007, allocations: 0 / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.004011, allocations: 7.938 kB / 0.6398 GB, free: 12.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003428/0.004354, allocations: 260.8 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.004388, allocations: 15.98 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.004421, allocations: 8.922 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.004554, allocations: 129.5 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.004566, allocations: 8.359 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.004578, allocations: 4.375 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.00473, allocations: 69.77 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.004737, allocations: 192 / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004746, allocations: 8.375 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004752, allocations: 384 / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.703e-05/0.004789, allocations: 15.92 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.005083, allocations: 193.8 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.005145, allocations: 22.67 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.005165, allocations: 12.8 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.005194, allocations: 4 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.005217, allocations: 34.5 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 3.026e-06/0.00522, allocations: 4 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001248/0.005344, allocations: 45.77 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.005376, allocations: 51.41 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.005439, allocations: 118.6 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.00545, allocations: 29.7 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.005487, allocations: 92.08 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.005507, allocations: 15.88 kB / 0.6409 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.005537, allocations: 13.72 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.005621, allocations: 318.8 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.005638, allocations: 7.984 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.005651, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.005683, allocations: 19.97 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005684, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.406e-05/0.005758, allocations: 45.67 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.005776, allocations: 15.92 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00578, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.005793, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.005866, allocations: 11.94 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005868, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.005899, allocations: 7.984 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.005916, allocations: 3.984 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 6.199e-05/0.005978, allocations: 116.7 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.006001, allocations: 3.938 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.283e-05/0.006093, allocations: 53.67 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006095, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.006097, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.0061, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.006218, allocations: 77.88 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.006219, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.006264, allocations: 11.98 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006266, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.006272, allocations: 8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.006277, allocations: 7.875 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006278, allocations: 0 / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.006378, allocations: 139.5 kB / 0.6417 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.006388, allocations: 7.938 kB / 0.6418 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.0064, allocations: 4 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.944e-05/0.00646, allocations: 7.938 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.00649, allocations: 3.984 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.006499, allocations: 4 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.978e-05/0.006519, allocations: 20.83 kB / 0.6418 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.006519, allocations: 0 / 0.6418 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002078/0.006727, allocations: 16 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001239/0.006851, allocations: 76.36 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.006935, allocations: 67.52 kB / 0.6419 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.006939, allocations: 4 kB / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.00696, allocations: 8.859 kB / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.007147, allocations: 8 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.007444, allocations: 158.1 kB / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.007482, allocations: 63.34 kB / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.007507, allocations: 0 / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.007569, allocations: 63.36 kB / 0.6422 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of SimCode: time 8.71e-07/0.00757, allocations: 0 / 0.6422 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of Templates: time 0.002764/0.01033, allocations: 0.7834 MB / 0.643 GB, free: 8.559 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.Average.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Average.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Average.sim & ./AixLib_AixLib.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.277639637235552]