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.001004/0.001004, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00104/0.00104, allocations: 169 kB / 23.02 MB, free: 1.551 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.9571/0.9571, allocations: 177.1 MB / 203.4 MB, free: 5.605 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-535:34: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-535:42: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.8185/0.8185, allocations: 154.9 MB / 414.8 MB, free: 416 kB / 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 1.843e-06/1.843e-06, allocations: 0 / 0.5208 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.893e-05, allocations: 4.828 kB / 0.5208 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002336/0.002355, allocations: 1.967 MB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003451, allocations: 0.7121 MB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.00356, allocations: 4.562 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.276e-05/0.003613, allocations: 15.75 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.003731, allocations: 40.91 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.004271, allocations: 197 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.004601, allocations: 339 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.004766, allocations: 32.91 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.0051, allocations: 196.8 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.00528, allocations: 119.6 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.005327, allocations: 32.62 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.005418, allocations: 32 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.005489, allocations: 81.14 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.005588, allocations: 99.66 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.005951, allocations: 239.2 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005955, allocations: 0.5625 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.005956, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.005968, allocations: 4.688 kB / 0.5248 GB, free: 13.66 MB / 0.4948 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.00105/0.007018, allocations: 0.6636 MB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.00707, allocations: 12.03 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.007338, allocations: 73.48 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.007625, allocations: 193 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.007913, allocations: 0.4889 MB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.007964, allocations: 28.38 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.008322, allocations: 235 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.00834, allocations: 4.188 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.008363, allocations: 12.12 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.008379, allocations: 4 kB / 0.5264 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.008549, allocations: 89.56 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.009386, allocations: 0.7832 MB / 0.5273 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.009694, allocations: 173.7 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.009803, allocations: 92.34 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.009836, allocations: 12.48 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.01011, allocations: 263.3 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.01011, allocations: 0 / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0005362/0.01065, allocations: 378 kB / 0.5281 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.01072, allocations: 122.7 kB / 0.5283 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.01104, allocations: 244.3 kB / 0.5285 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.01106, allocations: 38.27 kB / 0.5285 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.01113, allocations: 160.1 kB / 0.5287 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.01123, allocations: 159.7 kB / 0.5288 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01134, allocations: 112 kB / 0.5289 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.01147, allocations: 0.5167 MB / 0.5294 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.01159, allocations: 77.27 kB / 0.5295 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.01178, allocations: 226.7 kB / 0.5297 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.0121, allocations: 326.7 kB / 0.53 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01211, allocations: 0 / 0.53 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004466/0.01255, allocations: 405.2 kB / 0.5304 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01257, allocations: 8 kB / 0.5304 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.01258, allocations: 8 kB / 0.5304 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.0126, allocations: 4 kB / 0.5305 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.01281, allocations: 99.77 kB / 0.5305 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.01282, allocations: 14.56 kB / 0.5306 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.01295, allocations: 59.8 kB / 0.5306 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.01298, allocations: 20 kB / 0.5306 GB, free: 7.164 MB / 0.4948 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.0001299/0.01311, allocations: 207.5 kB / 0.5308 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.01315, allocations: 39.86 kB / 0.5309 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.01319, allocations: 33.95 kB / 0.5309 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.0132, allocations: 4.656 kB / 0.5309 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.0132, allocations: 3.938 kB / 0.5309 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01321, allocations: 7.438 kB / 0.5309 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.0134, allocations: 240.3 kB / 0.5311 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.0134, allocations: 0 / 0.5311 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.0136, allocations: 67.91 kB / 0.5312 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01361, allocations: 4 kB / 0.5312 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.01363, allocations: 15.98 kB / 0.5312 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.01364, allocations: 4 kB / 0.5312 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01364, allocations: 0 / 0.5312 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.01418, allocations: 469.2 kB / 0.5317 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.01421, allocations: 31.75 kB / 0.5317 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.01424, allocations: 8 kB / 0.5317 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.01433, allocations: 31.97 kB / 0.5318 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.01445, allocations: 67.83 kB / 0.5318 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.01447, allocations: 16.72 kB / 0.5318 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.258e-05/0.01455, allocations: 168.2 kB / 0.532 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01455, allocations: 1.312 kB / 0.532 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002344/0.01479, allocations: 80 kB / 0.5321 GB, free: 5.633 MB / 0.4948 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.0001324/0.01492, allocations: 119.8 kB / 0.5322 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.01534, allocations: 283.8 kB / 0.5325 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01534, allocations: 0 / 0.5325 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.01553, allocations: 139.3 kB / 0.5326 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.01579, allocations: 59.09 kB / 0.5326 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/0.01671, allocations: 0.578 MB / 0.5332 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.832e-05/0.01677, allocations: 97.61 kB / 0.5333 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.387e-05/0.01687, allocations: 34.97 kB / 0.5333 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.632e-05/0.01696, allocations: 52.42 kB / 0.5334 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of SimCode: time 1.462e-06/0.01696, allocations: 0.6562 kB / 0.5334 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of Templates: time 0.006849/0.02381, allocations: 4.255 MB / 0.5375 GB, free: 184 kB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.770751179661602]