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.0015/0.0015, allocations: 93.06 kB / 19.65 MB, free: 276 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.001685/0.001685, allocations: 165 kB / 23.01 MB, free: 1.551 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.083/1.083, allocations: 177.1 MB / 203.4 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.8422/0.8422, allocations: 154.8 MB / 414.7 MB, free: 476 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 2.886e-06/2.886e-06, allocations: 0.7656 kB / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.159e-05, allocations: 5.156 kB / 0.5206 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00181/0.001842, allocations: 1.053 MB / 0.5217 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003052, allocations: 1.16 MB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.003125, allocations: 6.234 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.003173, allocations: 19.69 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.003275, allocations: 47.52 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.003667, allocations: 152.2 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.003906, allocations: 335.6 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.004037, allocations: 32.56 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.004286, allocations: 196.5 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.004434, allocations: 113.2 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.004478, allocations: 32 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.455e-05/0.004542, allocations: 39.98 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.004589, allocations: 79.7 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.00466, allocations: 96.72 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.004885, allocations: 239.2 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004888, allocations: 0 / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.61e-07/0.004889, allocations: 1.469 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004893, allocations: 0 / 0.5241 GB, free: 14.33 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.0008234/0.005716, allocations: 0.6549 MB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.00576, allocations: 12.56 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.005977, allocations: 77.78 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.006089, allocations: 145.2 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.006354, allocations: 0.4885 MB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.006399, allocations: 32.38 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.006691, allocations: 226.4 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.006706, allocations: 4.172 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.006727, allocations: 16.31 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.006738, allocations: 8.125 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.006978, allocations: 91.88 kB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.007676, allocations: 0.777 MB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.007948, allocations: 169.2 kB / 0.5267 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.008056, allocations: 87.53 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.008091, allocations: 16.5 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.008367, allocations: 283.4 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.523e-06/0.008369, allocations: 0 / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0005148/0.008883, allocations: 369.2 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.008934, allocations: 115.2 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.009053, allocations: 231.7 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.00908, allocations: 46.27 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.009147, allocations: 168 kB / 0.528 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.009236, allocations: 163.2 kB / 0.5282 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.009336, allocations: 110.4 kB / 0.5283 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.009462, allocations: 0.5079 MB / 0.5288 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.009584, allocations: 89.25 kB / 0.5288 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.009764, allocations: 218.7 kB / 0.5291 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.01007, allocations: 324 kB / 0.5294 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01008, allocations: 0 / 0.5294 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004134/0.01049, allocations: 408.1 kB / 0.5297 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01051, allocations: 8 kB / 0.5298 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01051, allocations: 0 / 0.5298 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.01053, allocations: 8 kB / 0.5298 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01073, allocations: 91.83 kB / 0.5299 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.01074, allocations: 7.938 kB / 0.5299 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.01087, allocations: 57.59 kB / 0.5299 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.01089, allocations: 31.86 kB / 0.5299 GB, free: 7.883 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.0001069/0.011, allocations: 203.5 kB / 0.5301 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.01104, allocations: 39.81 kB / 0.5302 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.01108, allocations: 34.89 kB / 0.5302 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01108, allocations: 8 kB / 0.5302 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01109, allocations: 0 / 0.5302 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.01109, allocations: 11.17 kB / 0.5302 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.01126, allocations: 228.4 kB / 0.5304 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01127, allocations: 0 / 0.5304 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.01147, allocations: 71.91 kB / 0.5305 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01147, allocations: 0 / 0.5305 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.0115, allocations: 19.98 kB / 0.5305 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0115, allocations: 0 / 0.5305 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0115, allocations: 64 / 0.5305 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.01202, allocations: 477.8 kB / 0.531 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01204, allocations: 23.8 kB / 0.531 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.01207, allocations: 8 kB / 0.531 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.01217, allocations: 31.97 kB / 0.5311 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.01227, allocations: 71.83 kB / 0.5311 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.01229, allocations: 15.94 kB / 0.5311 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.01235, allocations: 165.5 kB / 0.5313 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01235, allocations: 0 / 0.5313 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002061/0.01255, allocations: 80 kB / 0.5314 GB, free: 6.363 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 9.139e-05/0.01265, allocations: 113.4 kB / 0.5315 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.013, allocations: 288.6 kB / 0.5318 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.013, allocations: 0.6875 kB / 0.5318 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01316, allocations: 142.2 kB / 0.5319 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01339, allocations: 63.88 kB / 0.5319 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.01425, allocations: 0.5681 MB / 0.5325 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.0143, allocations: 93.61 kB / 0.5326 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.01439, allocations: 41.09 kB / 0.5326 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.01448, allocations: 40.48 kB / 0.5327 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.01448, allocations: 0 / 0.5327 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of Templates: time 0.005785/0.02026, allocations: 4.041 MB / 0.5366 GB, free: 1.129 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.119966336991638]