Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009865/0.0009865, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002284, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009668/0.0009668, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002272, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1261/1.131, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7928/0.7928, allocations: 155.3 MB / 399.2 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2899/1.083, allocations: 49.13 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0.5469 kB / 449.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.987e-05, allocations: 8.281 kB / 449.8 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002748/0.002777, allocations: 2.004 MB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.003773, allocations: 0.7388 MB / 452.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003874, allocations: 7.938 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.003912, allocations: 21.7 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.004, allocations: 43.14 kB / 452.6 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.004383, allocations: 178.9 kB / 452.7 MB, free: 1.723 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.004699, allocations: 327 kB / 453.1 MB, free: 1.402 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.004841, allocations: 44.45 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.005137, allocations: 207.4 kB / 453.3 MB, free: 1.156 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.005284, allocations: 115.7 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.005324, allocations: 32 kB / 453.5 MB, free: 1.012 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.005411, allocations: 37.98 kB / 453.5 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.005458, allocations: 55.8 kB / 453.6 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.005531, allocations: 71.88 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.005796, allocations: 203.3 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.92e-05/0.005815, allocations: 0 / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.005817, allocations: 2.125 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.005841, allocations: 0 / 453.8 MB, free: 0.6523 MB / 426.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.0008505/0.006691, allocations: 0.5978 MB / 454.4 MB, free: 44 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.006725, allocations: 8.031 kB / 454.4 MB, free: 36 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.006987, allocations: 155.4 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.007202, allocations: 171.1 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.007409, allocations: 0.4886 MB / 455.2 MB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.007456, allocations: 33.86 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.007716, allocations: 203.8 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.007734, allocations: 8.125 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.007753, allocations: 16.12 kB / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.007762, allocations: 6.094 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.007874, allocations: 63.91 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.008433, allocations: 0.5047 MB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.008649, allocations: 131.5 kB / 456.2 MB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.00872, allocations: 63.56 kB / 456.3 MB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.008756, allocations: 15.94 kB / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.009007, allocations: 250.4 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.573e-06/0.009009, allocations: 0 / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003232/0.009332, allocations: 248.7 kB / 456.8 MB, free: 13.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.009392, allocations: 123.1 kB / 456.9 MB, free: 13.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.009494, allocations: 178.5 kB / 457.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.009527, allocations: 41.7 kB / 457.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.009576, allocations: 113.3 kB / 457.2 MB, free: 12.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/0.009668, allocations: 159.4 kB / 457.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.953e-05/0.009758, allocations: 103.6 kB / 457.5 MB, free: 12.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.01002, allocations: 350.7 kB / 457.8 MB, free: 12.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.0101, allocations: 57.28 kB / 457.9 MB, free: 12.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.01021, allocations: 164.7 kB / 458 MB, free: 12.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.01043, allocations: 262.4 kB / 458.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.01044, allocations: 5.375 kB / 458.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002917/0.01073, allocations: 286.2 kB / 458.6 MB, free: 11.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01075, allocations: 4 kB / 458.6 MB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.01075, allocations: 4 kB / 458.6 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01077, allocations: 5.859 kB / 458.6 MB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.011, allocations: 115.8 kB / 458.7 MB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01101, allocations: 4.719 kB / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01113, allocations: 64.55 kB / 458.8 MB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.01115, allocations: 16 kB / 458.8 MB, free: 11.32 MB / 442.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.0001124/0.01126, allocations: 145.8 kB / 458.9 MB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.0113, allocations: 35.97 kB / 458.9 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.01135, allocations: 36.58 kB / 459 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01135, allocations: 4.781 kB / 459 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.01136, allocations: 0 / 459 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.01136, allocations: 17.3 kB / 459 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01154, allocations: 173.6 kB / 459.2 MB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01154, allocations: 0 / 459.2 MB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.01177, allocations: 79.89 kB / 459.3 MB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.01179, allocations: 32.58 kB / 459.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01179, allocations: 4 kB / 459.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.01181, allocations: 12.59 kB / 459.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.01182, allocations: 4 kB / 459.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01182, allocations: 0.9062 kB / 459.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.01218, allocations: 336.2 kB / 459.6 MB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.01221, allocations: 8 kB / 459.6 MB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01231, allocations: 32.66 kB / 459.7 MB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.0124, allocations: 68.5 kB / 459.7 MB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.01241, allocations: 11.98 kB / 459.8 MB, free: 10.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.01246, allocations: 54.08 kB / 459.8 MB, free: 10.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01246, allocations: 0 / 459.8 MB, free: 10.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.01268, allocations: 84.42 kB / 459.9 MB, free: 10.17 MB / 442.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.0001484/0.01283, allocations: 98.34 kB / 460 MB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.01312, allocations: 234.5 kB / 460.2 MB, free: 9.832 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.01313, allocations: 4 kB / 460.2 MB, free: 9.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.01326, allocations: 117.6 kB / 460.3 MB, free: 9.711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01348, allocations: 71.98 kB / 460.4 MB, free: 9.645 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.01474, allocations: 0.5495 MB / 461 MB, free: 9.059 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.01479, allocations: 97.61 kB / 461 MB, free: 8.941 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.0149, allocations: 37.39 kB / 461.1 MB, free: 8.914 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.01504, allocations: 115.3 kB / 461.2 MB, free: 8.801 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01504, allocations: 1.625 kB / 461.2 MB, free: 8.801 MB / 442.7 MB Notification: Performance of Templates: time 0.006325/0.02137, allocations: 4.028 MB / 465.2 MB, free: 5.059 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6790550723671913]