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.001375/0.001375, allocations: 88.72 kB / 19.44 MB, free: 352 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.001512/0.001512, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.232/1.232, allocations: 154.8 MB / 414.3 MB, free: 460 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 2.685e-06/2.685e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.867e-05, allocations: 6.312 kB / 0.5199 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003369/0.003397, allocations: 1.908 MB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.004877, allocations: 0.6965 MB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.004961, allocations: 4 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.005021, allocations: 23.67 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.005164, allocations: 41.75 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.005677, allocations: 187.1 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.006112, allocations: 339 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.006246, allocations: 38.11 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.006577, allocations: 207.5 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.006774, allocations: 112.4 kB / 0.5234 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.006829, allocations: 32 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.006907, allocations: 35.16 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.006991, allocations: 79.77 kB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.007118, allocations: 95.77 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.00754, allocations: 342.9 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.007543, allocations: 0 / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.007544, allocations: 0 / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.007549, allocations: 0 / 0.5239 GB, free: 14.11 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.001336/0.008886, allocations: 0.5676 MB / 0.5245 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.008925, allocations: 8.031 kB / 0.5245 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.009324, allocations: 77.7 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.009713, allocations: 202.5 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/0.01017, allocations: 495.7 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.01024, allocations: 32.31 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.01078, allocations: 256.4 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.0108, allocations: 4.188 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.01084, allocations: 16.11 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01085, allocations: 4.812 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.01133, allocations: 173.1 kB / 0.5257 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.01245, allocations: 0.6654 MB / 0.5263 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.013, allocations: 200.4 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.01327, allocations: 126 kB / 0.5267 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.01332, allocations: 11.98 kB / 0.5267 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.01388, allocations: 300.2 kB / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.01388, allocations: 0 / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001166/0.01505, allocations: 0.4967 MB / 0.5274 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.01515, allocations: 122.7 kB / 0.5276 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01535, allocations: 181.1 kB / 0.5277 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.01539, allocations: 37.7 kB / 0.5278 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.01549, allocations: 117.3 kB / 0.5279 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.01565, allocations: 163.5 kB / 0.528 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.01583, allocations: 102.3 kB / 0.5281 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.01603, allocations: 347.8 kB / 0.5285 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.01635, allocations: 149.2 kB / 0.5286 GB, free: 9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.01691, allocations: 253.5 kB / 0.5288 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.01763, allocations: 395.4 kB / 0.5292 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.01764, allocations: 4 kB / 0.5292 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009911/0.01863, allocations: 0.5105 MB / 0.5297 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.01865, allocations: 11.73 kB / 0.5297 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.01866, allocations: 4 kB / 0.5297 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.01869, allocations: 4 kB / 0.5297 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.01911, allocations: 102.2 kB / 0.5298 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.01912, allocations: 4 kB / 0.5298 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.01941, allocations: 63.7 kB / 0.5299 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.01945, allocations: 20 kB / 0.5299 GB, free: 7.578 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.0002001/0.01965, allocations: 166.3 kB / 0.5301 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-05/0.01974, allocations: 39.86 kB / 0.5301 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.01982, allocations: 33.95 kB / 0.5302 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.01982, allocations: 4 kB / 0.5302 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.01983, allocations: 7.938 kB / 0.5302 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01984, allocations: 0 / 0.5302 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.02018, allocations: 241.9 kB / 0.5304 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02018, allocations: 0 / 0.5304 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.02059, allocations: 77.02 kB / 0.5305 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.0206, allocations: 7.938 kB / 0.5305 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.02064, allocations: 15.94 kB / 0.5305 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.02064, allocations: 1.406 kB / 0.5305 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.02065, allocations: 4 kB / 0.5305 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.02196, allocations: 0.597 MB / 0.5311 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.022, allocations: 31.75 kB / 0.5311 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.02205, allocations: 8.531 kB / 0.5311 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.02229, allocations: 29.28 kB / 0.5311 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.02247, allocations: 67.88 kB / 0.5312 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.02251, allocations: 20.52 kB / 0.5312 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001603/0.02267, allocations: 129.1 kB / 0.5314 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02267, allocations: 0 / 0.5314 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003565/0.02302, allocations: 83.98 kB / 0.5314 GB, free: 5.98 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.0002052/0.02323, allocations: 112.7 kB / 0.5315 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008472/0.02408, allocations: 356.7 kB / 0.5319 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.02408, allocations: 1.219 kB / 0.5319 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.02449, allocations: 186.9 kB / 0.5321 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.02486, allocations: 56.56 kB / 0.5321 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.02613, allocations: 0.5968 MB / 0.5327 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.02629, allocations: 159.9 kB / 0.5329 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.02645, allocations: 38.36 kB / 0.5329 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.02661, allocations: 48.48 kB / 0.5329 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.02661, allocations: 0 / 0.5329 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of Templates: time 0.009652/0.03626, allocations: 4.038 MB / 0.5369 GB, free: 0.5625 MB / 0.4948 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.025694653973915]