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.0007338/0.0007338, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001812, 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.0007231/0.0007231, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001775, 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 0.9864/0.9864, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09794/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.9281/0.9281, allocations: 155.4 MB / 399.5 MB, free: 15.8 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.3042/1.232, allocations: 49.13 MB / 448.6 MB, free: 5.891 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.956e-06/2.956e-06, allocations: 0 / 450 MB, free: 4.516 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.89e-05, allocations: 4.703 kB / 450 MB, free: 4.512 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003536/0.003565, allocations: 2.01 MB / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.00479, allocations: 0.7444 MB / 452.8 MB, free: 1.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004908, allocations: 0 / 452.8 MB, free: 1.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.723e-05/0.004955, allocations: 23.67 kB / 452.8 MB, free: 1.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.00506, allocations: 45.94 kB / 452.8 MB, free: 1.742 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.005438, allocations: 177.6 kB / 453 MB, free: 1.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.00574, allocations: 330.9 kB / 453.3 MB, free: 1.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.00587, allocations: 42.77 kB / 453.4 MB, free: 1.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.006156, allocations: 212.5 kB / 453.6 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.006312, allocations: 119.6 kB / 453.7 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.00635, allocations: 28.88 kB / 453.7 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.00643, allocations: 32 kB / 453.8 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.006479, allocations: 56.86 kB / 453.8 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.00654, allocations: 75.8 kB / 453.9 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.00676, allocations: 199.3 kB / 454.1 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.006774, allocations: 0.625 kB / 454.1 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.006776, allocations: 1.281 kB / 454.1 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.006786, allocations: 0 / 454.1 MB, free: 0.4961 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.000828/0.007614, allocations: 0.5983 MB / 454.7 MB, free: 15.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.007653, allocations: 8.656 kB / 454.7 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.007908, allocations: 147 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.008125, allocations: 171.2 kB / 455 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.00834, allocations: 0.4886 MB / 455.5 MB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.008387, allocations: 33.22 kB / 455.5 MB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.008634, allocations: 211.8 kB / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.008649, allocations: 12.72 kB / 455.8 MB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.008666, allocations: 8.125 kB / 455.8 MB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.008674, allocations: 9.438 kB / 455.8 MB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.00878, allocations: 72.02 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.009341, allocations: 0.5099 MB / 456.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.00967, allocations: 131.6 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.009736, allocations: 62.56 kB / 456.5 MB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.009772, allocations: 16.83 kB / 456.6 MB, free: 13.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.01, allocations: 236.1 kB / 456.8 MB, free: 13.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.414e-06/0.01, allocations: 4.562 kB / 456.8 MB, free: 13.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0003326/0.01034, allocations: 250.2 kB / 457 MB, free: 13.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.0104, allocations: 119.1 kB / 457.2 MB, free: 13.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.01051, allocations: 185.5 kB / 457.3 MB, free: 12.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.01053, allocations: 38.33 kB / 457.4 MB, free: 12.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.01058, allocations: 118.7 kB / 457.5 MB, free: 12.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.01067, allocations: 154.8 kB / 457.6 MB, free: 12.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.01076, allocations: 106.3 kB / 457.7 MB, free: 12.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.01085, allocations: 346.8 kB / 458.1 MB, free: 12.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.01092, allocations: 59.41 kB / 458.1 MB, free: 12.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.01104, allocations: 164.8 kB / 458.3 MB, free: 11.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.01126, allocations: 263.4 kB / 458.6 MB, free: 11.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01127, allocations: 0 / 458.6 MB, free: 11.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002968/0.01156, allocations: 289.5 kB / 458.8 MB, free: 11.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01158, allocations: 7.938 kB / 458.8 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.01159, allocations: 4.719 kB / 458.9 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.01161, allocations: 8.875 kB / 458.9 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.01185, allocations: 113.3 kB / 459 MB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.01186, allocations: 4 kB / 459 MB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01198, allocations: 64.8 kB / 459 MB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.012, allocations: 12.56 kB / 459.1 MB, free: 11.16 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.000117/0.01211, allocations: 153 kB / 459.2 MB, free: 11.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.01216, allocations: 36.56 kB / 459.2 MB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.0122, allocations: 29.97 kB / 459.3 MB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01221, allocations: 4.625 kB / 459.3 MB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01221, allocations: 0 / 459.3 MB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.01222, allocations: 12.55 kB / 459.3 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01239, allocations: 174.3 kB / 459.5 MB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01239, allocations: 0 / 459.5 MB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.01261, allocations: 80.42 kB / 459.5 MB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.01263, allocations: 27.75 kB / 459.6 MB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.01263, allocations: 6.688 kB / 459.6 MB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.01266, allocations: 11.98 kB / 459.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.01266, allocations: 4.844 kB / 459.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.01266, allocations: 3.938 kB / 459.6 MB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.01304, allocations: 329.2 kB / 459.9 MB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.01307, allocations: 12 kB / 459.9 MB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01317, allocations: 28.97 kB / 459.9 MB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.01327, allocations: 68.52 kB / 460 MB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.01329, allocations: 4 kB / 460 MB, free: 10.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.209e-05/0.01333, allocations: 62.66 kB / 460.1 MB, free: 10.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 4 kB / 460.1 MB, free: 10.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.01353, allocations: 91.81 kB / 460.2 MB, free: 10 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.0001333/0.01367, allocations: 95.23 kB / 460.3 MB, free: 9.906 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.01395, allocations: 240.7 kB / 460.5 MB, free: 9.672 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/0.01396, allocations: 7.984 kB / 460.5 MB, free: 9.664 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01411, allocations: 135.9 kB / 460.6 MB, free: 9.527 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.0144, allocations: 309.4 kB / 460.9 MB, free: 9.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.0157, allocations: 0.5408 MB / 461.5 MB, free: 8.594 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.01e-05/0.01576, allocations: 101.6 kB / 461.6 MB, free: 8.473 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.01586, allocations: 41.52 kB / 461.6 MB, free: 8.441 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.01602, allocations: 111.3 kB / 461.7 MB, free: 8.332 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01602, allocations: 0 / 461.7 MB, free: 8.332 MB / 442.7 MB Notification: Performance of Templates: time 0.006029/0.02205, allocations: 3.977 MB / 465.7 MB, free: 4.633 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.740650137886405]