Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.0009454/0.0009454, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001251/0.001251, allocations: 181 kB / 23.36 MB, free: 1.125 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.028/1.028, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8309/0.8309, allocations: 154.6 MB / 414.8 MB, free: 500 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 480.1 MB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.909e-05, allocations: 5.922 kB / 480.1 MB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003595/0.003624, allocations: 2.001 MB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.004772, allocations: 0.7341 MB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.004866, allocations: 4 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.004911, allocations: 23.67 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.005039, allocations: 43.94 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.005548, allocations: 182.9 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003567/0.005904, allocations: 335.6 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006032, allocations: 38.81 kB / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.006303, allocations: 200.9 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006442, allocations: 115.6 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.889e-05/0.006481, allocations: 32.66 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.249e-05/0.006554, allocations: 32 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.006603, allocations: 80.98 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.006671, allocations: 104.3 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.006901, allocations: 239.2 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006904, allocations: 1.062 kB / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006906, allocations: 0 / 484.3 MB, free: 2.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.006912, allocations: 0 / 484.3 MB, free: 2.68 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.0006869/0.007599, allocations: 0.5377 MB / 484.8 MB, free: 2.117 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.007633, allocations: 12.81 kB / 484.8 MB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.007851, allocations: 74.3 kB / 484.9 MB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.008078, allocations: 165.4 kB / 485 MB, free: 1.848 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.008327, allocations: 0.4919 MB / 485.5 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.008373, allocations: 29.2 kB / 485.6 MB, free: 1.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.008621, allocations: 211.8 kB / 485.8 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.008636, allocations: 8.781 kB / 485.8 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.008652, allocations: 13.34 kB / 485.8 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.008659, allocations: 4 kB / 485.8 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.008764, allocations: 63.91 kB / 485.9 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.009365, allocations: 0.5091 MB / 486.4 MB, free: 388 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.009574, allocations: 132.2 kB / 486.5 MB, free: 228 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.00964, allocations: 67.19 kB / 486.6 MB, free: 152 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.009671, allocations: 12.62 kB / 486.6 MB, free: 140 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.009911, allocations: 244.7 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.543e-06/0.009913, allocations: 4 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003942/0.01031, allocations: 254.3 kB / 487.1 MB, free: 15.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.01036, allocations: 119.1 kB / 487.2 MB, free: 15.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.01046, allocations: 184.8 kB / 487.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.01049, allocations: 37.7 kB / 487.4 MB, free: 15.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.01054, allocations: 114.9 kB / 487.5 MB, free: 15.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.01063, allocations: 158.7 kB / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.01073, allocations: 106.3 kB / 487.8 MB, free: 14.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.091e-05/0.01082, allocations: 346.7 kB / 488.1 MB, free: 14.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01093, allocations: 58.62 kB / 488.2 MB, free: 14.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01105, allocations: 156.8 kB / 488.3 MB, free: 14.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.01127, allocations: 268.6 kB / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.01127, allocations: 0 / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004748/0.01175, allocations: 286.5 kB / 488.9 MB, free: 13.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.01176, allocations: 4 kB / 488.9 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01177, allocations: 4.594 kB / 488.9 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01178, allocations: 4 kB / 488.9 MB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.012, allocations: 105.8 kB / 489 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.012, allocations: 15.92 kB / 489 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01213, allocations: 59.64 kB / 489.1 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.01215, allocations: 24.66 kB / 489.1 MB, free: 13.49 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.000105/0.01225, allocations: 149.5 kB / 489.2 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.01229, allocations: 31.97 kB / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.01233, allocations: 33.95 kB / 489.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01233, allocations: 5.75 kB / 489.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.01234, allocations: 4 kB / 489.3 MB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.01234, allocations: 5.016 kB / 489.3 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01251, allocations: 165.7 kB / 489.5 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01251, allocations: 1.562 kB / 489.5 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.01272, allocations: 79.89 kB / 489.5 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01272, allocations: 0 / 489.5 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.01274, allocations: 8 kB / 489.5 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01274, allocations: 8.734 kB / 489.6 MB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01274, allocations: 0 / 489.6 MB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.01309, allocations: 338.2 kB / 489.9 MB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.01312, allocations: 27.75 kB / 489.9 MB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.01315, allocations: 12 kB / 489.9 MB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.01324, allocations: 29.16 kB / 490 MB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.01334, allocations: 71.89 kB / 490 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.01335, allocations: 4 kB / 490 MB, free: 12.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.01339, allocations: 50.16 kB / 490.1 MB, free: 12.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01339, allocations: 0 / 490.1 MB, free: 12.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.01359, allocations: 95.8 kB / 490.2 MB, free: 12.35 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.0001151/0.0137, allocations: 94.73 kB / 490.3 MB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.01396, allocations: 230.4 kB / 490.5 MB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01397, allocations: 0 / 490.5 MB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01409, allocations: 126.3 kB / 490.6 MB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.01428, allocations: 52.05 kB / 490.7 MB, free: 11.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009046/0.01518, allocations: 0.5671 MB / 491.2 MB, free: 11.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.42e-05/0.01526, allocations: 97.55 kB / 491.3 MB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.01542, allocations: 39.42 kB / 491.4 MB, free: 11.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.01562, allocations: 112 kB / 491.5 MB, free: 10.99 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01562, allocations: 5.812 kB / 491.5 MB, free: 10.99 MB / 458.7 MB Notification: Performance of Templates: time 0.006765/0.02238, allocations: 3.931 MB / 495.4 MB, free: 7.336 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.796874223742634]