Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008456/0.0008456, allocations: 80.44 kB / 19.91 MB, free: 4 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.00103/0.00103, allocations: 169.2 kB / 23.19 MB, free: 1.371 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 0.9085/0.9085, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7352/0.7352, allocations: 154.7 MB / 414.7 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009934/0.0009934, allocations: 79.88 kB / 0.6196 GB, free: 13.06 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 FrontEnd - Absyn->SCode: time 0.4977/0.4987, allocations: 101.9 MB / 0.7192 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002514/0.5012, allocations: 1.905 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.5023, allocations: 0.6984 MB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.5024, allocations: 1.406 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.761e-05/0.5024, allocations: 26.91 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.5026, allocations: 45.3 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.5032, allocations: 182.5 kB / 0.722 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.5036, allocations: 323.2 kB / 0.7223 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.5038, allocations: 39.22 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.5042, allocations: 205.8 kB / 0.7225 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.5044, allocations: 135.1 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.5044, allocations: 34.28 kB / 0.7227 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.5045, allocations: 35.53 kB / 0.7227 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.5046, allocations: 80.39 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.5047, allocations: 115.4 kB / 0.7229 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.5051, allocations: 358.2 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.5051, allocations: 1.156 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5051, allocations: 3.938 kB / 0.7232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5051, allocations: 0 / 0.7232 GB, free: 21.11 MB / 0.6355 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.0009033/0.506, allocations: 0.5661 MB / 0.7238 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.5061, allocations: 9.547 kB / 0.7238 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.5063, allocations: 59.41 kB / 0.7239 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.5066, allocations: 201.5 kB / 0.7241 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.5068, allocations: 0.4886 MB / 0.7245 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.5068, allocations: 32.91 kB / 0.7246 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.5072, allocations: 261.4 kB / 0.7248 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5072, allocations: 2.078 kB / 0.7248 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.5072, allocations: 11.42 kB / 0.7248 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5072, allocations: 4.5 kB / 0.7248 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.5075, allocations: 176.8 kB / 0.725 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007141/0.5083, allocations: 0.6498 MB / 0.7256 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.5086, allocations: 193.2 kB / 0.7258 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.5088, allocations: 124.4 kB / 0.7259 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.5088, allocations: 16.88 kB / 0.726 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.5092, allocations: 317.6 kB / 0.7263 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.815e-06/0.5092, allocations: 0 / 0.7263 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.0007598/0.51, allocations: 492.5 kB / 0.7267 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.51, allocations: 116.7 kB / 0.7268 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.5102, allocations: 188.2 kB / 0.727 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.5102, allocations: 43.42 kB / 0.7271 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.5102, allocations: 116.5 kB / 0.7272 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.5103, allocations: 158.9 kB / 0.7273 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5104, allocations: 104.9 kB / 0.7274 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.5105, allocations: 340.1 kB / 0.7277 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.5107, allocations: 150 kB / 0.7279 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.511, allocations: 256.5 kB / 0.7281 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.5114, allocations: 396.5 kB / 0.7285 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5114, allocations: 1.094 kB / 0.7285 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006035/0.512, allocations: 498.6 kB / 0.729 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.512, allocations: 10.06 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.512, allocations: 6.219 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.5121, allocations: 6 kB / 0.729 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5123, allocations: 95.58 kB / 0.7291 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.5123, allocations: 10.19 kB / 0.7291 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.5125, allocations: 58.53 kB / 0.7292 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.5125, allocations: 23.41 kB / 0.7292 GB, free: 17.11 MB / 0.6355 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.0001466/0.5127, allocations: 159.4 kB / 0.7293 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.5127, allocations: 30.09 kB / 0.7294 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.5128, allocations: 36.23 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.5128, allocations: 3.781 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5128, allocations: 5.062 kB / 0.7294 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.5128, allocations: 33.16 kB / 0.7294 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.5128, allocations: 10.31 kB / 0.7295 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.513, allocations: 28.64 kB / 0.7295 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.5131, allocations: 58.95 kB / 0.7295 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007915/0.5139, allocations: 0.6378 MB / 0.7302 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009338/0.5148, allocations: 0.8816 MB / 0.731 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002784/0.5151, allocations: 155.7 kB / 0.7312 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.22e-05/0.5152, allocations: 131.9 kB / 0.7313 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of Backend: time 7.11e-07/0.5152, allocations: 0 / 0.7313 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009066/0.5161, allocations: 342.4 kB / 0.7316 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00103/0.5172, allocations: 1.019 MB / 0.7326 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.01009/0.5272, allocations: 5.529 MB / 0.738 GB, free: 14.3 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.392745577963069] Failed to read output from testmodel.py, exit status != 0: 0.5341794029809535 0.54830612 0.040383851000000005 Calling exit ...