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.001313/0.001313, allocations: 92.22 kB / 19.65 MB, free: 280 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.001286/0.001286, allocations: 169 kB / 23.02 MB, free: 1.551 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.086/1.086, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.7904/0.7904, allocations: 154.9 MB / 414.8 MB, free: 396 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 2.034e-06/2.034e-06, allocations: 0 / 0.5208 GB, free: 1.738 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.643e-05, allocations: 3.219 kB / 0.5208 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002336/0.002362, allocations: 1.065 MB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004003, allocations: 1.15 MB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.0041, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.86e-05/0.004158, allocations: 19.73 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.0043, allocations: 44.3 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.004816, allocations: 165.3 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.005188, allocations: 339 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.00534, allocations: 28.58 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.005671, allocations: 193.1 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.005846, allocations: 123.5 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.005894, allocations: 28 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.005972, allocations: 32.78 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.006039, allocations: 83.77 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.006145, allocations: 104.5 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.006452, allocations: 235.2 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006454, allocations: 3.125 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.71e-07/0.006455, allocations: 0 / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.006461, allocations: 0 / 0.5243 GB, free: 14.17 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.001076/0.007537, allocations: 0.6501 MB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.007585, allocations: 16.02 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.007887, allocations: 73.7 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.008027, allocations: 142.1 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.008321, allocations: 495.7 kB / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.008378, allocations: 32.36 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.008792, allocations: 233 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.008808, allocations: 0.6875 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.008838, allocations: 16.36 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.008851, allocations: 9.156 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.009088, allocations: 87.88 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.01008, allocations: 0.7831 MB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.01045, allocations: 171.4 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.01061, allocations: 87.58 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.01065, allocations: 12 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.01106, allocations: 270.3 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.356e-06/0.01106, allocations: 1 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.000747/0.01181, allocations: 379.3 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.01187, allocations: 120 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.01204, allocations: 231.7 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.01208, allocations: 37.7 kB / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.01216, allocations: 173.2 kB / 0.5281 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.01228, allocations: 154.8 kB / 0.5283 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.01242, allocations: 112 kB / 0.5284 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01258, allocations: 0.5126 MB / 0.5289 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.01277, allocations: 81.27 kB / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.01304, allocations: 227.2 kB / 0.5292 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.01348, allocations: 329.6 kB / 0.5295 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.01349, allocations: 0 / 0.5295 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006517/0.01414, allocations: 401.6 kB / 0.5299 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.01416, allocations: 8 kB / 0.5299 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01416, allocations: 0 / 0.5299 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01419, allocations: 9.344 kB / 0.5299 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.0145, allocations: 99.77 kB / 0.53 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.01452, allocations: 7.938 kB / 0.53 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.01471, allocations: 58.5 kB / 0.53 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.01475, allocations: 20 kB / 0.5301 GB, free: 7.738 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.0001513/0.0149, allocations: 202.4 kB / 0.5303 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.01497, allocations: 42.12 kB / 0.5303 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.01502, allocations: 33.95 kB / 0.5303 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.01503, allocations: 8 kB / 0.5303 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.01504, allocations: 0 / 0.5303 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.01505, allocations: 3.938 kB / 0.5303 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.01531, allocations: 236.3 kB / 0.5306 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01531, allocations: 0.75 kB / 0.5306 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.01563, allocations: 75.89 kB / 0.5306 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.01563, allocations: 0.9062 kB / 0.5306 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.01567, allocations: 15.98 kB / 0.5307 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01567, allocations: 0 / 0.5307 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01568, allocations: 6.125 kB / 0.5307 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.01644, allocations: 470.7 kB / 0.5311 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.01647, allocations: 27.75 kB / 0.5311 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.01651, allocations: 8 kB / 0.5311 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.01668, allocations: 33.34 kB / 0.5312 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.01682, allocations: 63.94 kB / 0.5312 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.01685, allocations: 27.98 kB / 0.5313 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.628e-05/0.01695, allocations: 160.7 kB / 0.5314 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01695, allocations: 3.438 kB / 0.5314 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003655/0.01731, allocations: 83.98 kB / 0.5315 GB, free: 6.207 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.0001773/0.01749, allocations: 109.1 kB / 0.5316 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005474/0.01804, allocations: 288 kB / 0.5319 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01804, allocations: 0 / 0.5319 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.01828, allocations: 148 kB / 0.532 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01862, allocations: 52 kB / 0.5321 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01991, allocations: 0.5679 MB / 0.5326 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.918e-05/0.01999, allocations: 93.61 kB / 0.5327 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001465/0.02014, allocations: 43.77 kB / 0.5328 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.02027, allocations: 36.5 kB / 0.5328 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of SimCode: time 1.213e-06/0.02027, allocations: 0 / 0.5328 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of Templates: time 0.008543/0.02881, allocations: 4.256 MB / 0.5369 GB, free: 0.7812 MB / 0.4948 GB " [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.929860472213477]