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.0008957/0.0008957, 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.0009199/0.0009199, allocations: 169.6 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.9078/0.9078, allocations: 177.2 MB / 203.6 MB, free: 5.789 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7208/0.7208, allocations: 154.9 MB / 414.9 MB, free: 0.5234 MB / 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: 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.0008269/0.0008269, allocations: 71.88 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.4682, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002223/0.4704, allocations: 1.899 MB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.4713, allocations: 0.7054 MB / 0.7221 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.4714, allocations: 6 kB / 0.7221 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.553e-05/0.4714, allocations: 18 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.528e-05/0.4715, allocations: 46.39 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.4719, allocations: 180.8 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.4722, allocations: 328.4 kB / 0.7226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4724, allocations: 43.5 kB / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.4726, allocations: 202.8 kB / 0.7228 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4727, allocations: 137.9 kB / 0.723 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.4728, allocations: 30.44 kB / 0.723 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.4728, allocations: 32.5 kB / 0.723 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.4729, allocations: 79.62 kB / 0.7231 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.473, allocations: 115.4 kB / 0.7232 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.4733, allocations: 365.5 kB / 0.7236 GB, free: 21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4733, allocations: 1.188 kB / 0.7236 GB, free: 21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4733, allocations: 0 / 0.7236 GB, free: 21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4733, allocations: 4 kB / 0.7236 GB, free: 20.99 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.0007789/0.4741, allocations: 0.5675 MB / 0.7241 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4741, allocations: 10.25 kB / 0.7241 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.4743, allocations: 59.67 kB / 0.7242 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4746, allocations: 194 kB / 0.7244 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.4747, allocations: 499.2 kB / 0.7249 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.4748, allocations: 33.14 kB / 0.7249 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.4751, allocations: 265.8 kB / 0.7251 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4751, allocations: 9.641 kB / 0.7252 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.4751, allocations: 7.516 kB / 0.7252 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.4752, allocations: 5.031 kB / 0.7252 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.4754, allocations: 168.2 kB / 0.7253 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.4761, allocations: 0.6503 MB / 0.726 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.4764, allocations: 199.1 kB / 0.7262 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.4766, allocations: 125.3 kB / 0.7263 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.4766, allocations: 8.531 kB / 0.7263 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.477, allocations: 325.6 kB / 0.7266 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 1.843e-06/0.477, allocations: 0 / 0.7266 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.000725/0.4777, allocations: 495.8 kB / 0.7271 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.4778, allocations: 115.9 kB / 0.7272 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.4779, allocations: 187.1 kB / 0.7274 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4779, allocations: 37.98 kB / 0.7274 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.478, allocations: 118.8 kB / 0.7275 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.4781, allocations: 159.2 kB / 0.7277 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.4782, allocations: 103.5 kB / 0.7278 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.4782, allocations: 341.2 kB / 0.7281 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.4785, allocations: 153.2 kB / 0.7282 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.4787, allocations: 251.9 kB / 0.7285 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.4791, allocations: 388.5 kB / 0.7288 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4791, allocations: 5.094 kB / 0.7288 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005758/0.4797, allocations: 494.8 kB / 0.7293 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4797, allocations: 13.62 kB / 0.7293 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4797, allocations: 8.125 kB / 0.7293 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4797, allocations: 9.453 kB / 0.7293 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.48, allocations: 99.33 kB / 0.7294 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.48, allocations: 6.031 kB / 0.7294 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.4801, allocations: 54.73 kB / 0.7295 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.4801, allocations: 19.92 kB / 0.7295 GB, free: 17 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.0001027/0.4803, allocations: 163.1 kB / 0.7297 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.4803, allocations: 30.12 kB / 0.7297 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.4803, allocations: 36.61 kB / 0.7297 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4803, allocations: 3.781 kB / 0.7297 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4803, allocations: 1.188 kB / 0.7297 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.4804, allocations: 32.73 kB / 0.7298 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4804, allocations: 9.547 kB / 0.7298 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4805, allocations: 29.36 kB / 0.7298 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4806, allocations: 62.42 kB / 0.7299 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006613/0.4813, allocations: 0.6363 MB / 0.7305 GB, free: 16.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008018/0.4821, allocations: 0.8806 MB / 0.7313 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000241/0.4823, allocations: 160.8 kB / 0.7315 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.487e-05/0.4824, allocations: 131.9 kB / 0.7316 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of Backend: time 2.61e-07/0.4824, allocations: 3.938 kB / 0.7316 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.4831, allocations: 336.4 kB / 0.7319 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006881/0.4838, allocations: 1.019 MB / 0.7329 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.007468/0.4912, allocations: 5.531 MB / 0.7383 GB, free: 14.19 MB / 0.6355 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.220979888923466] Failed to read output from testmodel.py, exit status != 0: 0.49615072505548596 0.509623638 0.033716997000000005 Calling exit ...