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.0008594/0.0008594, allocations: 80.81 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.0009523/0.0009523, 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.9294/0.9294, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.813/0.813, allocations: 154.9 MB / 415.1 MB, free: 244 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_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.474e-06/2.474e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.612e-05, allocations: 5.266 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002451/0.002477, allocations: 1.956 MB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.003514, allocations: 0.7344 MB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.003595, allocations: 3.938 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.003638, allocations: 20.5 kB / 483.1 MB, free: 3.805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.003758, allocations: 48.83 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.004182, allocations: 184.6 kB / 483.4 MB, free: 3.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.004465, allocations: 334.9 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004581, allocations: 52.33 kB / 483.8 MB, free: 3.211 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.004853, allocations: 191.6 kB / 483.9 MB, free: 3.023 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.004995, allocations: 121.2 kB / 484.1 MB, free: 2.906 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.00503, allocations: 28 kB / 484.1 MB, free: 2.879 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.005085, allocations: 32 kB / 484.1 MB, free: 2.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.005131, allocations: 76.36 kB / 484.2 MB, free: 2.773 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.0052, allocations: 103.8 kB / 484.3 MB, free: 2.672 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.005416, allocations: 240.3 kB / 484.5 MB, free: 2.438 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005418, allocations: 0 / 484.5 MB, free: 2.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005418, allocations: 0 / 484.5 MB, free: 2.438 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.005422, allocations: 4.969 kB / 484.5 MB, free: 2.434 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.0006555/0.006078, allocations: 0.5377 MB / 485.1 MB, free: 1.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.006112, allocations: 12.02 kB / 485.1 MB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.006295, allocations: 73.7 kB / 485.2 MB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006486, allocations: 166.5 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.006699, allocations: 499.7 kB / 485.8 MB, free: 1.012 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.006741, allocations: 32.36 kB / 485.8 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.006965, allocations: 208.4 kB / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.00698, allocations: 9.016 kB / 486 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.006997, allocations: 12.06 kB / 486.1 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007005, allocations: 6.719 kB / 486.1 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.007101, allocations: 63.97 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.007623, allocations: 0.5039 MB / 486.6 MB, free: 152 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.00783, allocations: 133.1 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.633e-05/0.007896, allocations: 70.72 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.007922, allocations: 12.88 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.008128, allocations: 244 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/0.00813, allocations: 1.062 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.000325/0.008455, allocations: 259 kB / 487.3 MB, free: 15.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.008515, allocations: 115.2 kB / 487.4 MB, free: 15.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.008635, allocations: 189.8 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.008661, allocations: 38.33 kB / 487.7 MB, free: 15.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.008713, allocations: 113.3 kB / 487.8 MB, free: 14.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.008804, allocations: 159.3 kB / 487.9 MB, free: 14.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.008892, allocations: 102.3 kB / 488 MB, free: 14.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.008993, allocations: 347.4 kB / 488.4 MB, free: 14.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.009061, allocations: 53.91 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.009186, allocations: 172.7 kB / 488.6 MB, free: 14.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.009394, allocations: 261.2 kB / 488.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.009398, allocations: 0 / 488.9 MB, free: 13.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002937/0.009691, allocations: 286.4 kB / 489.1 MB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.009706, allocations: 8.531 kB / 489.1 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.009712, allocations: 0 / 489.1 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.009729, allocations: 13.45 kB / 489.2 MB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.00992, allocations: 91.83 kB / 489.2 MB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.009926, allocations: 4 kB / 489.2 MB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.01005, allocations: 68.55 kB / 489.3 MB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.01007, allocations: 16.72 kB / 489.3 MB, free: 13.27 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.0001149/0.01018, allocations: 141.6 kB / 489.5 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.01022, allocations: 43.91 kB / 489.5 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.01026, allocations: 33.95 kB / 489.5 MB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01026, allocations: 4 kB / 489.5 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01027, allocations: 0.5312 kB / 489.5 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.01027, allocations: 9 kB / 489.6 MB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.01045, allocations: 170.2 kB / 489.7 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01045, allocations: 3.938 kB / 489.7 MB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.01064, allocations: 73.58 kB / 489.8 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.01064, allocations: 4 kB / 489.8 MB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.01066, allocations: 8 kB / 489.8 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01066, allocations: 4.062 kB / 489.8 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.01066, allocations: 5.656 kB / 489.8 MB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.01101, allocations: 338.9 kB / 490.2 MB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.01103, allocations: 31.73 kB / 490.2 MB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.01106, allocations: 8 kB / 490.2 MB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.01114, allocations: 30.09 kB / 490.2 MB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.01123, allocations: 67.89 kB / 490.3 MB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01125, allocations: 12 kB / 490.3 MB, free: 12.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.01128, allocations: 46.45 kB / 490.3 MB, free: 12.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01128, allocations: 0.625 kB / 490.3 MB, free: 12.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.0115, allocations: 88.75 kB / 490.4 MB, free: 12.13 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.0001246/0.01163, allocations: 97.75 kB / 490.5 MB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.01188, allocations: 238 kB / 490.8 MB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01189, allocations: 0 / 490.8 MB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.012, allocations: 118.2 kB / 490.9 MB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01218, allocations: 48.92 kB / 490.9 MB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.01298, allocations: 0.5635 MB / 491.5 MB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.01303, allocations: 102.4 kB / 491.6 MB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.29e-05/0.01313, allocations: 41.12 kB / 491.6 MB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.01326, allocations: 107.3 kB / 491.7 MB, free: 10.77 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01326, allocations: 0 / 491.7 MB, free: 10.77 MB / 458.7 MB Notification: Performance of Templates: time 0.005449/0.01871, allocations: 3.954 MB / 495.7 MB, free: 7.109 MB / 458.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.752946156077087]