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.001059/0.001059, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.00154/0.00154, allocations: 213 kB / 23 MB, free: 2.98 MB / 13.93 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.999/0.999, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] 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.03647/0.03647, allocations: 12.19 MB / 325.4 MB, free: 6.086 MB / 250.7 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.0005513/0.0005513, allocations: 31.94 kB / 384.8 MB, free: 10.52 MB / 314.7 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 1.725/1.725, allocations: 353.8 MB / 0.7794 GB, free: 4.539 MB / 0.5105 GB " [Timeout remaining time 178] 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.001459/0.001459, allocations: 124.6 kB / 1.061 GB, free: 24.48 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2729, allocations: 134.9 MB / 1.193 GB, free: 6.93 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002456/0.2753, allocations: 1.018 MB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2764, allocations: 1.129 MB / 1.195 GB, free: 4.77 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.2765, allocations: 4 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.2765, allocations: 19.73 kB / 1.195 GB, free: 4.746 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.2766, allocations: 47.45 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.2771, allocations: 163.7 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2773, allocations: 315.2 kB / 1.196 GB, free: 4.23 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.2775, allocations: 32.58 kB / 1.196 GB, free: 4.195 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.2777, allocations: 147.5 kB / 1.196 GB, free: 4.051 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2778, allocations: 131.5 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.2779, allocations: 28 kB / 1.196 GB, free: 3.895 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/0.2779, allocations: 35.94 kB / 1.196 GB, free: 3.859 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.278, allocations: 83.72 kB / 1.196 GB, free: 3.777 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.2781, allocations: 115.5 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2783, allocations: 318.8 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.2784, allocations: 3.984 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2784, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2784, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 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.0008596/0.2792, allocations: 0.552 MB / 1.197 GB, free: 2.766 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2793, allocations: 12.03 kB / 1.197 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.2795, allocations: 56.72 kB / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2796, allocations: 147 kB / 1.197 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.2798, allocations: 0.4918 MB / 1.198 GB, free: 1.926 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.2799, allocations: 24.38 kB / 1.198 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.2802, allocations: 262.3 kB / 1.198 GB, free: 1.633 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2802, allocations: 7.938 kB / 1.198 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.2803, allocations: 11.98 kB / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.2803, allocations: 4 kB / 1.198 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.2805, allocations: 179.7 kB / 1.198 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.2813, allocations: 0.6526 MB / 1.199 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2816, allocations: 195.7 kB / 1.199 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2818, allocations: 126.7 kB / 1.199 GB, free: 400 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.2818, allocations: 19.92 kB / 1.199 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.2822, allocations: 307.1 kB / 1.199 GB, free: 52 kB / 0.823 GB Notification: Performance of pre-optimization done (n=48): time 1.754e-06/0.2822, allocations: 4 kB / 1.199 GB, free: 48 kB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.0006847/0.2829, allocations: 495.8 kB / 1.2 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.2829, allocations: 114.8 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2831, allocations: 179.5 kB / 1.2 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2831, allocations: 37.7 kB / 1.2 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.2834, allocations: 121.3 kB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.2834, allocations: 154.8 kB / 1.2 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.2835, allocations: 106.3 kB / 1.201 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2836, allocations: 342.8 kB / 1.201 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2838, allocations: 149.2 kB / 1.201 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2841, allocations: 248.8 kB / 1.201 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.2844, allocations: 402 kB / 1.202 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2845, allocations: 0 / 1.202 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005198/0.285, allocations: 493.3 kB / 1.202 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.285, allocations: 8 kB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.285, allocations: 4 kB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.285, allocations: 8.031 kB / 1.202 GB, free: 13.1 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.2852, allocations: 95.83 kB / 1.202 GB, free: 13 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2852, allocations: 11.88 kB / 1.202 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2854, allocations: 63.66 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.2854, allocations: 24 kB / 1.202 GB, free: 12.91 MB / 0.8387 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.0001285/0.2855, allocations: 159.5 kB / 1.202 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2855, allocations: 27.81 kB / 1.202 GB, free: 12.71 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.2856, allocations: 37.89 kB / 1.203 GB, free: 12.67 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2856, allocations: 4 kB / 1.203 GB, free: 12.67 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2856, allocations: 4 kB / 1.203 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2856, allocations: 3.984 kB / 1.203 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.2858, allocations: 229.1 kB / 1.203 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2858, allocations: 4 kB / 1.203 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.286, allocations: 79.89 kB / 1.203 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.286, allocations: 0 / 1.203 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.286, allocations: 8 kB / 1.203 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.286, allocations: 7.938 kB / 1.203 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.286, allocations: 0 / 1.203 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.2867, allocations: 0.5822 MB / 1.203 GB, free: 11.7 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2868, allocations: 31.94 kB / 1.203 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.2868, allocations: 15.98 kB / 1.203 GB, free: 11.65 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.2869, allocations: 35.84 kB / 1.203 GB, free: 11.62 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.287, allocations: 51.86 kB / 1.204 GB, free: 11.57 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.287, allocations: 8 kB / 1.204 GB, free: 11.56 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.594e-05/0.287, allocations: 132.1 kB / 1.204 GB, free: 11.43 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.287, allocations: 0 / 1.204 GB, free: 11.43 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002046/0.2872, allocations: 76 kB / 1.204 GB, free: 11.36 MB / 0.8387 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.0001326/0.2874, allocations: 117.2 kB / 1.204 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004643/0.2878, allocations: 364.1 kB / 1.204 GB, free: 10.88 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2878, allocations: 0 / 1.204 GB, free: 10.88 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.2881, allocations: 174 kB / 1.204 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2883, allocations: 48.16 kB / 1.204 GB, free: 10.67 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.2891, allocations: 0.655 MB / 1.205 GB, free: 9.977 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.441e-05/0.2892, allocations: 156.2 kB / 1.205 GB, free: 9.805 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.2893, allocations: 39.42 kB / 1.205 GB, free: 9.766 MB / 0.8387 GB Notification: Performance of SimCode: time 7.82e-07/0.2893, allocations: 0 / 1.205 GB, free: 9.766 MB / 0.8387 GB Notification: Performance of Templates: time 0.00459/0.2939, allocations: 4.076 MB / 1.209 GB, free: 5.711 MB / 0.8387 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.044526502490044] Failed to read output from testmodel.py, exit status != 0: 0.29933449253439903 0.308279346 0.028239279000000003 Calling exit ...