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.001133/0.001133, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001736/0.002868, allocations: 435.8 kB / 10.33 MB, free: 368 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.001165/0.001165, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002799, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.049/1.049, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09914/1.149, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8722/0.8722, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3209/1.193, allocations: 49.13 MB / 448.4 MB, free: 6.035 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.984e-06/1.984e-06, allocations: 0 / 449.8 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.363e-05, allocations: 4.141 kB / 449.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002424/0.002448, allocations: 1.082 MB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.004152, allocations: 1.172 MB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.004261, allocations: 0 / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.004315, allocations: 20.45 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.004443, allocations: 43.64 kB / 452.1 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.005033, allocations: 157.6 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.005452, allocations: 323.1 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.005601, allocations: 50.39 kB / 452.6 MB, free: 1.891 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.006011, allocations: 207.4 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.006216, allocations: 116.5 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.006271, allocations: 32 kB / 452.9 MB, free: 1.547 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006384, allocations: 33 kB / 453 MB, free: 1.516 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.006442, allocations: 51.86 kB / 453 MB, free: 1.465 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.006529, allocations: 75.86 kB / 453.1 MB, free: 1.391 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.006843, allocations: 200.2 kB / 453.3 MB, free: 1.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.871e-05/0.006862, allocations: 0 / 453.3 MB, free: 1.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006864, allocations: 0 / 453.3 MB, free: 1.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.006885, allocations: 4.438 kB / 453.3 MB, free: 1.191 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.001109/0.007994, allocations: 0.5974 MB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.008032, allocations: 12.03 kB / 453.9 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.008368, allocations: 146.5 kB / 454.1 MB, free: 412 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.00852, allocations: 146.8 kB / 454.2 MB, free: 236 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.008824, allocations: 499.7 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.008885, allocations: 30.03 kB / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.009231, allocations: 211.8 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.009249, allocations: 4.141 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.009272, allocations: 8.375 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.009282, allocations: 8.844 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.00945, allocations: 67.89 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/0.01028, allocations: 0.5029 MB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.01057, allocations: 127.6 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.01067, allocations: 66.77 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.01071, allocations: 20.7 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.01104, allocations: 237.5 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.238e-06/0.01104, allocations: 1.359 kB / 456 MB, free: 14.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0004618/0.01151, allocations: 263 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.01157, allocations: 110.8 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01171, allocations: 173.2 kB / 456.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.01175, allocations: 37.7 kB / 456.5 MB, free: 13.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.01183, allocations: 117.9 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.01195, allocations: 154.8 kB / 456.8 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.01209, allocations: 107.1 kB / 456.9 MB, free: 13.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.01222, allocations: 354.7 kB / 457.2 MB, free: 12.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.01233, allocations: 57.91 kB / 457.3 MB, free: 12.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01252, allocations: 160.7 kB / 457.5 MB, free: 12.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.01285, allocations: 259.4 kB / 457.7 MB, free: 12.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.01285, allocations: 0 / 457.7 MB, free: 12.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004381/0.01329, allocations: 299.1 kB / 458 MB, free: 12.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.01331, allocations: 4 kB / 458 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.01332, allocations: 6.094 kB / 458 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.01334, allocations: 4 kB / 458 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.01371, allocations: 107.8 kB / 458.1 MB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.01373, allocations: 7.984 kB / 458.1 MB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.01395, allocations: 60.61 kB / 458.2 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.01398, allocations: 15.94 kB / 458.2 MB, free: 11.9 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.0001583/0.01414, allocations: 148.9 kB / 458.4 MB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.0142, allocations: 32.59 kB / 458.4 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.01427, allocations: 34.55 kB / 458.4 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01427, allocations: 8 kB / 458.4 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.01428, allocations: 0.6562 kB / 458.4 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.01429, allocations: 0 / 458.4 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.01457, allocations: 179.7 kB / 458.6 MB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.01458, allocations: 4.5 kB / 458.6 MB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.01495, allocations: 83.89 kB / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.01499, allocations: 28.38 kB / 458.7 MB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.01499, allocations: 4.812 kB / 458.7 MB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.01503, allocations: 11.98 kB / 458.7 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.01504, allocations: 1.219 kB / 458.7 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01504, allocations: 4 kB / 458.7 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.01558, allocations: 335 kB / 459.1 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.01564, allocations: 12.72 kB / 459.1 MB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.01579, allocations: 32.86 kB / 459.1 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/0.01616, allocations: 64.91 kB / 459.2 MB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.01618, allocations: 4 kB / 459.2 MB, free: 10.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.65e-05/0.01623, allocations: 51.56 kB / 459.2 MB, free: 10.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01623, allocations: 0.625 kB / 459.2 MB, free: 10.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.01657, allocations: 91.88 kB / 459.3 MB, free: 10.75 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.0001585/0.01673, allocations: 90.17 kB / 459.4 MB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.01713, allocations: 244.1 kB / 459.6 MB, free: 10.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.01714, allocations: 4 kB / 459.6 MB, free: 10.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.01731, allocations: 115.7 kB / 459.8 MB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01759, allocations: 78.25 kB / 459.8 MB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.01955, allocations: 0.5418 MB / 460.4 MB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.913e-05/0.01964, allocations: 101.3 kB / 460.5 MB, free: 9.527 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.01981, allocations: 39.47 kB / 460.5 MB, free: 9.492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.02002, allocations: 111.9 kB / 460.6 MB, free: 9.383 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.02002, allocations: 0 / 460.6 MB, free: 9.383 MB / 442.7 MB Notification: Performance of Templates: time 0.008892/0.02891, allocations: 4.028 MB / 464.7 MB, free: 5.641 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.8814669651910663]