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.001222/0.001222, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.002388/0.002388, allocations: 169 kB / 23.27 MB, free: 1.223 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.05/1.05, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.781/0.781, allocations: 154.9 MB / 415.1 MB, free: 256 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_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.016e-06/3.016e-06, allocations: 0.7656 kB / 0.5212 GB, free: 372 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.491e-05, allocations: 2.312 kB / 0.5212 GB, free: 368 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003128/0.003163, allocations: 1.957 MB / 0.5231 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004419, allocations: 0.7132 MB / 0.5238 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.00456, allocations: 4 kB / 0.5238 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.441e-05/0.004624, allocations: 23.67 kB / 0.5238 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.004756, allocations: 45.14 kB / 0.5239 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.005333, allocations: 179.6 kB / 0.524 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.005725, allocations: 340.2 kB / 0.5244 GB, free: 13.13 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.005899, allocations: 36.91 kB / 0.5244 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.00627, allocations: 195.6 kB / 0.5246 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.00645, allocations: 120.2 kB / 0.5247 GB, free: 12.79 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.006508, allocations: 32.75 kB / 0.5247 GB, free: 12.75 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-05/0.006583, allocations: 39.92 kB / 0.5248 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.006641, allocations: 77.25 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.006722, allocations: 95.77 kB / 0.5249 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.007027, allocations: 239.2 kB / 0.5252 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.00703, allocations: 0 / 0.5252 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007032, allocations: 1.188 kB / 0.5252 GB, free: 12.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.007039, allocations: 0 / 0.5252 GB, free: 12.31 MB / 458.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.000875/0.007914, allocations: 0.6672 MB / 0.5258 GB, free: 11.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.007967, allocations: 8.031 kB / 0.5258 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.008215, allocations: 81.75 kB / 0.5259 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.008467, allocations: 188.8 kB / 0.5261 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.008726, allocations: 0.5005 MB / 0.5266 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.008775, allocations: 28.38 kB / 0.5266 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.009076, allocations: 221.8 kB / 0.5268 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.009092, allocations: 192 / 0.5268 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.009113, allocations: 12.12 kB / 0.5268 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.009123, allocations: 4 kB / 0.5268 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.009245, allocations: 76.36 kB / 0.5269 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.01003, allocations: 0.7525 MB / 0.5276 GB, free: 9.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.01034, allocations: 167 kB / 0.5278 GB, free: 9.363 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.01042, allocations: 75.59 kB / 0.5279 GB, free: 9.277 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.01046, allocations: 10.06 kB / 0.5279 GB, free: 9.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.01076, allocations: 262.2 kB / 0.5281 GB, free: 8.988 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.01077, allocations: 0 / 0.5281 GB, free: 8.988 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.0004895/0.01126, allocations: 340.7 kB / 0.5284 GB, free: 8.656 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.01133, allocations: 119.2 kB / 0.5286 GB, free: 8.516 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.0115, allocations: 235.2 kB / 0.5288 GB, free: 8.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.01153, allocations: 41.7 kB / 0.5288 GB, free: 8.227 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.01161, allocations: 176 kB / 0.529 GB, free: 8.051 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.01172, allocations: 154.7 kB / 0.5291 GB, free: 7.898 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.01184, allocations: 111.9 kB / 0.5292 GB, free: 7.781 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.01201, allocations: 0.5156 MB / 0.5297 GB, free: 7.254 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.252e-05/0.0121, allocations: 69.19 kB / 0.5298 GB, free: 7.188 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01226, allocations: 208.2 kB / 0.53 GB, free: 6.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.01252, allocations: 288 kB / 0.5303 GB, free: 6.605 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01252, allocations: 0 / 0.5303 GB, free: 6.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003858/0.01291, allocations: 369.5 kB / 0.5306 GB, free: 6.238 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.01293, allocations: 8.938 kB / 0.5307 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.01294, allocations: 0 / 0.5307 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.01296, allocations: 8 kB / 0.5307 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.01317, allocations: 92.77 kB / 0.5307 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.01318, allocations: 11.92 kB / 0.5308 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01332, allocations: 57.17 kB / 0.5308 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.01334, allocations: 19.98 kB / 0.5308 GB, free: 6.047 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 0.0001436/0.01348, allocations: 197.2 kB / 0.531 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.01353, allocations: 43.91 kB / 0.5311 GB, free: 5.805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.01359, allocations: 41.94 kB / 0.5311 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.01359, allocations: 4 kB / 0.5311 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.0136, allocations: 0 / 0.5311 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.01361, allocations: 11.05 kB / 0.5311 GB, free: 5.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.01382, allocations: 201 kB / 0.5313 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01382, allocations: 0 / 0.5313 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.01404, allocations: 71.91 kB / 0.5314 GB, free: 5.457 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.01405, allocations: 7.938 kB / 0.5314 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.01407, allocations: 15.92 kB / 0.5314 GB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.01408, allocations: 4.062 kB / 0.5314 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.01408, allocations: 4 kB / 0.5314 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.01459, allocations: 428.6 kB / 0.5318 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.01463, allocations: 27.75 kB / 0.5318 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.01466, allocations: 12 kB / 0.5319 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.01476, allocations: 35.16 kB / 0.5319 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.01487, allocations: 71.89 kB / 0.532 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.01489, allocations: 8 kB / 0.532 GB, free: 4.828 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.216e-05/0.01497, allocations: 172 kB / 0.5321 GB, free: 4.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.01497, allocations: 0 / 0.5321 GB, free: 4.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000242/0.01521, allocations: 80 kB / 0.5322 GB, free: 4.582 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 0.0001669/0.01538, allocations: 122.8 kB / 0.5323 GB, free: 4.457 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.01567, allocations: 256 kB / 0.5326 GB, free: 4.203 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01568, allocations: 0 / 0.5326 GB, free: 4.203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.01582, allocations: 128.4 kB / 0.5327 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01607, allocations: 56.45 kB / 0.5327 GB, free: 4.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.01702, allocations: 0.5663 MB / 0.5333 GB, free: 3.422 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.01708, allocations: 97.61 kB / 0.5334 GB, free: 3.305 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.01719, allocations: 43.27 kB / 0.5334 GB, free: 3.262 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.01735, allocations: 126.2 kB / 0.5335 GB, free: 3.137 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01735, allocations: 0.6875 kB / 0.5335 GB, free: 3.137 MB / 458.7 MB Notification: Performance of Templates: time 0.006994/0.02434, allocations: 4.367 MB / 0.5378 GB, free: 15 MB / 474.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.974290424026549]