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.001214/0.001214, allocations: 114.4 kB / 19.7 MB, free: 0.5312 MB / 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.0008792/0.0008792, allocations: 211.8 kB / 23 MB, free: 3.129 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.8762/0.8762, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.03814/0.03814, allocations: 12.18 MB / 325.4 MB, free: 3.422 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.000445/0.000445, allocations: 34.25 kB / 384.9 MB, free: 45.77 MB / 298.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.625/1.625, allocations: 353.8 MB / 0.7794 GB, free: 13.07 MB / 0.5262 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.00208/0.00208, allocations: 119.1 kB / 1.061 GB, free: 9.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2179, allocations: 134.9 MB / 1.193 GB, free: 2.543 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00171/0.2196, allocations: 1.109 MB / 1.194 GB, free: 1.434 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.2206, allocations: 1.147 MB / 1.195 GB, free: 280 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.2206, allocations: 4 kB / 1.195 GB, free: 276 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.2207, allocations: 19.69 kB / 1.195 GB, free: 256 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.2208, allocations: 43.52 kB / 1.195 GB, free: 212 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.2211, allocations: 151.4 kB / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.2213, allocations: 335.1 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2215, allocations: 32.58 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.2217, allocations: 135.6 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2218, allocations: 155.4 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.2218, allocations: 32 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.2219, allocations: 32 kB / 1.196 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.2219, allocations: 83.72 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.222, allocations: 131.4 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2222, allocations: 322.7 kB / 1.197 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2223, allocations: 0 / 1.197 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2223, allocations: 0 / 1.197 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2223, allocations: 0 / 1.197 GB, free: 14.82 MB / 0.8387 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.0007961/0.2231, allocations: 0.552 MB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2231, allocations: 15.98 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.2233, allocations: 64.7 kB / 1.197 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.2234, allocations: 143 kB / 1.197 GB, free: 14 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.2236, allocations: 495.6 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.2236, allocations: 32.36 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.2239, allocations: 270.2 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2239, allocations: 3.938 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.224, allocations: 12 kB / 1.198 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.224, allocations: 4 kB / 1.198 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.2242, allocations: 171.8 kB / 1.198 GB, free: 12.91 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.2249, allocations: 0.7495 MB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.2253, allocations: 203.7 kB / 1.199 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2254, allocations: 126.5 kB / 1.199 GB, free: 11.75 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.2255, allocations: 11.97 kB / 1.199 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.2258, allocations: 311.7 kB / 1.2 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.2258, allocations: 3.938 kB / 1.2 GB, free: 11.41 MB / 0.8387 GB Notification: Performance of matching and sorting (n=48): time 0.0006071/0.2264, allocations: 490.2 kB / 1.2 GB, free: 10.93 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.2265, allocations: 114.8 kB / 1.2 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2266, allocations: 179.5 kB / 1.2 GB, free: 10.6 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2266, allocations: 41.7 kB / 1.2 GB, free: 10.55 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.2267, allocations: 125.3 kB / 1.201 GB, free: 10.43 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.2268, allocations: 150.8 kB / 1.201 GB, free: 10.28 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.2268, allocations: 106.3 kB / 1.201 GB, free: 10.17 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.2269, allocations: 338.8 kB / 1.201 GB, free: 9.828 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2271, allocations: 149.2 kB / 1.201 GB, free: 9.684 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.2273, allocations: 260.7 kB / 1.202 GB, free: 9.391 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.2277, allocations: 390.1 kB / 1.202 GB, free: 8.973 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2277, allocations: 3.938 kB / 1.202 GB, free: 8.969 MB / 0.8387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004935/0.2282, allocations: 489 kB / 1.202 GB, free: 8.484 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2282, allocations: 11.94 kB / 1.202 GB, free: 8.473 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2282, allocations: 4 kB / 1.202 GB, free: 8.469 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2282, allocations: 8 kB / 1.202 GB, free: 8.461 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2284, allocations: 99.81 kB / 1.203 GB, free: 8.363 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2284, allocations: 4 kB / 1.203 GB, free: 8.359 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2286, allocations: 59.69 kB / 1.203 GB, free: 8.301 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2286, allocations: 20 kB / 1.203 GB, free: 8.281 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.0001073/0.2287, allocations: 163.5 kB / 1.203 GB, free: 8.113 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2287, allocations: 35.75 kB / 1.203 GB, free: 8.078 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.2288, allocations: 29.97 kB / 1.203 GB, free: 8.043 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2288, allocations: 4 kB / 1.203 GB, free: 8.039 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.2288, allocations: 0 / 1.203 GB, free: 8.039 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2288, allocations: 7.984 kB / 1.203 GB, free: 8.031 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.229, allocations: 320.4 kB / 1.203 GB, free: 7.676 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.229, allocations: 0 / 1.203 GB, free: 7.676 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.2292, allocations: 71.91 kB / 1.203 GB, free: 7.605 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2292, allocations: 7.938 kB / 1.203 GB, free: 7.598 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.2292, allocations: 24.05 kB / 1.203 GB, free: 7.574 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2292, allocations: 0.7031 kB / 1.203 GB, free: 7.574 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2292, allocations: 7.938 kB / 1.203 GB, free: 7.566 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.2299, allocations: 0.5792 MB / 1.204 GB, free: 6.961 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2299, allocations: 27.75 kB / 1.204 GB, free: 6.934 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.2299, allocations: 19.92 kB / 1.204 GB, free: 6.914 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.23, allocations: 27.97 kB / 1.204 GB, free: 6.887 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.2302, allocations: 44.11 kB / 1.204 GB, free: 6.844 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2302, allocations: 19.92 kB / 1.204 GB, free: 6.824 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.2303, allocations: 121.4 kB / 1.204 GB, free: 6.707 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2303, allocations: 4 kB / 1.204 GB, free: 6.703 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002077/0.2305, allocations: 87.92 kB / 1.204 GB, free: 6.617 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.0001062/0.2306, allocations: 112 kB / 1.204 GB, free: 6.5 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.2312, allocations: 363.4 kB / 1.205 GB, free: 6.148 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2312, allocations: 4 kB / 1.205 GB, free: 6.145 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.2315, allocations: 180.3 kB / 1.205 GB, free: 5.969 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.2318, allocations: 43.91 kB / 1.205 GB, free: 5.926 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.2328, allocations: 0.6449 MB / 1.205 GB, free: 5.246 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.2331, allocations: 0.7687 MB / 1.206 GB, free: 4.453 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2332, allocations: 31.44 kB / 1.206 GB, free: 4.422 MB / 0.8387 GB Notification: Performance of SimCode: time 6.51e-07/0.2332, allocations: 0 / 1.206 GB, free: 4.422 MB / 0.8387 GB Notification: Performance of Templates: time 0.00532/0.2385, allocations: 3.992 MB / 1.21 GB, free: 464 kB / 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: 6.986307696439326] Failed to read output from testmodel.py, exit status != 0: 0.24617990758270025 0.25406822100000004 0.030117811 Calling exit ...