Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00163/0.00163, 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.001907/0.001907, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.048/1.048, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7911/0.7911, allocations: 154.6 MB / 414.5 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5204 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.151e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.105 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001767/0.001788, allocations: 1.055 MB / 0.5214 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.002906, allocations: 1.157 MB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.002981, allocations: 4 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.003023, allocations: 21.09 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.155e-05/0.003115, allocations: 44.75 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.003498, allocations: 163.6 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.003728, allocations: 331 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.003857, allocations: 37.78 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.004086, allocations: 191.7 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.004216, allocations: 118.3 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.004256, allocations: 28 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.006e-05/0.004316, allocations: 39.97 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.004362, allocations: 75.78 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.004432, allocations: 99.78 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.004654, allocations: 239.1 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004656, allocations: 0 / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004656, allocations: 0 / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004661, allocations: 4.5 kB / 0.5239 GB, free: 14.55 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.0007512/0.005412, allocations: 0.656 MB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.005449, allocations: 8.031 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.005648, allocations: 78.12 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.005749, allocations: 137.2 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.005963, allocations: 0.493 MB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.006005, allocations: 28.38 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.006298, allocations: 232.3 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.006313, allocations: 8.797 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.006334, allocations: 16.36 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006344, allocations: 9.406 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.006501, allocations: 87.92 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.007185, allocations: 0.7832 MB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.007439, allocations: 176.4 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.007543, allocations: 83.03 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.007575, allocations: 8 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.007838, allocations: 274.3 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.413e-06/0.007839, allocations: 0 / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0005051/0.008344, allocations: 375.1 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.008395, allocations: 119.1 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.008511, allocations: 231.4 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.008538, allocations: 37.7 kB / 0.5276 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.008597, allocations: 172 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.378e-05/0.008681, allocations: 158.7 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.008778, allocations: 104 kB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003788/0.009157, allocations: 0.5196 MB / 0.5285 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.00928, allocations: 85.25 kB / 0.5286 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.009455, allocations: 220.2 kB / 0.5288 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.009753, allocations: 324 kB / 0.5291 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.009757, allocations: 7.984 kB / 0.5291 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004167/0.01017, allocations: 401.2 kB / 0.5295 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01019, allocations: 7.312 kB / 0.5295 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01019, allocations: 6.125 kB / 0.5295 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.01021, allocations: 4 kB / 0.5295 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.01041, allocations: 99.83 kB / 0.5296 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01042, allocations: 11.88 kB / 0.5296 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01054, allocations: 54.19 kB / 0.5297 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.01056, allocations: 23.98 kB / 0.5297 GB, free: 8.117 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.0001041/0.01066, allocations: 198.4 kB / 0.5299 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01071, allocations: 43.81 kB / 0.5299 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.01075, allocations: 36.08 kB / 0.53 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01075, allocations: 8.094 kB / 0.53 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01075, allocations: 0 / 0.53 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.01076, allocations: 11.91 kB / 0.53 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.01094, allocations: 228.4 kB / 0.5302 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01094, allocations: 0 / 0.5302 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.01113, allocations: 68.94 kB / 0.5303 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01114, allocations: 4 kB / 0.5303 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.01116, allocations: 12.92 kB / 0.5303 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.01116, allocations: 4 kB / 0.5303 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01116, allocations: 64 / 0.5303 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.01167, allocations: 481.6 kB / 0.5308 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.01169, allocations: 27.8 kB / 0.5308 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01172, allocations: 4 kB / 0.5308 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.01182, allocations: 31.97 kB / 0.5308 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.01192, allocations: 71.83 kB / 0.5309 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.01194, allocations: 17.56 kB / 0.5309 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.012, allocations: 164.2 kB / 0.5311 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.012, allocations: 4 kB / 0.5311 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001993/0.0122, allocations: 76 kB / 0.5311 GB, free: 6.586 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 8.567e-05/0.01228, allocations: 112.4 kB / 0.5312 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.01263, allocations: 291.1 kB / 0.5315 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01263, allocations: 0 / 0.5315 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.01279, allocations: 138.7 kB / 0.5316 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01301, allocations: 60.84 kB / 0.5317 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.01386, allocations: 0.572 MB / 0.5323 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.01391, allocations: 97.61 kB / 0.5324 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.599e-05/0.01399, allocations: 36 kB / 0.5324 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.01408, allocations: 44.48 kB / 0.5324 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/0.01408, allocations: 0 / 0.5324 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of Templates: time 0.005865/0.01995, allocations: 4.025 MB / 0.5364 GB, free: 1.371 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9397382768802345]