Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001349/0.001349, 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.001478/0.001478, 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.9525/0.9525, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7811/0.7811, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.496e-05, allocations: 2.312 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00163/0.001655, allocations: 1.043 MB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002776, allocations: 1.17 MB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.002838, allocations: 0 / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.002878, allocations: 20.5 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.00298, allocations: 49.17 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.003333, allocations: 157.2 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.003573, allocations: 336.2 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.003685, allocations: 38.55 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.00392, allocations: 195.6 kB / 483.1 MB, free: 3.867 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.00406, allocations: 117.2 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.004097, allocations: 32 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.598e-05/0.004153, allocations: 32 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.004201, allocations: 79.77 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.004266, allocations: 101.8 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.004472, allocations: 239.2 kB / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004474, allocations: 0 / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004474, allocations: 0 / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004478, allocations: 0 / 483.6 MB, free: 3.281 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.000639/0.005117, allocations: 0.5345 MB / 484.2 MB, free: 2.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.005147, allocations: 8.031 kB / 484.2 MB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.005328, allocations: 74.11 kB / 484.3 MB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.005429, allocations: 138.3 kB / 484.4 MB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.005628, allocations: 0.4886 MB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.005667, allocations: 32.92 kB / 484.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.005886, allocations: 208.4 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.0059, allocations: 8.125 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.005915, allocations: 12.78 kB / 485.1 MB, free: 1.625 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.005923, allocations: 8.125 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.006025, allocations: 71.52 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.006555, allocations: 0.5048 MB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.00675, allocations: 140.4 kB / 485.9 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.006815, allocations: 63.19 kB / 485.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.006846, allocations: 12 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.007048, allocations: 248.7 kB / 486.2 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.492e-06/0.00705, allocations: 0.625 kB / 486.2 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0002956/0.007345, allocations: 246.8 kB / 486.4 MB, free: 276 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.007399, allocations: 118.7 kB / 486.5 MB, free: 132 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.0075, allocations: 181.8 kB / 486.7 MB, free: 15.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.007527, allocations: 38.7 kB / 486.7 MB, free: 15.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.007567, allocations: 109.3 kB / 486.9 MB, free: 15.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.007645, allocations: 150.8 kB / 487 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-05/0.007733, allocations: 111.4 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003294/0.008062, allocations: 342.7 kB / 487.4 MB, free: 15.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.00813, allocations: 57.28 kB / 487.5 MB, free: 15.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.008244, allocations: 170.7 kB / 487.7 MB, free: 14.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.008452, allocations: 261.9 kB / 487.9 MB, free: 14.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.008455, allocations: 0 / 487.9 MB, free: 14.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002778/0.008733, allocations: 286.6 kB / 488.2 MB, free: 14.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.008747, allocations: 4 kB / 488.2 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008753, allocations: 4.75 kB / 488.2 MB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.008772, allocations: 8 kB / 488.2 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.009048, allocations: 92.67 kB / 488.3 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.009057, allocations: 7.938 kB / 488.3 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.009206, allocations: 68.8 kB / 488.4 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.009225, allocations: 15.94 kB / 488.4 MB, free: 14.15 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.0001246/0.00935, allocations: 145.5 kB / 488.5 MB, free: 14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.009393, allocations: 32.91 kB / 488.6 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.00944, allocations: 35.14 kB / 488.6 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.009445, allocations: 8 kB / 488.6 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.00945, allocations: 0 / 488.6 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.009457, allocations: 4.734 kB / 488.6 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.009631, allocations: 177.5 kB / 488.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.009634, allocations: 4.594 kB / 488.8 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.009841, allocations: 71.89 kB / 488.9 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.009847, allocations: 5.438 kB / 488.9 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.009867, allocations: 7.984 kB / 488.9 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.009871, allocations: 4 kB / 488.9 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009872, allocations: 0.7812 kB / 488.9 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.01025, allocations: 335.1 kB / 489.2 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.01027, allocations: 36.97 kB / 489.3 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.0103, allocations: 8 kB / 489.3 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.01039, allocations: 29 kB / 489.3 MB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.01049, allocations: 71.89 kB / 489.4 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01051, allocations: 8.531 kB / 489.4 MB, free: 13.15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.01054, allocations: 46.91 kB / 489.4 MB, free: 13.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 489.4 MB, free: 13.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.01072, allocations: 80 kB / 489.5 MB, free: 13.02 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 0.0001496/0.01087, allocations: 103.6 kB / 489.6 MB, free: 12.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.01113, allocations: 242.1 kB / 489.8 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01114, allocations: 4 kB / 489.8 MB, free: 12.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01126, allocations: 121.4 kB / 490 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01144, allocations: 51.09 kB / 490 MB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.01224, allocations: 0.5475 MB / 490.5 MB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.591e-05/0.01229, allocations: 94.5 kB / 490.6 MB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.01239, allocations: 40.8 kB / 490.7 MB, free: 11.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.01253, allocations: 112.1 kB / 490.8 MB, free: 11.67 MB / 458.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01253, allocations: 2.219 kB / 490.8 MB, free: 11.67 MB / 458.7 MB Notification: Performance of Templates: time 0.00587/0.0184, allocations: 3.921 MB / 494.7 MB, free: 8.023 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6784992408938706]