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.0007503/0.0007503, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007719/0.0007719, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.792/0.792, allocations: 177.1 MB / 203.5 MB, free: 5.738 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: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.6648/0.6648, allocations: 154.5 MB / 414.5 MB, free: 0.8438 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: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.22e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003198/0.00323, allocations: 1.917 MB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004449, allocations: 0.6933 MB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.004569, allocations: 11.94 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.67e-05/0.004626, allocations: 19.73 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.004752, allocations: 43.52 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.005296, allocations: 186.8 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.00567, allocations: 335 kB / 0.6225 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.005822, allocations: 32.92 kB / 0.6225 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.006341, allocations: 199.6 kB / 0.6227 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.006527, allocations: 123.6 kB / 0.6228 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.006578, allocations: 28 kB / 0.6228 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.006649, allocations: 32 kB / 0.6229 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.00671, allocations: 75.77 kB / 0.6229 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.006802, allocations: 103.8 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.007175, allocations: 342.9 kB / 0.6234 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.007178, allocations: 0 / 0.6234 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.007179, allocations: 0 / 0.6234 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.007187, allocations: 0 / 0.6234 GB, free: 9.004 MB / 0.5886 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.001002/0.008189, allocations: 0.556 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.008227, allocations: 9.469 kB / 0.6239 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002773/0.008504, allocations: 68.7 kB / 0.624 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.008838, allocations: 189.3 kB / 0.6242 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/0.009121, allocations: 0.4957 MB / 0.6246 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.009177, allocations: 24.38 kB / 0.6247 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.009646, allocations: 263.1 kB / 0.6249 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.009665, allocations: 192 / 0.6249 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.009691, allocations: 12.12 kB / 0.6249 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.009699, allocations: 8 kB / 0.6249 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.0101, allocations: 179.8 kB / 0.6251 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.01106, allocations: 0.6602 MB / 0.6258 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.01151, allocations: 195.7 kB / 0.6259 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.01174, allocations: 130.5 kB / 0.6261 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.01178, allocations: 4 kB / 0.6261 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/0.01231, allocations: 312.1 kB / 0.6264 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 2.064e-06/0.01231, allocations: 0 / 0.6264 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0006883/0.013, allocations: 492.8 kB / 0.6268 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.01306, allocations: 122.7 kB / 0.627 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.01317, allocations: 177.1 kB / 0.6271 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.0132, allocations: 41.69 kB / 0.6272 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.01325, allocations: 125.3 kB / 0.6273 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/0.01333, allocations: 154.8 kB / 0.6274 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.01343, allocations: 102.3 kB / 0.6275 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.01351, allocations: 342.8 kB / 0.6279 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.0137, allocations: 149.2 kB / 0.628 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.01392, allocations: 256.8 kB / 0.6282 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.01429, allocations: 402 kB / 0.6286 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01429, allocations: 0 / 0.6286 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004791/0.01477, allocations: 493.7 kB / 0.6291 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01479, allocations: 4 kB / 0.6291 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.0148, allocations: 4 kB / 0.6291 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.01481, allocations: 8 kB / 0.6291 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.01502, allocations: 99.77 kB / 0.6292 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.01503, allocations: 4 kB / 0.6292 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.01516, allocations: 63.69 kB / 0.6293 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.01518, allocations: 24 kB / 0.6293 GB, free: 2.523 MB / 0.5886 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.0001074/0.01528, allocations: 156.6 kB / 0.6294 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.01531, allocations: 31.86 kB / 0.6295 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.01535, allocations: 33.95 kB / 0.6295 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01536, allocations: 8 kB / 0.6295 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.01537, allocations: 3.938 kB / 0.6295 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01537, allocations: 3.984 kB / 0.6295 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01556, allocations: 241 kB / 0.6297 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01556, allocations: 0 / 0.6297 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.01575, allocations: 75.89 kB / 0.6298 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.01576, allocations: 4 kB / 0.6298 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.01577, allocations: 11.94 kB / 0.6298 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01578, allocations: 8 kB / 0.6298 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01578, allocations: 0 / 0.6298 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.01641, allocations: 0.5928 MB / 0.6304 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.01643, allocations: 31.73 kB / 0.6305 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.01646, allocations: 8 kB / 0.6305 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.01655, allocations: 31.97 kB / 0.6305 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.01663, allocations: 47.92 kB / 0.6305 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.01665, allocations: 20.09 kB / 0.6306 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.01671, allocations: 132.3 kB / 0.6307 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01671, allocations: 0 / 0.6307 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001907/0.0169, allocations: 80 kB / 0.6308 GB, free: 0.9531 MB / 0.5886 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.0001162/0.01702, allocations: 118.6 kB / 0.6309 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.01744, allocations: 367 kB / 0.6312 GB, free: 480 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01744, allocations: 0 / 0.6312 GB, free: 480 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.01764, allocations: 175.7 kB / 0.6314 GB, free: 304 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.01786, allocations: 36.75 kB / 0.6314 GB, free: 272 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.01855, allocations: 0.6084 MB / 0.632 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.148e-05/0.01864, allocations: 160.2 kB / 0.6322 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.01881, allocations: 36.5 kB / 0.6322 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.01881, allocations: 0 / 0.6322 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.003685/0.02249, allocations: 4.157 MB / 0.6363 GB, free: 11.27 MB / 0.6042 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.875941624864936] Failed to read output from testmodel.py, exit status != 0: 0.029382321052253246 0.036155221 0.027233929 Calling exit ...