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.001722/0.001722, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002144/0.002144, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.98 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.06446/0.06446, allocations: 12.19 MB / 324.6 MB, free: 7.266 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.0008418/0.0008418, allocations: 31.44 kB / 384.1 MB, free: 46.59 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.531/2.531, allocations: 353.8 MB / 0.7787 GB, free: 1.023 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.003621/0.003621, allocations: 124.1 kB / 1.061 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.295, allocations: 134.9 MB / 1.192 GB, free: 6.168 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002385/0.2974, allocations: 1.107 MB / 1.193 GB, free: 5.059 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.299, allocations: 1.153 MB / 1.195 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.2991, allocations: 0 / 1.195 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/0.2992, allocations: 23.67 kB / 1.195 GB, free: 3.871 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2993, allocations: 39.58 kB / 1.195 GB, free: 3.832 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.2998, allocations: 154 kB / 1.195 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.3002, allocations: 319.1 kB / 1.195 GB, free: 3.371 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3003, allocations: 40.58 kB / 1.195 GB, free: 3.328 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3006, allocations: 143.6 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3008, allocations: 155.3 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.3009, allocations: 28 kB / 1.195 GB, free: 3.008 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.3009, allocations: 32 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.301, allocations: 79.78 kB / 1.195 GB, free: 2.898 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3012, allocations: 131.4 kB / 1.196 GB, free: 2.77 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.3015, allocations: 314.8 kB / 1.196 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3015, allocations: 3.938 kB / 1.196 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3015, allocations: 3.984 kB / 1.196 GB, free: 2.453 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3015, allocations: 4 kB / 1.196 GB, free: 2.449 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.001297/0.3028, allocations: 0.5598 MB / 1.196 GB, free: 1.859 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3029, allocations: 11.98 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.3032, allocations: 60.72 kB / 1.197 GB, free: 1.789 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3034, allocations: 139 kB / 1.197 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.3038, allocations: 0.4918 MB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.321e-05/0.3038, allocations: 28.38 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.3044, allocations: 262.3 kB / 1.197 GB, free: 0.7266 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3044, allocations: 11.88 kB / 1.197 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.3044, allocations: 7.984 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3044, allocations: 8 kB / 1.197 GB, free: 0.6992 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.3049, allocations: 171.8 kB / 1.198 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3061, allocations: 0.7455 MB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.3066, allocations: 217.3 kB / 1.199 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.3069, allocations: 122.5 kB / 1.199 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.3069, allocations: 7.984 kB / 1.199 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006106/0.3075, allocations: 307.7 kB / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.3075, allocations: 0 / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.001083/0.3086, allocations: 493.3 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.3087, allocations: 114.8 kB / 1.2 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3089, allocations: 179.5 kB / 1.2 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.3089, allocations: 37.7 kB / 1.2 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.309, allocations: 125.3 kB / 1.2 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.3091, allocations: 158.7 kB / 1.2 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3093, allocations: 102.3 kB / 1.2 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3095, allocations: 338.8 kB / 1.2 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.3098, allocations: 153.2 kB / 1.201 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.3102, allocations: 260.6 kB / 1.201 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.3109, allocations: 398 kB / 1.201 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3109, allocations: 0 / 1.201 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008911/0.3118, allocations: 493.6 kB / 1.202 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3118, allocations: 17.12 kB / 1.202 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3118, allocations: 0 / 1.202 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3119, allocations: 8 kB / 1.202 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3123, allocations: 91.83 kB / 1.202 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3123, allocations: 8 kB / 1.202 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3125, allocations: 55.73 kB / 1.202 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3126, allocations: 20 kB / 1.202 GB, free: 11.91 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.0001819/0.3127, allocations: 159.5 kB / 1.202 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.3128, allocations: 35.75 kB / 1.202 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.3129, allocations: 33.95 kB / 1.202 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3129, allocations: 4 kB / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3129, allocations: 0 / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3129, allocations: 4 kB / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.3133, allocations: 324.4 kB / 1.202 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3133, allocations: 4 kB / 1.202 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.3137, allocations: 83.89 kB / 1.203 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3137, allocations: 3.938 kB / 1.203 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.3137, allocations: 15.98 kB / 1.203 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.3137, allocations: 3.938 kB / 1.203 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3137, allocations: 3.938 kB / 1.203 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3149, allocations: 0.5786 MB / 1.203 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.3149, allocations: 31.75 kB / 1.203 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.315, allocations: 11.94 kB / 1.203 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.3152, allocations: 31.95 kB / 1.203 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3153, allocations: 51.92 kB / 1.203 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.3154, allocations: 23.98 kB / 1.203 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001027/0.3155, allocations: 124.1 kB / 1.203 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3155, allocations: 0 / 1.203 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003366/0.3158, allocations: 83.98 kB / 1.203 GB, free: 10.23 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.0001544/0.316, allocations: 117.1 kB / 1.204 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007732/0.3167, allocations: 361.2 kB / 1.204 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3167, allocations: 4 kB / 1.204 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.3171, allocations: 187.7 kB / 1.204 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3175, allocations: 43.91 kB / 1.204 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.3187, allocations: 0.6183 MB / 1.205 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3191, allocations: 0.7686 MB / 1.205 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.3192, allocations: 43.23 kB / 1.206 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3194, allocations: 39.42 kB / 1.206 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3194, allocations: 0 / 1.206 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of Templates: time 0.008812/0.3282, allocations: 4.137 MB / 1.21 GB, free: 3.898 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: 8.499811835587025] Failed to read output from testmodel.py, exit status != 0: 0.33691148832440376 0.351812404 0.047063945 Calling exit ...