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.001232/0.001232, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001063/0.001063, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7847/0.7847, allocations: 154.9 MB / 415.1 MB, free: 208 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 179] 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,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.453e-06/1.453e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.138e-05, allocations: 2.938 kB / 480.4 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001512/0.001534, allocations: 1.042 MB / 481.5 MB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002775, allocations: 1.175 MB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.002842, allocations: 0 / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.002875, allocations: 19.73 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.002969, allocations: 43.98 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.003322, allocations: 163.4 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.003562, allocations: 335.7 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003674, allocations: 39.28 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.003943, allocations: 199.7 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.004067, allocations: 120.4 kB / 483.5 MB, free: 3.387 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.004101, allocations: 28 kB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/0.004153, allocations: 36.66 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.004197, allocations: 75.77 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.004258, allocations: 106 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.004451, allocations: 235.2 kB / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004453, allocations: 0 / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004453, allocations: 0.5312 kB / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004457, allocations: 0 / 484 MB, free: 2.918 MB / 442.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.0005945/0.005051, allocations: 0.53 MB / 484.6 MB, free: 2.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.005079, allocations: 12.94 kB / 484.6 MB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.005242, allocations: 73.66 kB / 484.6 MB, free: 2.285 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.005327, allocations: 142.3 kB / 484.8 MB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.005544, allocations: 497.5 kB / 485.3 MB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.005581, allocations: 24.38 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.005797, allocations: 224.3 kB / 485.5 MB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.00581, allocations: 4.766 kB / 485.5 MB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.005825, allocations: 8.375 kB / 485.5 MB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.005834, allocations: 12.73 kB / 485.5 MB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.005929, allocations: 63.91 kB / 485.6 MB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.006449, allocations: 0.5024 MB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.006635, allocations: 133.5 kB / 486.2 MB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.006703, allocations: 63.38 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.006732, allocations: 15.98 kB / 486.3 MB, free: 424 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.006923, allocations: 242.6 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 1.232e-06/0.006924, allocations: 4 kB / 486.5 MB, free: 160 kB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.0002926/0.007216, allocations: 253.1 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.007266, allocations: 114.8 kB / 486.9 MB, free: 15.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.007353, allocations: 181.4 kB / 487.1 MB, free: 15.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.007378, allocations: 38.7 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.00742, allocations: 113.3 kB / 487.2 MB, free: 15.42 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.907e-05/0.007499, allocations: 154.8 kB / 487.4 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/0.007583, allocations: 103 kB / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.007672, allocations: 354.6 kB / 487.8 MB, free: 14.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.007739, allocations: 62.34 kB / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.007851, allocations: 160.8 kB / 488 MB, free: 14.56 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.008052, allocations: 265.8 kB / 488.3 MB, free: 14.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.008056, allocations: 0.7812 kB / 488.3 MB, free: 14.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0002655/0.008321, allocations: 289.6 kB / 488.6 MB, free: 13.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.008332, allocations: 4.906 kB / 488.6 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.008338, allocations: 4 kB / 488.6 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.008349, allocations: 4.719 kB / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.008529, allocations: 91.83 kB / 488.7 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.008538, allocations: 17.08 kB / 488.7 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.008655, allocations: 61.58 kB / 488.8 MB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.008674, allocations: 19.94 kB / 488.8 MB, free: 13.78 MB / 458.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.465e-05/0.008768, allocations: 147.7 kB / 488.9 MB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.008804, allocations: 32.72 kB / 489 MB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.008837, allocations: 33.95 kB / 489 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.008841, allocations: 4.688 kB / 489 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.008845, allocations: 4 kB / 489 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.008849, allocations: 1.312 kB / 489 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.009002, allocations: 176.8 kB / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009004, allocations: 0 / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.009191, allocations: 76.92 kB / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009193, allocations: 0 / 489.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.00921, allocations: 8 kB / 489.3 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.009213, allocations: 4.969 kB / 489.3 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009214, allocations: 0 / 489.3 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.009539, allocations: 335.5 kB / 489.6 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.009562, allocations: 36.48 kB / 489.6 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.009594, allocations: 16 kB / 489.6 MB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.009684, allocations: 29.5 kB / 489.7 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.00977, allocations: 59.91 kB / 489.7 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.009784, allocations: 15.98 kB / 489.7 MB, free: 12.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.009818, allocations: 42.59 kB / 489.8 MB, free: 12.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009818, allocations: 0 / 489.8 MB, free: 12.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.01001, allocations: 77.22 kB / 489.9 MB, free: 12.66 MB / 458.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 9.825e-05/0.01011, allocations: 106.7 kB / 490 MB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.01035, allocations: 240.5 kB / 490.2 MB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01035, allocations: 1 kB / 490.2 MB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01046, allocations: 117.6 kB / 490.3 MB, free: 12.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.01062, allocations: 56.75 kB / 490.4 MB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.01136, allocations: 0.5452 MB / 490.9 MB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01141, allocations: 93.61 kB / 491 MB, free: 11.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.15e-05/0.0115, allocations: 50.44 kB / 491.1 MB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.01164, allocations: 107.3 kB / 491.2 MB, free: 11.31 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01164, allocations: 0 / 491.2 MB, free: 11.31 MB / 458.7 MB Notification: Performance of Templates: time 0.005372/0.01701, allocations: 3.933 MB / 495.1 MB, free: 7.652 MB / 458.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.696310905739665]