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.001915/0.001915, allocations: 84.08 kB / 19.44 MB, free: 332 kB / 13.93 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.001964/0.001964, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.449/1.449, allocations: 154.8 MB / 414.4 MB, free: 476 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 178] 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 3.176e-06/3.176e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.494e-05, allocations: 4 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.004901/0.004936, allocations: 1.937 MB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.006968, allocations: 0.7121 MB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.007107, allocations: 8.719 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.105e-05/0.007178, allocations: 15.75 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.007388, allocations: 47.42 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.008151, allocations: 171.6 kB / 0.5228 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.008773, allocations: 346.9 kB / 0.5231 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.008953, allocations: 36.77 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.009421, allocations: 203.5 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.009719, allocations: 116.2 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.009808, allocations: 32 kB / 0.5235 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.009917, allocations: 33.22 kB / 0.5235 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01003, allocations: 79.77 kB / 0.5236 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.01021, allocations: 91.78 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.01084, allocations: 347.9 kB / 0.524 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.01084, allocations: 0 / 0.524 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01085, allocations: 0 / 0.524 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.01085, allocations: 0.9688 kB / 0.524 GB, free: 14.1 MB / 0.4948 GB 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.001973/0.01283, allocations: 0.6751 MB / 0.5246 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.01288, allocations: 12.02 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.0134, allocations: 73.41 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.01387, allocations: 201.8 kB / 0.5249 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005973/0.01447, allocations: 499.7 kB / 0.5254 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.01456, allocations: 32.36 kB / 0.5254 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.01535, allocations: 263.6 kB / 0.5257 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.01538, allocations: 5.625 kB / 0.5257 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.01542, allocations: 12.06 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01543, allocations: 8 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006543/0.01609, allocations: 167.6 kB / 0.5259 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.01808, allocations: 0.8307 MB / 0.5267 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.01879, allocations: 217.8 kB / 0.5269 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.01921, allocations: 136.8 kB / 0.527 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.01927, allocations: 12 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008381/0.02011, allocations: 323.2 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.02011, allocations: 0 / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001701/0.02181, allocations: 492.3 kB / 0.5278 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.02195, allocations: 122.7 kB / 0.5279 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.02232, allocations: 260.5 kB / 0.5282 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.02239, allocations: 41.64 kB / 0.5282 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.02257, allocations: 172.1 kB / 0.5284 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.02281, allocations: 164.5 kB / 0.5285 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.0231, allocations: 128 kB / 0.5286 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004199/0.02352, allocations: 0.5235 MB / 0.5292 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.024, allocations: 145.2 kB / 0.5293 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/0.02468, allocations: 285.5 kB / 0.5296 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.02578, allocations: 440 kB / 0.53 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.02578, allocations: 0 / 0.53 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001489/0.02727, allocations: 0.5016 MB / 0.5305 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.0273, allocations: 4 kB / 0.5305 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.02731, allocations: 5.875 kB / 0.5305 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.02734, allocations: 4 kB / 0.5305 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.02794, allocations: 99.77 kB / 0.5306 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.318e-05/0.02796, allocations: 7.984 kB / 0.5306 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.02838, allocations: 52.66 kB / 0.5306 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.02845, allocations: 31.92 kB / 0.5307 GB, free: 6.777 MB / 0.4948 GB 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.000324/0.02877, allocations: 209.5 kB / 0.5309 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.0289, allocations: 43.86 kB / 0.5309 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.02902, allocations: 33.95 kB / 0.5309 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.02903, allocations: 4 kB / 0.531 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.02904, allocations: 3.938 kB / 0.531 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.02905, allocations: 7.984 kB / 0.531 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.0296, allocations: 265.2 kB / 0.5312 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.0296, allocations: 0 / 0.5312 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.03024, allocations: 68.56 kB / 0.5313 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.03024, allocations: 7.031 kB / 0.5313 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.0303, allocations: 19.98 kB / 0.5313 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.03031, allocations: 0 / 0.5313 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03031, allocations: 0 / 0.5313 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.03203, allocations: 0.616 MB / 0.5319 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.03209, allocations: 27.75 kB / 0.5319 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.03215, allocations: 8.094 kB / 0.5319 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.03248, allocations: 35.09 kB / 0.532 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.03271, allocations: 75.81 kB / 0.532 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.03276, allocations: 16 kB / 0.5321 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002359/0.033, allocations: 180.2 kB / 0.5322 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.033, allocations: 0 / 0.5322 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005547/0.03355, allocations: 80 kB / 0.5323 GB, free: 5.035 MB / 0.4948 GB 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.0002436/0.0338, allocations: 111.2 kB / 0.5324 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.03506, allocations: 403 kB / 0.5328 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03506, allocations: 3.938 kB / 0.5328 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/0.03565, allocations: 192.3 kB / 0.533 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.03621, allocations: 59.56 kB / 0.533 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.03825, allocations: 0.6001 MB / 0.5336 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.03848, allocations: 158.7 kB / 0.5338 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000238/0.03872, allocations: 38.39 kB / 0.5338 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.03892, allocations: 40.5 kB / 0.5339 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.03892, allocations: 0.875 kB / 0.5339 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of Templates: time 0.0111/0.05002, allocations: 4.047 MB / 0.5378 GB, free: 15.55 MB / 0.5105 GB " [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: 6.290817528031766]