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.0006798/0.0006798, allocations: 96.36 kB / 19.7 MB, free: 456 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.0006804/0.0006804, allocations: 211.5 kB / 23 MB, free: 2.969 MB / 13.93 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.8921/0.8921, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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:190: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:198: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.7015/0.7015, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: 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.0009242/0.0009242, allocations: 71.05 kB / 0.7194 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3956, allocations: 102 MB / 0.8191 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001477/0.3971, allocations: 1.017 MB / 0.8201 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000865/0.3979, allocations: 1.134 MB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.398, allocations: 3.438 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/0.3981, allocations: 18.05 kB / 0.8212 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.3981, allocations: 43.78 kB / 0.8212 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.3985, allocations: 149.1 kB / 0.8214 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3987, allocations: 328.2 kB / 0.8217 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3988, allocations: 43.64 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.399, allocations: 140 kB / 0.8219 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.3992, allocations: 132.7 kB / 0.822 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.3992, allocations: 31.22 kB / 0.822 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.309e-05/0.3992, allocations: 32.55 kB / 0.8221 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.3993, allocations: 78.5 kB / 0.8221 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.3994, allocations: 120.2 kB / 0.8222 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3996, allocations: 318.4 kB / 0.8225 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3996, allocations: 1.891 kB / 0.8225 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3996, allocations: 3.938 kB / 0.8226 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3996, allocations: 3.938 kB / 0.8226 GB, free: 15.2 MB / 0.6198 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.0008089/0.4004, allocations: 0.5643 MB / 0.8231 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4005, allocations: 9.375 kB / 0.8231 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.4007, allocations: 60.2 kB / 0.8232 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.4008, allocations: 140.2 kB / 0.8233 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.401, allocations: 496.6 kB / 0.8238 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.401, allocations: 40.53 kB / 0.8238 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.4014, allocations: 257 kB / 0.8241 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4014, allocations: 5.547 kB / 0.8241 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.4014, allocations: 11.67 kB / 0.8241 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4014, allocations: 5.578 kB / 0.8241 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.4017, allocations: 172.5 kB / 0.8243 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.4024, allocations: 0.6558 MB / 0.8249 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.4027, allocations: 195 kB / 0.8251 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4029, allocations: 124.8 kB / 0.8252 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.4029, allocations: 13.33 kB / 0.8252 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.4033, allocations: 323.8 kB / 0.8255 GB, free: 13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 1.793e-06/0.4033, allocations: 1.219 kB / 0.8255 GB, free: 13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.0006579/0.4039, allocations: 489.8 kB / 0.826 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.404, allocations: 120 kB / 0.8261 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4041, allocations: 180.1 kB / 0.8263 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.4041, allocations: 38.34 kB / 0.8263 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.4042, allocations: 121.7 kB / 0.8264 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/0.4043, allocations: 159.6 kB / 0.8266 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.4044, allocations: 103.4 kB / 0.8267 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.4045, allocations: 342.8 kB / 0.827 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.4046, allocations: 145.6 kB / 0.8271 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.4049, allocations: 256.9 kB / 0.8274 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.4053, allocations: 390.6 kB / 0.8278 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4053, allocations: 1.812 kB / 0.8278 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005206/0.4058, allocations: 498.2 kB / 0.8282 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4058, allocations: 6.672 kB / 0.8282 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4058, allocations: 3.625 kB / 0.8282 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4058, allocations: 8.594 kB / 0.8283 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.406, allocations: 95.45 kB / 0.8283 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.406, allocations: 6.312 kB / 0.8284 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.4062, allocations: 57.7 kB / 0.8284 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4062, allocations: 25.03 kB / 0.8284 GB, free: 11.21 MB / 0.6198 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.0001091/0.4063, allocations: 157.8 kB / 0.8286 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.4063, allocations: 28.88 kB / 0.8286 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.4064, allocations: 37.17 kB / 0.8286 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4064, allocations: 5.594 kB / 0.8286 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4064, allocations: 1.375 kB / 0.8287 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4064, allocations: 7.969 kB / 0.8287 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.4066, allocations: 247.1 kB / 0.8289 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4066, allocations: 1.406 kB / 0.8289 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.4068, allocations: 70.42 kB / 0.829 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4068, allocations: 3.312 kB / 0.829 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.4068, allocations: 15.17 kB / 0.829 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4068, allocations: 11.47 kB / 0.829 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4068, allocations: 0 / 0.829 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.4075, allocations: 0.5817 MB / 0.8296 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.4075, allocations: 37.38 kB / 0.8296 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.4076, allocations: 9.328 kB / 0.8296 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4077, allocations: 36.94 kB / 0.8296 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.4078, allocations: 43.53 kB / 0.8297 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4078, allocations: 17.64 kB / 0.8297 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.221e-05/0.4078, allocations: 122.1 kB / 0.8298 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4078, allocations: 0 / 0.8298 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002193/0.4081, allocations: 80 kB / 0.8299 GB, free: 10.37 MB / 0.6198 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.0001245/0.4082, allocations: 117.9 kB / 0.83 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005861/0.4088, allocations: 366.3 kB / 0.8304 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4088, allocations: 0.6562 kB / 0.8304 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.409, allocations: 169.9 kB / 0.8305 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4093, allocations: 41 kB / 0.8306 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.41, allocations: 0.6425 MB / 0.8312 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.4101, allocations: 157.3 kB / 0.8313 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.4102, allocations: 37.81 kB / 0.8314 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of SimCode: time 4.8e-07/0.4102, allocations: 3.938 kB / 0.8314 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of Templates: time 0.004717/0.415, allocations: 4.077 MB / 0.8354 GB, free: 8.895 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.489123966079205] Failed to read output from testmodel.py, exit status != 0: 0.4201939720660448 0.428151102 0.026860577 Calling exit ...