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.001162/0.001162, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001396/0.001396, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.056/1.056, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7807/0.7807, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0.6562 kB / 0.5206 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.288e-05, allocations: 3.406 kB / 0.5206 GB, free: 2.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001629/0.001652, allocations: 1.055 MB / 0.5217 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.002887, allocations: 1.157 MB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.002967, allocations: 4 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.003007, allocations: 19.69 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.003103, allocations: 41.33 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.003543, allocations: 156.9 kB / 0.523 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.003817, allocations: 342.9 kB / 0.5233 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.003943, allocations: 32.58 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.004203, allocations: 196.3 kB / 0.5236 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.004343, allocations: 121.4 kB / 0.5237 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.004383, allocations: 28 kB / 0.5237 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.004446, allocations: 32 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.004495, allocations: 79.77 kB / 0.5238 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.798e-05/0.004573, allocations: 99.72 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.004828, allocations: 237 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004831, allocations: 3.938 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.91e-07/0.004832, allocations: 0 / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.004838, allocations: 0 / 0.5241 GB, free: 14.61 MB / 0.4948 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.0008087/0.005647, allocations: 0.6556 MB / 0.5248 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.005682, allocations: 8.031 kB / 0.5248 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.005901, allocations: 82 kB / 0.5249 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.006007, allocations: 141.2 kB / 0.525 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005954/0.006603, allocations: 0.4924 MB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.006647, allocations: 31.75 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.006953, allocations: 228.3 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.006969, allocations: 8.141 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.006989, allocations: 8.375 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.007001, allocations: 12.12 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.00716, allocations: 91.86 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.00788, allocations: 0.7708 MB / 0.5266 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.008155, allocations: 174.2 kB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.008266, allocations: 90.97 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.008296, allocations: 16.86 kB / 0.5269 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.008566, allocations: 267.8 kB / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.894e-06/0.008568, allocations: 0 / 0.5271 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0005201/0.009089, allocations: 368.6 kB / 0.5275 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.009143, allocations: 119.1 kB / 0.5276 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.00927, allocations: 236.7 kB / 0.5278 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.009297, allocations: 37.7 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.009363, allocations: 180 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.762e-05/0.009451, allocations: 149.4 kB / 0.5282 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.009548, allocations: 115.9 kB / 0.5283 GB, free: 10 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.009669, allocations: 0.5118 MB / 0.5288 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.009795, allocations: 81.25 kB / 0.5288 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.009973, allocations: 226.7 kB / 0.5291 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.01029, allocations: 335.9 kB / 0.5294 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01029, allocations: 0 / 0.5294 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004285/0.01072, allocations: 400.2 kB / 0.5298 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01074, allocations: 8 kB / 0.5298 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01074, allocations: 4 kB / 0.5298 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.01076, allocations: 4 kB / 0.5298 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.01096, allocations: 95.83 kB / 0.5299 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.01097, allocations: 15.92 kB / 0.5299 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.0111, allocations: 48.8 kB / 0.5299 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.01112, allocations: 23.98 kB / 0.53 GB, free: 8.164 MB / 0.4948 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.0001239/0.01124, allocations: 204.2 kB / 0.5301 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.01129, allocations: 43.81 kB / 0.5302 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.01133, allocations: 34.61 kB / 0.5302 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01133, allocations: 4 kB / 0.5302 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.01134, allocations: 5.312 kB / 0.5302 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01135, allocations: 7.922 kB / 0.5302 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.01153, allocations: 228.3 kB / 0.5305 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01153, allocations: 4 kB / 0.5305 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.01173, allocations: 70.34 kB / 0.5305 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01173, allocations: 4 kB / 0.5305 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.01176, allocations: 11.98 kB / 0.5305 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01176, allocations: 4 kB / 0.5305 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01176, allocations: 0 / 0.5305 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.01229, allocations: 475 kB / 0.531 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.01231, allocations: 23.8 kB / 0.531 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.01234, allocations: 8 kB / 0.531 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01244, allocations: 35.95 kB / 0.5311 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.01254, allocations: 67.91 kB / 0.5311 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.01256, allocations: 20 kB / 0.5311 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.01263, allocations: 160.6 kB / 0.5313 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01263, allocations: 0 / 0.5313 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002301/0.01286, allocations: 81.34 kB / 0.5314 GB, free: 6.645 MB / 0.4948 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.0001166/0.01297, allocations: 117 kB / 0.5315 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.01335, allocations: 288 kB / 0.5318 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01336, allocations: 0 / 0.5318 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.01352, allocations: 136.5 kB / 0.5319 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01376, allocations: 56.58 kB / 0.5319 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.01494, allocations: 0.5701 MB / 0.5325 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.015, allocations: 97.61 kB / 0.5326 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.0151, allocations: 38.61 kB / 0.5326 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.01519, allocations: 48.14 kB / 0.5327 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.01519, allocations: 0 / 0.5327 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.005873/0.02106, allocations: 4.038 MB / 0.5366 GB, free: 1.41 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.054899059934542]