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.0008504/0.0008504, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001882/0.002733, allocations: 440 kB / 10.41 MB, free: 284 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.0009133/0.0009133, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003949/0.004862, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.047/1.047, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08774/1.135, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.8362/0.8362, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.2826/1.119, allocations: 49.13 MB / 448.6 MB, free: 5.898 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,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 1.312e-06/1.312e-06, allocations: 0 / 450 MB, free: 4.523 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.266e-05, allocations: 4.094 kB / 450 MB, free: 4.52 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001306/0.001319, allocations: 1.098 MB / 451.1 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002413, allocations: 1.174 MB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.002471, allocations: 1.688 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.002502, allocations: 19.69 kB / 452.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.002577, allocations: 42.14 kB / 452.3 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.002834, allocations: 155.6 kB / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.003092, allocations: 331.8 kB / 452.8 MB, free: 1.766 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.003191, allocations: 44.8 kB / 452.9 MB, free: 1.727 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.003417, allocations: 203.7 kB / 453.1 MB, free: 1.527 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.00362, allocations: 119.6 kB / 453.2 MB, free: 1.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.003657, allocations: 32 kB / 453.2 MB, free: 1.379 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.003723, allocations: 32 kB / 453.2 MB, free: 1.348 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.003763, allocations: 56.77 kB / 453.3 MB, free: 1.293 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.003818, allocations: 75.86 kB / 453.4 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.004011, allocations: 195.3 kB / 453.6 MB, free: 1.027 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.004021, allocations: 1.656 kB / 453.6 MB, free: 1.027 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004022, allocations: 0 / 453.6 MB, free: 1.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.004032, allocations: 0 / 453.6 MB, free: 1.027 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.0007081/0.00474, allocations: 0.6001 MB / 454.2 MB, free: 420 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.00477, allocations: 14.84 kB / 454.2 MB, free: 408 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.005002, allocations: 146 kB / 454.3 MB, free: 244 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.005107, allocations: 142.3 kB / 454.5 MB, free: 72 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.005325, allocations: 0.4919 MB / 455 MB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.005371, allocations: 28.38 kB / 455 MB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.00559, allocations: 207.8 kB / 455.2 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.005603, allocations: 5.047 kB / 455.2 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.005618, allocations: 12.31 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005627, allocations: 8.828 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.005725, allocations: 69.62 kB / 455.3 MB, free: 15.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.006226, allocations: 0.5048 MB / 455.8 MB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.006411, allocations: 129.4 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.006473, allocations: 67.72 kB / 456 MB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.006504, allocations: 15.98 kB / 456 MB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.006708, allocations: 237.4 kB / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.383e-06/0.006709, allocations: 0 / 456.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0002946/0.007004, allocations: 264.1 kB / 456.5 MB, free: 13.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003213/0.007325, allocations: 110.8 kB / 456.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.007419, allocations: 177.8 kB / 456.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.007445, allocations: 38.83 kB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.007489, allocations: 113.3 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.007572, allocations: 154.8 kB / 457.1 MB, free: 13.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/0.007656, allocations: 107.5 kB / 457.2 MB, free: 13.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.007737, allocations: 350.7 kB / 457.5 MB, free: 12.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.0078, allocations: 57.28 kB / 457.6 MB, free: 12.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.007912, allocations: 169.7 kB / 457.7 MB, free: 12.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.00812, allocations: 262.6 kB / 458 MB, free: 12.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.008124, allocations: 0 / 458 MB, free: 12.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002678/0.008392, allocations: 293.6 kB / 458.3 MB, free: 11.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008403, allocations: 8 kB / 458.3 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008408, allocations: 3.938 kB / 458.3 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.008423, allocations: 8.969 kB / 458.3 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.00863, allocations: 103.8 kB / 458.4 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.008637, allocations: 11.98 kB / 458.4 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.008754, allocations: 61.14 kB / 458.5 MB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.008772, allocations: 19.94 kB / 458.5 MB, free: 11.72 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 9.442e-05/0.008867, allocations: 145.3 kB / 458.6 MB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.008903, allocations: 35.91 kB / 458.7 MB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.008941, allocations: 34.83 kB / 458.7 MB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.008945, allocations: 4 kB / 458.7 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008949, allocations: 5.062 kB / 458.7 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.008954, allocations: 0 / 458.7 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.009109, allocations: 173.6 kB / 458.9 MB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.00911, allocations: 0.625 kB / 458.9 MB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.009307, allocations: 84.52 kB / 459 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.009327, allocations: 27.75 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.00933, allocations: 4.625 kB / 459 MB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.009348, allocations: 7.984 kB / 459 MB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.009352, allocations: 4.625 kB / 459 MB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009352, allocations: 0.625 kB / 459 MB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.009683, allocations: 339.7 kB / 459.3 MB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.009707, allocations: 7.984 kB / 459.3 MB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.009798, allocations: 33.25 kB / 459.4 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.009882, allocations: 65.47 kB / 459.4 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.009897, allocations: 8 kB / 459.4 MB, free: 10.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.00993, allocations: 49.86 kB / 459.5 MB, free: 10.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00993, allocations: 0 / 459.5 MB, free: 10.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.01012, allocations: 91.88 kB / 459.6 MB, free: 10.58 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 7.562e-05/0.01019, allocations: 99.7 kB / 459.7 MB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.01044, allocations: 245.4 kB / 459.9 MB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.01044, allocations: 4 kB / 459.9 MB, free: 10.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01058, allocations: 136.8 kB / 460.1 MB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01082, allocations: 313.2 kB / 460.4 MB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.01189, allocations: 0.5244 MB / 460.9 MB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.01195, allocations: 105.3 kB / 461 MB, free: 9.055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.084e-05/0.01204, allocations: 41.27 kB / 461 MB, free: 9.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.01218, allocations: 116.6 kB / 461.1 MB, free: 8.906 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01218, allocations: 0 / 461.1 MB, free: 8.906 MB / 442.7 MB Notification: Performance of Templates: time 0.005352/0.01753, allocations: 3.96 MB / 465.1 MB, free: 5.219 MB / 442.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.701974111609161]