Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001383/0.001383, 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.001603/0.001603, allocations: 211.2 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.269/1.269, allocations: 203.8 MB / 0.5042 GB, free: 4.637 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: IDEAS 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.002037/0.002037, allocations: 67.91 kB / 0.7187 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6068, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002466/0.6092, allocations: 1.025 MB / 0.8193 GB, free: 28.28 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.6108, allocations: 1.125 MB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.6109, allocations: 2.75 kB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.519e-05/0.6109, allocations: 21.94 kB / 0.8204 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.611, allocations: 44.16 kB / 0.8205 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.6115, allocations: 146.8 kB / 0.8206 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.6119, allocations: 329.2 kB / 0.8209 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.6121, allocations: 39.45 kB / 0.821 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.6124, allocations: 136 kB / 0.8211 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.6126, allocations: 134 kB / 0.8212 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.6127, allocations: 30.62 kB / 0.8213 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.6128, allocations: 36.34 kB / 0.8213 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.6129, allocations: 83.92 kB / 0.8214 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.613, allocations: 112.9 kB / 0.8215 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.6135, allocations: 320.7 kB / 0.8218 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6135, allocations: 0.6562 kB / 0.8218 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6135, allocations: 0 / 0.8218 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6135, allocations: 0.6562 kB / 0.8218 GB, free: 26.83 MB / 0.6387 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.001298/0.6148, allocations: 0.5687 MB / 0.8223 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.6148, allocations: 11.66 kB / 0.8224 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.6152, allocations: 56.47 kB / 0.8224 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.6153, allocations: 140.7 kB / 0.8225 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.6155, allocations: 0.4887 MB / 0.823 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.6155, allocations: 32.38 kB / 0.8231 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.6161, allocations: 253.3 kB / 0.8233 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.6161, allocations: 12.45 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.6161, allocations: 6.172 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.6161, allocations: 14.09 kB / 0.8233 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.6166, allocations: 174.8 kB / 0.8235 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.6176, allocations: 0.6495 MB / 0.8241 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.6182, allocations: 196.2 kB / 0.8243 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.6184, allocations: 129.2 kB / 0.8244 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.6185, allocations: 9.094 kB / 0.8244 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.6191, allocations: 325 kB / 0.8248 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 1.913e-06/0.6191, allocations: 3.469 kB / 0.8248 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.001148/0.6202, allocations: 490.3 kB / 0.8252 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.6203, allocations: 112.9 kB / 0.8253 GB, free: 24.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.6205, allocations: 178.5 kB / 0.8255 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.6205, allocations: 38.59 kB / 0.8255 GB, free: 24.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.6206, allocations: 125 kB / 0.8257 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6207, allocations: 150.9 kB / 0.8258 GB, free: 23.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.6208, allocations: 110 kB / 0.8259 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.6209, allocations: 340.1 kB / 0.8262 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.6213, allocations: 148.4 kB / 0.8264 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.6217, allocations: 262.4 kB / 0.8266 GB, free: 23.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006715/0.6223, allocations: 392.7 kB / 0.827 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6223, allocations: 1.188 kB / 0.827 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008697/0.6232, allocations: 493.5 kB / 0.8275 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6232, allocations: 10.16 kB / 0.8275 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6232, allocations: 3.594 kB / 0.8275 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.6233, allocations: 9.094 kB / 0.8275 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.6237, allocations: 100.1 kB / 0.8276 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.6237, allocations: 5.75 kB / 0.8276 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/0.624, allocations: 58.12 kB / 0.8276 GB, free: 22.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.624, allocations: 24.12 kB / 0.8277 GB, free: 22.85 MB / 0.6387 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.0001426/0.6241, allocations: 163.8 kB / 0.8278 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.6242, allocations: 29 kB / 0.8279 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.6242, allocations: 37.06 kB / 0.8279 GB, free: 22.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.6243, allocations: 5.75 kB / 0.8279 GB, free: 22.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.6243, allocations: 0 / 0.8279 GB, free: 22.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6243, allocations: 3.609 kB / 0.8279 GB, free: 22.65 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.6246, allocations: 243.7 kB / 0.8281 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6246, allocations: 1.75 kB / 0.8281 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.625, allocations: 70.52 kB / 0.8282 GB, free: 22.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.625, allocations: 6.312 kB / 0.8282 GB, free: 22.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.625, allocations: 20.66 kB / 0.8282 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.625, allocations: 5.406 kB / 0.8282 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.625, allocations: 2.109 kB / 0.8282 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6261, allocations: 0.5809 MB / 0.8288 GB, free: 22.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.6262, allocations: 30.17 kB / 0.8288 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.6262, allocations: 12.03 kB / 0.8288 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.6264, allocations: 42.19 kB / 0.8289 GB, free: 22.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.6266, allocations: 58.5 kB / 0.8289 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.6266, allocations: 16.95 kB / 0.829 GB, free: 22.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.797e-05/0.6267, allocations: 122.1 kB / 0.8291 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6267, allocations: 1.375 kB / 0.8291 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003624/0.6271, allocations: 79.23 kB / 0.8291 GB, free: 22.01 MB / 0.6387 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.0001473/0.6273, allocations: 122.4 kB / 0.8293 GB, free: 21.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007707/0.628, allocations: 358.6 kB / 0.8296 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.628, allocations: 1.219 kB / 0.8296 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.6284, allocations: 182.9 kB / 0.8298 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.6288, allocations: 42.09 kB / 0.8298 GB, free: 21.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.6299, allocations: 0.62 MB / 0.8304 GB, free: 21.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.6301, allocations: 159.6 kB / 0.8306 GB, free: 21.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.6302, allocations: 43.34 kB / 0.8306 GB, free: 21.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.6303, allocations: 36.44 kB / 0.8307 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.6303, allocations: 0 / 0.8307 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.009752/0.6401, allocations: 4.222 MB / 0.8348 GB, free: 20.82 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.921935793012381] Failed to read output from testmodel.py, exit status != 0: 0.6485115047544241 0.6621949109999999 0.045881577 Calling exit ...