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.001475/0.001475, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001796/0.001796, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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 1.332/1.332, allocations: 203.8 MB / 0.5041 GB, free: 4.945 MB / 414.1 MB " [Timeout remaining time 178] 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.002116/0.002116, allocations: 62.78 kB / 0.7187 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6811, allocations: 102 MB / 0.8184 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002695/0.6838, allocations: 1.105 MB / 0.8195 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.6856, allocations: 1.143 MB / 0.8206 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.6857, allocations: 0 / 0.8206 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.548e-05/0.6858, allocations: 23.67 kB / 0.8206 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.6859, allocations: 43.5 kB / 0.8206 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.6865, allocations: 154.6 kB / 0.8208 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.6869, allocations: 335.1 kB / 0.8211 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.6871, allocations: 36.44 kB / 0.8211 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.6874, allocations: 135.6 kB / 0.8213 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.6876, allocations: 155.3 kB / 0.8214 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.6877, allocations: 32 kB / 0.8215 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.6878, allocations: 36 kB / 0.8215 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.6879, allocations: 79.73 kB / 0.8216 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.688, allocations: 131.4 kB / 0.8217 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.6884, allocations: 325.2 kB / 0.822 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6884, allocations: 4 kB / 0.822 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6884, allocations: 0 / 0.822 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.6885, allocations: 0 / 0.822 GB, free: 14.54 MB / 0.6075 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.001343/0.6898, allocations: 0.5596 MB / 0.8225 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6898, allocations: 9.469 kB / 0.8226 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.6902, allocations: 56.77 kB / 0.8226 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.6903, allocations: 151 kB / 0.8228 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.6908, allocations: 495.6 kB / 0.8232 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.6908, allocations: 36.33 kB / 0.8233 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005195/0.6914, allocations: 262.3 kB / 0.8235 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.6914, allocations: 7.875 kB / 0.8235 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.6914, allocations: 11.98 kB / 0.8235 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.6914, allocations: 4 kB / 0.8235 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.6919, allocations: 179.8 kB / 0.8237 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.6931, allocations: 0.7377 MB / 0.8244 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.6936, allocations: 199.9 kB / 0.8246 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.6939, allocations: 126.5 kB / 0.8247 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.438e-05/0.6939, allocations: 15.92 kB / 0.8248 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006514/0.6946, allocations: 315.9 kB / 0.8251 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.014e-06/0.6946, allocations: 0 / 0.8251 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001126/0.6957, allocations: 498.4 kB / 0.8255 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.6958, allocations: 114.8 kB / 0.8256 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.696, allocations: 172.7 kB / 0.8258 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.696, allocations: 37.7 kB / 0.8258 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6961, allocations: 129.3 kB / 0.826 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6963, allocations: 150.8 kB / 0.8261 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.6965, allocations: 110.3 kB / 0.8262 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.6967, allocations: 334.8 kB / 0.8265 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.697, allocations: 149.2 kB / 0.8267 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.6974, allocations: 256.7 kB / 0.8269 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.6981, allocations: 390.1 kB / 0.8273 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6981, allocations: 0 / 0.8273 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009389/0.6991, allocations: 493 kB / 0.8278 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.6991, allocations: 13.81 kB / 0.8278 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6991, allocations: 4 kB / 0.8278 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.6991, allocations: 4 kB / 0.8278 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.6995, allocations: 99.86 kB / 0.8279 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.6996, allocations: 7.938 kB / 0.8279 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.6998, allocations: 59.73 kB / 0.8279 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.6999, allocations: 28.75 kB / 0.828 GB, free: 7.992 MB / 0.6075 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.0002135/0.7001, allocations: 160.5 kB / 0.8281 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.7002, allocations: 35.75 kB / 0.8282 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.7002, allocations: 33.95 kB / 0.8282 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.7002, allocations: 4 kB / 0.8282 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7003, allocations: 4 kB / 0.8282 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7003, allocations: 3.984 kB / 0.8282 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.7007, allocations: 328.3 kB / 0.8285 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7007, allocations: 0 / 0.8285 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.7011, allocations: 79.83 kB / 0.8286 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.7011, allocations: 7.938 kB / 0.8286 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.7012, allocations: 15.98 kB / 0.8286 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.7012, allocations: 0 / 0.8286 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.7012, allocations: 4 kB / 0.8286 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.7023, allocations: 0.5783 MB / 0.8292 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.7024, allocations: 27.75 kB / 0.8292 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.7024, allocations: 15.94 kB / 0.8292 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.7027, allocations: 31.95 kB / 0.8293 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.7028, allocations: 67.84 kB / 0.8293 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.7029, allocations: 12 kB / 0.8293 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000114/0.703, allocations: 124.1 kB / 0.8294 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.703, allocations: 0 / 0.8294 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003596/0.7033, allocations: 75.98 kB / 0.8295 GB, free: 6.324 MB / 0.6075 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.0002051/0.7035, allocations: 119.3 kB / 0.8296 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007926/0.7043, allocations: 371.2 kB / 0.83 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7043, allocations: 0 / 0.83 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.7047, allocations: 176.4 kB / 0.8302 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.7051, allocations: 51.91 kB / 0.8302 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.7064, allocations: 0.618 MB / 0.8308 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.7068, allocations: 0.7648 MB / 0.8316 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.707, allocations: 38.95 kB / 0.8316 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7071, allocations: 35.44 kB / 0.8316 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.7071, allocations: 0 / 0.8316 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.009445/0.7165, allocations: 4.137 MB / 0.8357 GB, free: 0 / 0.6075 GB " [Timeout remaining time 659] 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: 7.188235128298402] Failed to read output from testmodel.py, exit status != 0: 0.7260629665106535 0.742142424 0.050421412000000006 Calling exit ...