Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.conf.json 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.001434/0.001434, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001909/0.001909, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.939/1.939, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.06429/0.06429, allocations: 12.2 MB / 324.6 MB, free: 7.07 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007786/0.0007786, allocations: 32.66 kB / 384.1 MB, free: 47.49 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.544/2.544, allocations: 353.9 MB / 0.7787 GB, free: 1.633 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003835/0.003835, allocations: 117.2 kB / 1.06 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3081, allocations: 134.9 MB / 1.192 GB, free: 5.738 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002802/0.3109, allocations: 1.021 MB / 1.193 GB, free: 4.723 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.313, allocations: 1.133 MB / 1.194 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.3132, allocations: 4 kB / 1.194 GB, free: 3.574 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.3134, allocations: 19.69 kB / 1.194 GB, free: 3.555 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.3136, allocations: 39.59 kB / 1.194 GB, free: 3.516 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.3143, allocations: 155.2 kB / 1.195 GB, free: 3.367 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.3148, allocations: 327.1 kB / 1.195 GB, free: 3.047 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.315, allocations: 32.52 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005065/0.3155, allocations: 143.6 kB / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.3158, allocations: 135.3 kB / 1.195 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/0.3159, allocations: 28 kB / 1.195 GB, free: 2.711 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.316, allocations: 32 kB / 1.195 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 9.527e-05/0.3161, allocations: 83.78 kB / 1.195 GB, free: 2.598 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3163, allocations: 111.5 kB / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3168, allocations: 326.7 kB / 1.196 GB, free: 2.168 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3168, allocations: 0 / 1.196 GB, free: 2.168 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3168, allocations: 0 / 1.196 GB, free: 2.168 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.3169, allocations: 0 / 1.196 GB, free: 2.168 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001571/0.3184, allocations: 0.556 MB / 1.196 GB, free: 1.582 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3185, allocations: 15.92 kB / 1.196 GB, free: 1.566 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004546/0.3189, allocations: 60.72 kB / 1.196 GB, free: 1.508 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3191, allocations: 147 kB / 1.196 GB, free: 1.336 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.3197, allocations: 495.6 kB / 1.197 GB, free: 0.7422 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.3198, allocations: 32.38 kB / 1.197 GB, free: 0.7109 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.3204, allocations: 262.3 kB / 1.197 GB, free: 452 kB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.3204, allocations: 3.938 kB / 1.197 GB, free: 448 kB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.3205, allocations: 11.98 kB / 1.197 GB, free: 436 kB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3205, allocations: 4 kB / 1.197 GB, free: 432 kB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.321, allocations: 179.8 kB / 1.197 GB, free: 252 kB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3223, allocations: 0.6564 MB / 1.198 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.3229, allocations: 207.6 kB / 1.198 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.3232, allocations: 122.5 kB / 1.198 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.3233, allocations: 11.98 kB / 1.198 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.324, allocations: 315.1 kB / 1.199 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.324, allocations: 0 / 1.199 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.001169/0.3251, allocations: 487.4 kB / 1.199 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.3252, allocations: 114.8 kB / 1.199 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3254, allocations: 179.5 kB / 1.199 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.3255, allocations: 45.69 kB / 1.199 GB, free: 14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.3256, allocations: 117.3 kB / 1.2 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.3257, allocations: 166.6 kB / 1.2 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.3259, allocations: 106.3 kB / 1.2 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3261, allocations: 338.8 kB / 1.2 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.3265, allocations: 153.2 kB / 1.2 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.327, allocations: 248.8 kB / 1.201 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/0.3278, allocations: 398 kB / 1.201 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3278, allocations: 0 / 1.201 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009757/0.3288, allocations: 485.7 kB / 1.201 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.3288, allocations: 8 kB / 1.201 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3288, allocations: 80 / 1.201 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.3288, allocations: 11.94 kB / 1.201 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.3292, allocations: 91.83 kB / 1.201 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.3293, allocations: 15.97 kB / 1.202 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.3296, allocations: 59.75 kB / 1.202 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.3296, allocations: 20 kB / 1.202 GB, free: 11.72 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.mode,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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 0.0002059/0.3298, allocations: 156.3 kB / 1.202 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.3299, allocations: 35.8 kB / 1.202 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.33, allocations: 33.91 kB / 1.202 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.33, allocations: 4 kB / 1.202 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.33, allocations: 0 / 1.202 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.33, allocations: 7.984 kB / 1.202 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.3304, allocations: 233.2 kB / 1.202 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.3304, allocations: 11.94 kB / 1.202 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.3308, allocations: 71.89 kB / 1.202 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/0.3308, allocations: 4 kB / 1.202 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.3309, allocations: 8 kB / 1.202 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.3309, allocations: 15.81 kB / 1.202 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3309, allocations: 0 / 1.202 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.3321, allocations: 0.5784 MB / 1.203 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.3321, allocations: 35.83 kB / 1.203 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.3322, allocations: 15.98 kB / 1.203 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3324, allocations: 31.91 kB / 1.203 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.3326, allocations: 63.94 kB / 1.203 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.3326, allocations: 15.98 kB / 1.203 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001159/0.3328, allocations: 124.1 kB / 1.203 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3328, allocations: 0 / 1.203 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003799/0.3331, allocations: 76 kB / 1.203 GB, free: 10.15 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002086/0.3334, allocations: 125.1 kB / 1.203 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008789/0.3342, allocations: 359.9 kB / 1.204 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3342, allocations: 0 / 1.204 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.3347, allocations: 187.7 kB / 1.204 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.335, allocations: 47.97 kB / 1.204 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3364, allocations: 0.6231 MB / 1.204 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3367, allocations: 160.2 kB / 1.204 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.3368, allocations: 34.97 kB / 1.205 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.337, allocations: 39.42 kB / 1.205 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of SimCode: time 1.012e-06/0.337, allocations: 0 / 1.205 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.01054/0.3475, allocations: 4.216 MB / 1.209 GB, free: 4.398 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.049369562417269] Failed to read output from testmodel.py, exit status != 0: 0.3590916506946087 0.374550564 0.054363486 Calling exit ...