Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007964/0.0007964, 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.001002/0.001002, 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.9113/0.9113, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7335/0.7335, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [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.001097/0.001097, allocations: 73.55 kB / 0.6196 GB, free: 11.96 MB / 0.5417 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.4878/0.4889, allocations: 102 MB / 0.7192 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001579/0.4904, allocations: 1.023 MB / 0.7202 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.4914, allocations: 1.129 MB / 0.7213 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.4914, allocations: 0 / 0.7213 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.4915, allocations: 19.69 kB / 0.7213 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.4916, allocations: 47.56 kB / 0.7214 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.4919, allocations: 163.1 kB / 0.7215 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.4922, allocations: 331.1 kB / 0.7218 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4923, allocations: 32.58 kB / 0.7219 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.4925, allocations: 207.5 kB / 0.7221 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4926, allocations: 135.4 kB / 0.7222 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.4927, allocations: 32 kB / 0.7222 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.4927, allocations: 28 kB / 0.7222 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.4928, allocations: 83.73 kB / 0.7223 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.4929, allocations: 115.5 kB / 0.7224 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.4931, allocations: 354.7 kB / 0.7228 GB, free: 9.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4931, allocations: 4 kB / 0.7228 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4931, allocations: 0 / 0.7228 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4931, allocations: 4 kB / 0.7228 GB, free: 9.973 MB / 0.6042 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.0007324/0.4939, allocations: 0.5636 MB / 0.7233 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4939, allocations: 8.031 kB / 0.7233 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.4941, allocations: 56.75 kB / 0.7234 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.4942, allocations: 143 kB / 0.7235 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/0.4946, allocations: 0.4919 MB / 0.724 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.4947, allocations: 28.33 kB / 0.724 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.495, allocations: 267.1 kB / 0.7243 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.495, allocations: 7.938 kB / 0.7243 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.495, allocations: 7.984 kB / 0.7243 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.495, allocations: 8 kB / 0.7243 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.4953, allocations: 179.8 kB / 0.7245 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.4959, allocations: 0.6447 MB / 0.7251 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.4962, allocations: 195.7 kB / 0.7253 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.4964, allocations: 134.5 kB / 0.7254 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.4964, allocations: 4.219 kB / 0.7254 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.4968, allocations: 324 kB / 0.7257 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.4968, allocations: 0 / 0.7257 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.000639/0.4974, allocations: 495.1 kB / 0.7262 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.4975, allocations: 118.8 kB / 0.7263 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4976, allocations: 173.8 kB / 0.7265 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.4976, allocations: 41.7 kB / 0.7265 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.4976, allocations: 117.3 kB / 0.7266 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.4977, allocations: 156 kB / 0.7268 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/0.4978, allocations: 102.3 kB / 0.7269 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.4979, allocations: 342.8 kB / 0.7272 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.4981, allocations: 149.2 kB / 0.7274 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.4983, allocations: 256.7 kB / 0.7276 GB, free: 4.652 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.4987, allocations: 398.1 kB / 0.728 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4987, allocations: 0 / 0.728 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004934/0.4992, allocations: 485 kB / 0.7284 GB, free: 3.742 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4992, allocations: 15.98 kB / 0.7285 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4992, allocations: 4 kB / 0.7285 GB, free: 3.723 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4992, allocations: 7.938 kB / 0.7285 GB, free: 3.715 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.4994, allocations: 95.83 kB / 0.7286 GB, free: 3.621 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4994, allocations: 7.938 kB / 0.7286 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4996, allocations: 59.69 kB / 0.7286 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4996, allocations: 20 kB / 0.7286 GB, free: 3.535 MB / 0.6042 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.0001119/0.4997, allocations: 172.6 kB / 0.7288 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4997, allocations: 27.81 kB / 0.7288 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.4998, allocations: 33.95 kB / 0.7289 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4998, allocations: 4.031 kB / 0.7289 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4998, allocations: 0 / 0.7289 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.4998, allocations: 31.78 kB / 0.7289 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.4998, allocations: 11.98 kB / 0.7289 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.4999, allocations: 39.91 kB / 0.729 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.5, allocations: 51.91 kB / 0.729 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000602/0.5006, allocations: 0.6344 MB / 0.7296 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008099/0.5014, allocations: 0.884 MB / 0.7305 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006351/0.5021, allocations: 157 kB / 0.7306 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.755e-05/0.5021, allocations: 124.3 kB / 0.7308 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of Backend: time 9.82e-07/0.5021, allocations: 4 kB / 0.7308 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007232/0.5028, allocations: 336.4 kB / 0.7311 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009213/0.5038, allocations: 1.012 MB / 0.7321 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.006617/0.5104, allocations: 5.522 MB / 0.7375 GB, free: 10.52 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.387855398003012] Failed to read output from testmodel.py, exit status != 0: 0.516711900010705 0.529870662 0.034083757 Calling exit ...