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.001177/0.001177, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001061/0.001061, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9764/0.9764, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.9099/0.9099, allocations: 154.9 MB / 415.1 MB, free: 236 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.485e-06/2.485e-06, allocations: 0 / 480.5 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.092e-05, allocations: 9.109 kB / 480.5 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002165/0.002196, allocations: 1.079 MB / 481.6 MB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.00335, allocations: 1.172 MB / 482.7 MB, free: 4.277 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.003416, allocations: 4 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.003456, allocations: 20.5 kB / 482.8 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.00356, allocations: 38.16 kB / 482.8 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.003925, allocations: 163.5 kB / 483 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.00419, allocations: 331 kB / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.004333, allocations: 44.56 kB / 483.3 MB, free: 3.707 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.004619, allocations: 203.5 kB / 483.5 MB, free: 3.508 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.004798, allocations: 115.7 kB / 483.6 MB, free: 3.395 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.004838, allocations: 28 kB / 483.7 MB, free: 3.367 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.004925, allocations: 35.98 kB / 483.7 MB, free: 3.332 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.004976, allocations: 76.7 kB / 483.8 MB, free: 3.258 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.005047, allocations: 104.7 kB / 483.9 MB, free: 3.156 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.005283, allocations: 236.3 kB / 484.1 MB, free: 2.926 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005285, allocations: 0 / 484.1 MB, free: 2.926 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.005286, allocations: 0 / 484.1 MB, free: 2.926 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.005291, allocations: 0 / 484.1 MB, free: 2.926 MB / 442.7 MB 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.0006616/0.005952, allocations: 0.537 MB / 484.6 MB, free: 2.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.005983, allocations: 12.02 kB / 484.7 MB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.006168, allocations: 70.12 kB / 484.7 MB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.006263, allocations: 146.3 kB / 484.9 MB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.006455, allocations: 499.7 kB / 485.4 MB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.006489, allocations: 29.06 kB / 485.4 MB, free: 1.492 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.006712, allocations: 208.7 kB / 485.6 MB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.006728, allocations: 8.141 kB / 485.6 MB, free: 1.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.006745, allocations: 5.375 kB / 485.6 MB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.006755, allocations: 12.12 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.006862, allocations: 67.08 kB / 485.7 MB, free: 1.191 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.007389, allocations: 0.5058 MB / 486.2 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.007587, allocations: 136 kB / 486.3 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.007654, allocations: 67.94 kB / 486.4 MB, free: 440 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.007687, allocations: 8 kB / 486.4 MB, free: 432 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.00791, allocations: 252 kB / 486.6 MB, free: 160 kB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.483e-06/0.007911, allocations: 1.062 kB / 486.6 MB, free: 160 kB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.000329/0.00824, allocations: 253 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.008294, allocations: 114.8 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.008387, allocations: 177.6 kB / 487.2 MB, free: 15.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.008412, allocations: 37.7 kB / 487.2 MB, free: 15.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.008457, allocations: 118.1 kB / 487.3 MB, free: 15.42 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.008537, allocations: 154.8 kB / 487.5 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.008626, allocations: 107.3 kB / 487.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.008721, allocations: 346.7 kB / 487.9 MB, free: 14.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.008789, allocations: 53.28 kB / 488 MB, free: 14.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.008906, allocations: 169.6 kB / 488.1 MB, free: 14.56 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.009116, allocations: 265.9 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009119, allocations: 0.75 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002692/0.009388, allocations: 285.5 kB / 488.7 MB, free: 13.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.009403, allocations: 9.969 kB / 488.7 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.009408, allocations: 0 / 488.7 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.009423, allocations: 8 kB / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.009632, allocations: 102.7 kB / 488.8 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.009638, allocations: 4 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.009756, allocations: 61.08 kB / 488.9 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.009775, allocations: 15.94 kB / 488.9 MB, free: 13.79 MB / 458.7 MB 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.0001002/0.009875, allocations: 157 kB / 489 MB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.00991, allocations: 36.5 kB / 489.1 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.009945, allocations: 29.97 kB / 489.1 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.009948, allocations: 9.438 kB / 489.1 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.009952, allocations: 0 / 489.1 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.009958, allocations: 3.984 kB / 489.1 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.01012, allocations: 176.8 kB / 489.3 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01012, allocations: 4.812 kB / 489.3 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.01032, allocations: 75.97 kB / 489.4 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01032, allocations: 4.594 kB / 489.4 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.01034, allocations: 12.92 kB / 489.4 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01034, allocations: 4 kB / 489.4 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01035, allocations: 0 / 489.4 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.01069, allocations: 331.8 kB / 489.7 MB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.0107, allocations: 24.3 kB / 489.7 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01073, allocations: 15.98 kB / 489.7 MB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.01082, allocations: 30.5 kB / 489.8 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.01091, allocations: 71.84 kB / 489.8 MB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01093, allocations: 7.984 kB / 489.8 MB, free: 12.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.01096, allocations: 45.66 kB / 489.9 MB, free: 12.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01096, allocations: 0 / 489.9 MB, free: 12.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.01115, allocations: 84.55 kB / 490 MB, free: 12.65 MB / 458.7 MB 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.888e-05/0.01125, allocations: 88.08 kB / 490.1 MB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.01151, allocations: 248.5 kB / 490.3 MB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01151, allocations: 4 kB / 490.3 MB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.01164, allocations: 115.6 kB / 490.4 MB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.01181, allocations: 51.31 kB / 490.5 MB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007678/0.01258, allocations: 0.5502 MB / 491 MB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.01263, allocations: 99.08 kB / 491.1 MB, free: 11.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.684e-05/0.01273, allocations: 36.78 kB / 491.1 MB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.01287, allocations: 115.3 kB / 491.3 MB, free: 11.3 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01287, allocations: 0 / 491.3 MB, free: 11.3 MB / 458.7 MB Notification: Performance of Templates: time 0.005407/0.01828, allocations: 3.935 MB / 495.2 MB, free: 7.645 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8761768587864935]