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.000728/0.000728, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0006918/0.0006918, allocations: 177.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.8254/0.8254, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.6655/0.6655, allocations: 154.5 MB / 414.5 MB, free: 0.8633 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,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: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.729e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001479/0.001506, allocations: 1.021 MB / 0.6203 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002573, allocations: 1.131 MB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.002648, allocations: 4 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.002692, allocations: 27.67 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.00278, allocations: 43.52 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.003193, allocations: 166.9 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.003446, allocations: 331 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.003571, allocations: 28.58 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.003817, allocations: 199.6 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.00395, allocations: 119.7 kB / 0.6223 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.003983, allocations: 28 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.004038, allocations: 35.94 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.004081, allocations: 79.7 kB / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.004147, allocations: 103.8 kB / 0.6226 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.004422, allocations: 346.9 kB / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004424, allocations: 0 / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004426, allocations: 0 / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.004432, allocations: 0 / 0.6229 GB, free: 9.371 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.0007573/0.005189, allocations: 0.5482 MB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005223, allocations: 13.47 kB / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.005416, allocations: 56.77 kB / 0.6235 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.005512, allocations: 146.2 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.00572, allocations: 499.7 kB / 0.6241 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.005766, allocations: 28.38 kB / 0.6241 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.006108, allocations: 263.1 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.006122, allocations: 192 / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.006143, allocations: 12.36 kB / 0.6244 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.006149, allocations: 12.12 kB / 0.6244 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.006399, allocations: 171.8 kB / 0.6246 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.007099, allocations: 0.6641 MB / 0.6252 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.007423, allocations: 191.7 kB / 0.6254 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.00757, allocations: 122.5 kB / 0.6255 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.007601, allocations: 15.92 kB / 0.6255 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000369/0.00797, allocations: 308.2 kB / 0.6258 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 2.544e-06/0.007972, allocations: 3.984 kB / 0.6258 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.0006379/0.00861, allocations: 493.7 kB / 0.6263 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.008666, allocations: 119.1 kB / 0.6264 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008772, allocations: 176.6 kB / 0.6266 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.008801, allocations: 49.69 kB / 0.6266 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.008855, allocations: 121.3 kB / 0.6268 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.008936, allocations: 154.8 kB / 0.6269 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.111e-05/0.009027, allocations: 102.3 kB / 0.627 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.009115, allocations: 338.8 kB / 0.6273 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.009298, allocations: 149.2 kB / 0.6275 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.009511, allocations: 248.8 kB / 0.6277 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.009906, allocations: 406 kB / 0.6281 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.00991, allocations: 0 / 0.6281 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005076/0.01042, allocations: 493.5 kB / 0.6286 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01043, allocations: 4 kB / 0.6286 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01044, allocations: 4 kB / 0.6286 GB, free: 3.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01046, allocations: 4 kB / 0.6286 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.01065, allocations: 99.83 kB / 0.6287 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.01066, allocations: 11.94 kB / 0.6287 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.01079, allocations: 55.75 kB / 0.6287 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.01081, allocations: 23.98 kB / 0.6288 GB, free: 2.945 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.0001121/0.01093, allocations: 156.7 kB / 0.6289 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.01096, allocations: 27.81 kB / 0.6289 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.011, allocations: 37.89 kB / 0.629 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.011, allocations: 8 kB / 0.629 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01101, allocations: 4 kB / 0.629 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01101, allocations: 3.938 kB / 0.629 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.0112, allocations: 237 kB / 0.6292 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0112, allocations: 3.984 kB / 0.6292 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.0114, allocations: 71.91 kB / 0.6293 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.0114, allocations: 0 / 0.6293 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.01142, allocations: 15.98 kB / 0.6293 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01143, allocations: 0 / 0.6293 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01143, allocations: 4 kB / 0.6293 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.01208, allocations: 0.5916 MB / 0.6299 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.01211, allocations: 31.75 kB / 0.6299 GB, free: 1.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01214, allocations: 11.98 kB / 0.6299 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.01223, allocations: 27.97 kB / 0.6299 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.01231, allocations: 44.06 kB / 0.63 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.01233, allocations: 19.98 kB / 0.63 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.045e-05/0.01239, allocations: 124 kB / 0.6301 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01239, allocations: 4 kB / 0.6301 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002263/0.01262, allocations: 87.92 kB / 0.6302 GB, free: 1.391 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.0001256/0.01274, allocations: 109.2 kB / 0.6303 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.0132, allocations: 377.8 kB / 0.6307 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0132, allocations: 4 kB / 0.6307 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.01341, allocations: 167.8 kB / 0.6308 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01363, allocations: 42 kB / 0.6309 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.01438, allocations: 0.5968 MB / 0.6315 GB, free: 72 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.01448, allocations: 156.2 kB / 0.6316 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.01458, allocations: 36.5 kB / 0.6316 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/0.01458, allocations: 4 kB / 0.6317 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.004445/0.01902, allocations: 4.091 MB / 0.6356 GB, free: 11.79 MB / 0.6042 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.071076413616538] Failed to read output from testmodel.py, exit status != 0: 0.02441458124667406 0.032630194 0.026528814 Calling exit ...