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.001942/0.001942, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 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.001568/0.001568, allocations: 214.4 kB / 22.24 MB, free: 5.105 MB / 14.72 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 1.317/1.317, allocations: 203.5 MB / 0.5038 GB, free: 4.895 MB / 414.1 MB " [Timeout remaining time 178] 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.002279/0.002279, allocations: 67.89 kB / 0.7183 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5835/0.5858, allocations: 102 MB / 0.8179 GB, free: 29.06 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002136/0.5879, allocations: 1.02 MB / 0.8189 GB, free: 28.44 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.5893, allocations: 1.13 MB / 0.82 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.5894, allocations: 2.438 kB / 0.82 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.659e-05/0.5894, allocations: 22.27 kB / 0.82 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.5895, allocations: 37.86 kB / 0.8201 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.59, allocations: 154 kB / 0.8202 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.5904, allocations: 331 kB / 0.8205 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.5905, allocations: 38.11 kB / 0.8206 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.5908, allocations: 142.4 kB / 0.8207 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.591, allocations: 138.2 kB / 0.8208 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.5911, allocations: 29.56 kB / 0.8209 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.5912, allocations: 31.75 kB / 0.8209 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.5913, allocations: 80.11 kB / 0.821 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.5914, allocations: 114.8 kB / 0.8211 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.5918, allocations: 321.1 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5918, allocations: 0.5312 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5918, allocations: 0.6562 kB / 0.8214 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5918, allocations: 2.438 kB / 0.8214 GB, free: 26.98 MB / 0.6387 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.001281/0.5931, allocations: 0.5573 MB / 0.8219 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5931, allocations: 12.44 kB / 0.8219 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.5935, allocations: 58.81 kB / 0.822 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5936, allocations: 153.3 kB / 0.8221 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5938, allocations: 495.9 kB / 0.8226 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.5938, allocations: 36.67 kB / 0.8226 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.5943, allocations: 252.8 kB / 0.8229 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5943, allocations: 6.516 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.5944, allocations: 12.67 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5944, allocations: 5.219 kB / 0.8229 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000413/0.5948, allocations: 173.7 kB / 0.8231 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.5957, allocations: 0.6519 MB / 0.8237 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.5962, allocations: 196.8 kB / 0.8239 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.5964, allocations: 129.4 kB / 0.824 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.5964, allocations: 12.84 kB / 0.824 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.597, allocations: 316 kB / 0.8243 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.597, allocations: 1.031 kB / 0.8243 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.001021/0.598, allocations: 499.4 kB / 0.8248 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.5981, allocations: 117.5 kB / 0.8249 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.5982, allocations: 175.5 kB / 0.8251 GB, free: 24.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.5982, allocations: 38.55 kB / 0.8251 GB, free: 24.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.5983, allocations: 121.4 kB / 0.8252 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/0.5984, allocations: 153.9 kB / 0.8254 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.5985, allocations: 105.3 kB / 0.8255 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.5986, allocations: 343.9 kB / 0.8258 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.5989, allocations: 144.3 kB / 0.826 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.5992, allocations: 260.2 kB / 0.8262 GB, free: 23.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.5998, allocations: 389 kB / 0.8266 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5998, allocations: 1.125 kB / 0.8266 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008018/0.6006, allocations: 493.3 kB / 0.8271 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6006, allocations: 10.92 kB / 0.8271 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6006, allocations: 2.75 kB / 0.8271 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6006, allocations: 8.625 kB / 0.8271 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.601, allocations: 96.45 kB / 0.8272 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.6011, allocations: 9.969 kB / 0.8272 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.6013, allocations: 58.19 kB / 0.8272 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.6014, allocations: 26.91 kB / 0.8273 GB, free: 23.02 MB / 0.6387 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.0001335/0.6015, allocations: 156.9 kB / 0.8274 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.6016, allocations: 28.45 kB / 0.8274 GB, free: 22.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.188e-05/0.6016, allocations: 39.88 kB / 0.8275 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.6016, allocations: 6.734 kB / 0.8275 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6016, allocations: 0 / 0.8275 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6016, allocations: 3.719 kB / 0.8275 GB, free: 22.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.6019, allocations: 253.3 kB / 0.8277 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6019, allocations: 0 / 0.8277 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.6023, allocations: 69.75 kB / 0.8278 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.6023, allocations: 2.75 kB / 0.8278 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.6023, allocations: 16.12 kB / 0.8278 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6023, allocations: 7.312 kB / 0.8278 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6023, allocations: 4 kB / 0.8278 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.6034, allocations: 0.5871 MB / 0.8284 GB, free: 22.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.6034, allocations: 29.8 kB / 0.8284 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.6034, allocations: 8.672 kB / 0.8284 GB, free: 22.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.6037, allocations: 37.67 kB / 0.8285 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6038, allocations: 54.33 kB / 0.8285 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.6038, allocations: 17.17 kB / 0.8285 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.724e-05/0.6039, allocations: 127.1 kB / 0.8287 GB, free: 22.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6039, allocations: 0 / 0.8287 GB, free: 22.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003391/0.6043, allocations: 79.77 kB / 0.8287 GB, free: 22.18 MB / 0.6387 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.0001175/0.6044, allocations: 116.1 kB / 0.8288 GB, free: 22.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007161/0.6051, allocations: 367 kB / 0.8292 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6051, allocations: 0 / 0.8292 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.6055, allocations: 191.8 kB / 0.8294 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.6058, allocations: 37.11 kB / 0.8294 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.6069, allocations: 0.6109 MB / 0.83 GB, free: 21.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.607, allocations: 157.3 kB / 0.8302 GB, free: 21.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.6072, allocations: 38.03 kB / 0.8302 GB, free: 21.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.6073, allocations: 38 kB / 0.8302 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6073, allocations: 0 / 0.8302 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.01034/0.6177, allocations: 4.234 MB / 0.8344 GB, free: 20.99 MB / 0.6387 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: 7.2072032410651445] Failed to read output from testmodel.py, exit status != 0: 0.6276998277753592 0.642536028 0.047837526000000005 Calling exit ...