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.001304/0.001304, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001618/0.001618, allocations: 174.5 kB / 22.46 MB, free: 5.355 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.462/1.462, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.211/1.211, allocations: 154.6 MB / 413.7 MB, free: 5.289 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.547e-05/4.869e-05, allocations: 8.094 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003638/0.003687, allocations: 1.901 MB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004999, allocations: 0.7066 MB / 0.6212 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.005099, allocations: 0 / 0.6212 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.255e-05/0.005161, allocations: 23.67 kB / 0.6212 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.005311, allocations: 47.52 kB / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.005885, allocations: 180.2 kB / 0.6214 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.006294, allocations: 331 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.006508, allocations: 38.34 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.006842, allocations: 195.7 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.007058, allocations: 119.6 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.007117, allocations: 29.09 kB / 0.6221 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.007203, allocations: 32 kB / 0.6221 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.259e-05/0.007285, allocations: 79.77 kB / 0.6222 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.007411, allocations: 111.7 kB / 0.6223 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.007843, allocations: 335 kB / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.007846, allocations: 0 / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of FrontEnd: time 6.61e-07/0.007847, allocations: 0 / 0.6226 GB, free: 468 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.007853, allocations: 4 kB / 0.6226 GB, free: 464 kB / 0.5294 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.001345/0.009198, allocations: 0.556 MB / 0.6232 GB, free: 15.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.009244, allocations: 13.47 kB / 0.6232 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.009632, allocations: 72.58 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.009998, allocations: 185.4 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/0.01043, allocations: 0.4958 MB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.017e-05/0.01049, allocations: 32.33 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.01104, allocations: 259.1 kB / 0.6242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.01106, allocations: 192 / 0.6242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.01109, allocations: 16.11 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.0111, allocations: 4 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.01156, allocations: 183.3 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.01265, allocations: 0.6524 MB / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.01318, allocations: 195.7 kB / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.01347, allocations: 130.5 kB / 0.6253 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.01351, allocations: 8 kB / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.01406, allocations: 312.4 kB / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.854e-06/0.01406, allocations: 3.938 kB / 0.6256 GB, free: 13.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001148/0.01521, allocations: 477.7 kB / 0.6261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.01532, allocations: 122.7 kB / 0.6262 GB, free: 12.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.01551, allocations: 188 kB / 0.6264 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.01557, allocations: 41.7 kB / 0.6264 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.01566, allocations: 121.3 kB / 0.6265 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.01581, allocations: 162.8 kB / 0.6267 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.01597, allocations: 106.3 kB / 0.6268 GB, free: 11.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.01617, allocations: 338.8 kB / 0.6271 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.01649, allocations: 149.2 kB / 0.6273 GB, free: 11.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.0169, allocations: 252.7 kB / 0.6275 GB, free: 11.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.01769, allocations: 390.1 kB / 0.6279 GB, free: 10.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.0177, allocations: 4 kB / 0.6279 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009112/0.01861, allocations: 489 kB / 0.6283 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.01863, allocations: 8 kB / 0.6283 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01864, allocations: 0 / 0.6283 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.01866, allocations: 8 kB / 0.6284 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.01904, allocations: 99.77 kB / 0.6284 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.01905, allocations: 11.94 kB / 0.6285 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.01933, allocations: 63.8 kB / 0.6285 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.01936, allocations: 20 kB / 0.6285 GB, free: 9.973 MB / 0.545 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.0001913/0.01956, allocations: 156.7 kB / 0.6287 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.01961, allocations: 35.75 kB / 0.6287 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.01969, allocations: 33.95 kB / 0.6288 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.0197, allocations: 8.031 kB / 0.6288 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.01971, allocations: 7.938 kB / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.01972, allocations: 7.969 kB / 0.6288 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.02005, allocations: 245 kB / 0.629 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02005, allocations: 0 / 0.629 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.02045, allocations: 75.89 kB / 0.6291 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.02046, allocations: 4 kB / 0.6291 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.02049, allocations: 12 kB / 0.6291 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.0205, allocations: 0 / 0.6291 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.0205, allocations: 4 kB / 0.6291 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.02167, allocations: 0.5916 MB / 0.6297 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.0217, allocations: 27.78 kB / 0.6297 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.02175, allocations: 12 kB / 0.6297 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.02198, allocations: 27.97 kB / 0.6297 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.02214, allocations: 63.84 kB / 0.6298 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.02219, allocations: 15.98 kB / 0.6298 GB, free: 8.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001207/0.02231, allocations: 128.3 kB / 0.6299 GB, free: 8.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.02231, allocations: 3.938 kB / 0.6299 GB, free: 8.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003437/0.02265, allocations: 87.94 kB / 0.63 GB, free: 8.375 MB / 0.545 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.0001973/0.02285, allocations: 119.2 kB / 0.6301 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007622/0.02361, allocations: 363.7 kB / 0.6305 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02361, allocations: 0 / 0.6305 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.02401, allocations: 183.7 kB / 0.6307 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.02437, allocations: 47.44 kB / 0.6307 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.02554, allocations: 0.5757 MB / 0.6313 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.02571, allocations: 168 kB / 0.6314 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.02584, allocations: 38.95 kB / 0.6315 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.02596, allocations: 36.5 kB / 0.6315 GB, free: 6.812 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.02596, allocations: 4.125 kB / 0.6315 GB, free: 6.809 MB / 0.545 GB Notification: Performance of Templates: time 0.008843/0.03481, allocations: 4.021 MB / 0.6354 GB, free: 2.863 MB / 0.545 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: 6.038812413811684] Failed to read output from testmodel.py, exit status != 0: 0.0437806136906147 0.057376738000000004 0.046633347000000006 Calling exit ...