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.001657/0.001657, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001955/0.001955, allocations: 215.2 kB / 22.24 MB, free: 5.262 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.812 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.292/1.292, allocations: 203.8 MB / 0.5041 GB, free: 4.613 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_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.002062/0.002062, allocations: 71.91 kB / 0.7187 GB, free: 1.867 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6675, allocations: 102 MB / 0.8183 GB, free: 28.93 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003498/0.671, allocations: 1.916 MB / 0.8202 GB, free: 27.64 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.6723, allocations: 0.6972 MB / 0.8209 GB, free: 27.17 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.6724, allocations: 3.062 kB / 0.8209 GB, free: 27.17 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 5.485e-05/0.6725, allocations: 23.64 kB / 0.8209 GB, free: 27.15 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.6726, allocations: 47.16 kB / 0.8209 GB, free: 27.11 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.6731, allocations: 175.9 kB / 0.8211 GB, free: 27.03 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.6737, allocations: 328.4 kB / 0.8214 GB, free: 26.88 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.6739, allocations: 34.3 kB / 0.8214 GB, free: 26.87 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.6744, allocations: 136.7 kB / 0.8216 GB, free: 26.81 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.6748, allocations: 140 kB / 0.8217 GB, free: 26.75 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.6749, allocations: 31.28 kB / 0.8217 GB, free: 26.75 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.675, allocations: 31.97 kB / 0.8218 GB, free: 26.75 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.6752, allocations: 83.11 kB / 0.8218 GB, free: 26.7 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.6754, allocations: 116.7 kB / 0.822 GB, free: 26.64 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0005799/0.6759, allocations: 312.1 kB / 0.8223 GB, free: 26.53 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6759, allocations: 3.938 kB / 0.8223 GB, free: 26.53 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.276e-06/0.676, allocations: 0.5 kB / 0.8223 GB, free: 26.53 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.676, allocations: 1.531 kB / 0.8223 GB, free: 26.53 MB / 0.6388 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.001711/0.6777, allocations: 0.5693 MB / 0.8228 GB, free: 26.12 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.6777, allocations: 13.91 kB / 0.8228 GB, free: 26.12 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.6782, allocations: 62.89 kB / 0.8229 GB, free: 26.11 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.6786, allocations: 193.9 kB / 0.8231 GB, free: 25.94 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.6789, allocations: 495.6 kB / 0.8235 GB, free: 25.36 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.679, allocations: 39.58 kB / 0.8236 GB, free: 25.34 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.6797, allocations: 257.4 kB / 0.8238 GB, free: 25.23 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.6797, allocations: 5.812 kB / 0.8238 GB, free: 25.22 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.6797, allocations: 14.89 kB / 0.8239 GB, free: 25.21 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.6798, allocations: 6.312 kB / 0.8239 GB, free: 25.21 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.6802, allocations: 171.7 kB / 0.824 GB, free: 25.16 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.6813, allocations: 0.6597 MB / 0.8247 GB, free: 24.66 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.6818, allocations: 201.5 kB / 0.8249 GB, free: 24.54 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.682, allocations: 125.5 kB / 0.825 GB, free: 24.47 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 4.673e-05/0.6821, allocations: 9.234 kB / 0.825 GB, free: 24.47 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.6826, allocations: 313.4 kB / 0.8253 GB, free: 24.32 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.6826, allocations: 4 kB / 0.8253 GB, free: 24.32 MB / 0.6388 GB Notification: Performance of matching and sorting (n=48): time 0.001129/0.6838, allocations: 489.3 kB / 0.8258 GB, free: 24.14 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.6838, allocations: 112.6 kB / 0.8259 GB, free: 24.02 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.684, allocations: 186.9 kB / 0.826 GB, free: 23.89 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.6841, allocations: 42.8 kB / 0.8261 GB, free: 23.84 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.6842, allocations: 121.8 kB / 0.8262 GB, free: 23.73 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.6843, allocations: 159.6 kB / 0.8264 GB, free: 23.61 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.6845, allocations: 107.9 kB / 0.8265 GB, free: 23.55 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6846, allocations: 345 kB / 0.8268 GB, free: 23.22 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.6849, allocations: 147.8 kB / 0.8269 GB, free: 23.18 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.6854, allocations: 253.5 kB / 0.8272 GB, free: 23.02 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.6862, allocations: 388.1 kB / 0.8275 GB, free: 22.79 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6862, allocations: 1.312 kB / 0.8275 GB, free: 22.79 MB / 0.6388 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009121/0.6871, allocations: 498 kB / 0.828 GB, free: 22.58 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6871, allocations: 16.56 kB / 0.828 GB, free: 22.57 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6871, allocations: 2.656 kB / 0.828 GB, free: 22.57 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.6871, allocations: 5.969 kB / 0.828 GB, free: 22.57 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.6875, allocations: 99.39 kB / 0.8281 GB, free: 22.55 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6876, allocations: 6.75 kB / 0.8281 GB, free: 22.55 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.6879, allocations: 54.3 kB / 0.8282 GB, free: 22.53 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.6879, allocations: 20.3 kB / 0.8282 GB, free: 22.53 MB / 0.6388 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.0001804/0.6881, allocations: 163.9 kB / 0.8284 GB, free: 22.38 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.6881, allocations: 32.92 kB / 0.8284 GB, free: 22.36 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.6882, allocations: 33.77 kB / 0.8284 GB, free: 22.33 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.6882, allocations: 5.594 kB / 0.8284 GB, free: 22.33 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.6882, allocations: 1.375 kB / 0.8284 GB, free: 22.33 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.6882, allocations: 6.422 kB / 0.8284 GB, free: 22.33 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.6886, allocations: 238.1 kB / 0.8287 GB, free: 22.14 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6886, allocations: 0 / 0.8287 GB, free: 22.14 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.689, allocations: 83.59 kB / 0.8287 GB, free: 22.13 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.689, allocations: 3.406 kB / 0.8288 GB, free: 22.13 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.6891, allocations: 18.08 kB / 0.8288 GB, free: 22.12 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6891, allocations: 3.453 kB / 0.8288 GB, free: 22.12 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6891, allocations: 5.312 kB / 0.8288 GB, free: 22.11 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.6902, allocations: 0.582 MB / 0.8293 GB, free: 21.85 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.6903, allocations: 26.48 kB / 0.8294 GB, free: 21.83 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.6903, allocations: 17.09 kB / 0.8294 GB, free: 21.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.6906, allocations: 32.7 kB / 0.8294 GB, free: 21.81 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6907, allocations: 54.8 kB / 0.8295 GB, free: 21.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.6908, allocations: 17.11 kB / 0.8295 GB, free: 21.8 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 9.674e-05/0.6909, allocations: 133.6 kB / 0.8296 GB, free: 21.7 MB / 0.6388 GB Notification: Performance of sort global known variables: time 7e-08/0.6909, allocations: 0.8125 kB / 0.8296 GB, free: 21.7 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0003446/0.6912, allocations: 83.94 kB / 0.8297 GB, free: 21.68 MB / 0.6388 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.0001661/0.6914, allocations: 120.9 kB / 0.8298 GB, free: 21.58 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.0007266/0.6921, allocations: 358.6 kB / 0.8302 GB, free: 21.47 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6921, allocations: 5.031 kB / 0.8302 GB, free: 21.47 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.6925, allocations: 185.9 kB / 0.8303 GB, free: 21.41 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.6928, allocations: 45.02 kB / 0.8304 GB, free: 21.39 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.6942, allocations: 0.6328 MB / 0.831 GB, free: 21 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.6944, allocations: 158.4 kB / 0.8311 GB, free: 20.91 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.6946, allocations: 39.48 kB / 0.8312 GB, free: 20.9 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.6947, allocations: 37.12 kB / 0.8312 GB, free: 20.89 MB / 0.6388 GB Notification: Performance of SimCode: time 4.81e-07/0.6947, allocations: 1.094 kB / 0.8312 GB, free: 20.89 MB / 0.6388 GB Notification: Performance of Templates: time 0.0114/0.7061, allocations: 4.25 MB / 0.8354 GB, free: 20.47 MB / 0.6388 GB " [Timeout remaining time 659] 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: 7.2019616067409515] Failed to read output from testmodel.py, exit status != 0: 0.715195469558239 0.732816883 0.053452017000000004 Calling exit ...