Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.0007345/0.0007345, allocations: 114.4 kB / 19.7 MB, free: 0.5273 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.0007882/0.0007882, allocations: 208.1 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.8652/0.8652, allocations: 230.6 MB / 256.8 MB, free: 3.562 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.03644/0.03644, allocations: 12.18 MB / 325.4 MB, free: 3.453 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.0004009/0.0004009, allocations: 37.78 kB / 384.9 MB, free: 45.8 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.58/1.58, 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.001996/0.001996, allocations: 123 kB / 1.061 GB, free: 9.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2313, allocations: 134.9 MB / 1.193 GB, free: 2.559 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002204/0.2335, allocations: 1.99 MB / 1.195 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.2342, allocations: 0.7519 MB / 1.196 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.2343, allocations: 0 / 1.196 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.2343, allocations: 23.67 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of NFTyping.typeBindings: time 9.023e-05/0.2344, allocations: 51.52 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2348, allocations: 170.3 kB / 1.196 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.2353, allocations: 327 kB / 1.196 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2354, allocations: 32.92 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.2356, allocations: 147.6 kB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2357, allocations: 155.3 kB / 1.197 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.2358, allocations: 28 kB / 1.197 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.2358, allocations: 40 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.2359, allocations: 79.72 kB / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.2359, allocations: 135.4 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2362, allocations: 322.6 kB / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2362, allocations: 0 / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2362, allocations: 0 / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.2362, allocations: 0 / 1.197 GB, free: 14.32 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.0007175/0.2369, allocations: 0.5599 MB / 1.198 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2369, allocations: 15.98 kB / 1.198 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.2371, allocations: 56.75 kB / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.2374, allocations: 194.1 kB / 1.198 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.2376, allocations: 495.6 kB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.2376, allocations: 36.36 kB / 1.198 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.2379, allocations: 261.8 kB / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2379, allocations: 3.938 kB / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.238, allocations: 12 kB / 1.199 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.238, allocations: 8 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.2382, allocations: 171.8 kB / 1.199 GB, free: 12.35 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.2389, allocations: 0.7533 MB / 1.2 GB, free: 11.55 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.2392, allocations: 202.1 kB / 1.2 GB, free: 11.32 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.2394, allocations: 130.5 kB / 1.2 GB, free: 11.19 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.2394, allocations: 8 kB / 1.2 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.2397, allocations: 307.6 kB / 1.2 GB, free: 10.86 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=48): time 1.413e-06/0.2397, allocations: 4 kB / 1.2 GB, free: 10.85 MB / 0.8387 GB Notification: Performance of matching and sorting (n=48): time 0.0006381/0.2404, allocations: 483.5 kB / 1.201 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.2404, allocations: 122.7 kB / 1.201 GB, free: 10.23 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2405, allocations: 187.3 kB / 1.201 GB, free: 10.04 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2406, allocations: 37.7 kB / 1.201 GB, free: 10 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2406, allocations: 125.3 kB / 1.201 GB, free: 9.875 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.2407, allocations: 158.8 kB / 1.201 GB, free: 9.719 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.2408, allocations: 106.3 kB / 1.201 GB, free: 9.609 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.2409, allocations: 338.8 kB / 1.202 GB, free: 9.27 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2411, allocations: 145.2 kB / 1.202 GB, free: 9.125 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.2413, allocations: 260.7 kB / 1.202 GB, free: 8.836 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.2417, allocations: 394.1 kB / 1.203 GB, free: 8.414 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2417, allocations: 0 / 1.203 GB, free: 8.414 MB / 0.8387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007796/0.2425, allocations: 0.4931 MB / 1.203 GB, free: 7.914 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2425, allocations: 5.875 kB / 1.203 GB, free: 7.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2425, allocations: 4 kB / 1.203 GB, free: 7.906 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2425, allocations: 4 kB / 1.203 GB, free: 7.902 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.2427, allocations: 99.83 kB / 1.203 GB, free: 7.805 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2427, allocations: 4 kB / 1.203 GB, free: 7.801 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.2428, allocations: 67.69 kB / 1.203 GB, free: 7.734 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2429, allocations: 20 kB / 1.203 GB, free: 7.715 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.0001077/0.243, allocations: 155.5 kB / 1.203 GB, free: 7.555 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.243, allocations: 31.8 kB / 1.203 GB, free: 7.523 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.243, allocations: 33.95 kB / 1.203 GB, free: 7.484 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.243, allocations: 8 kB / 1.203 GB, free: 7.477 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.243, allocations: 0 / 1.203 GB, free: 7.477 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.2431, allocations: 3.984 kB / 1.203 GB, free: 7.473 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.2433, allocations: 332.2 kB / 1.204 GB, free: 7.105 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2433, allocations: 7.938 kB / 1.204 GB, free: 7.098 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.2435, allocations: 75.83 kB / 1.204 GB, free: 7.023 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2435, allocations: 0 / 1.204 GB, free: 7.023 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2435, allocations: 15.98 kB / 1.204 GB, free: 7.008 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2435, allocations: 8 kB / 1.204 GB, free: 7 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2435, allocations: 3.938 kB / 1.204 GB, free: 6.996 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.2442, allocations: 0.5713 MB / 1.204 GB, free: 6.402 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.2442, allocations: 39.69 kB / 1.204 GB, free: 6.363 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2442, allocations: 15.98 kB / 1.204 GB, free: 6.348 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.2443, allocations: 27.97 kB / 1.204 GB, free: 6.32 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.2444, allocations: 39.94 kB / 1.205 GB, free: 6.281 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.2444, allocations: 16.08 kB / 1.205 GB, free: 6.266 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.2445, allocations: 128.4 kB / 1.205 GB, free: 6.141 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2445, allocations: 4 kB / 1.205 GB, free: 6.137 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001993/0.2447, allocations: 79.98 kB / 1.205 GB, free: 6.059 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.0001086/0.2448, allocations: 114.2 kB / 1.205 GB, free: 5.941 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.2452, allocations: 372 kB / 1.205 GB, free: 5.578 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2452, allocations: 0 / 1.205 GB, free: 5.578 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.2454, allocations: 176.6 kB / 1.205 GB, free: 5.406 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2457, allocations: 44.53 kB / 1.205 GB, free: 5.363 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.2464, allocations: 0.6513 MB / 1.206 GB, free: 4.676 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2466, allocations: 0.7686 MB / 1.207 GB, free: 3.879 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.2467, allocations: 43.42 kB / 1.207 GB, free: 3.836 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2467, allocations: 0 / 1.207 GB, free: 3.836 MB / 0.8387 GB Notification: Performance of Templates: time 0.004134/0.2508, allocations: 4.049 MB / 1.211 GB, free: 15.8 MB / 0.8543 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.823363466188312] Failed to read output from testmodel.py, exit status != 0: 0.2570920856669545 0.264616251 0.026508836 Calling exit ...