Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001746/0.001746, allocations: 88.72 kB / 19.44 MB, free: 356 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.002131/0.002131, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.297/1.297, allocations: 154.6 MB / 414.2 MB, free: 0.6172 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 178] 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.5197 GB, free: 1.398 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.586e-05, allocations: 2.312 kB / 0.5197 GB, free: 1.395 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003965/0.004, allocations: 1.903 MB / 0.5216 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.005561, allocations: 0.7007 MB / 0.5222 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.005702, allocations: 4.781 kB / 0.5222 GB, free: 14.8 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 7.064e-05/0.005773, allocations: 23.67 kB / 0.5223 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.005987, allocations: 46.05 kB / 0.5223 GB, free: 14.73 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006238/0.006611, allocations: 186.3 kB / 0.5225 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.00712, allocations: 339 kB / 0.5228 GB, free: 14.22 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.007267, allocations: 37.44 kB / 0.5228 GB, free: 14.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.007695, allocations: 196.1 kB / 0.523 GB, free: 13.99 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.007926, allocations: 120.3 kB / 0.5231 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.007993, allocations: 28 kB / 0.5232 GB, free: 13.85 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.008079, allocations: 32.56 kB / 0.5232 GB, free: 13.82 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.075e-05/0.00817, allocations: 79.77 kB / 0.5233 GB, free: 13.74 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.008303, allocations: 101.2 kB / 0.5234 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.008809, allocations: 346.9 kB / 0.5237 GB, free: 13.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.008814, allocations: 0 / 0.5237 GB, free: 13.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008815, allocations: 0.7812 kB / 0.5237 GB, free: 13.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.008823, allocations: 0 / 0.5237 GB, free: 13.3 MB / 458.7 MB 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.001635/0.01046, allocations: 0.5598 MB / 0.5243 GB, free: 12.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.0105, allocations: 12.03 kB / 0.5243 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.01094, allocations: 86.52 kB / 0.5243 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.01138, allocations: 185.3 kB / 0.5245 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004522/0.01183, allocations: 0.4928 MB / 0.525 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.01191, allocations: 28.38 kB / 0.525 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.01253, allocations: 260.1 kB / 0.5253 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.01255, allocations: 192 / 0.5253 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.01259, allocations: 17.06 kB / 0.5253 GB, free: 11.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01259, allocations: 4 kB / 0.5253 GB, free: 11.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.01308, allocations: 173.5 kB / 0.5255 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01431, allocations: 0.6653 MB / 0.5261 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.01488, allocations: 193.3 kB / 0.5263 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.01518, allocations: 128.3 kB / 0.5264 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.01525, allocations: 19.94 kB / 0.5264 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005918/0.01584, allocations: 301.7 kB / 0.5267 GB, free: 9.945 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.01584, allocations: 0 / 0.5267 GB, free: 9.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001279/0.01712, allocations: 0.5014 MB / 0.5272 GB, free: 9.441 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.01724, allocations: 114.8 kB / 0.5273 GB, free: 9.305 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.01772, allocations: 186 kB / 0.5275 GB, free: 9.117 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.01777, allocations: 41.7 kB / 0.5275 GB, free: 9.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.01788, allocations: 121.3 kB / 0.5277 GB, free: 8.949 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.01805, allocations: 156.6 kB / 0.5278 GB, free: 8.797 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.01825, allocations: 106.3 kB / 0.5279 GB, free: 8.688 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.01846, allocations: 338.8 kB / 0.5282 GB, free: 8.348 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.01882, allocations: 149.2 kB / 0.5284 GB, free: 8.203 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.01929, allocations: 255.5 kB / 0.5286 GB, free: 7.922 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.02006, allocations: 398.1 kB / 0.529 GB, free: 7.496 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.02006, allocations: 0 / 0.529 GB, free: 7.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001081/0.02114, allocations: 0.5067 MB / 0.5295 GB, free: 6.984 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.02116, allocations: 8 kB / 0.5295 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02117, allocations: 0 / 0.5295 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.0212, allocations: 8 kB / 0.5295 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.02162, allocations: 98.17 kB / 0.5296 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.02164, allocations: 11.98 kB / 0.5296 GB, free: 6.863 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.02195, allocations: 51.75 kB / 0.5297 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.02199, allocations: 20.09 kB / 0.5297 GB, free: 6.793 MB / 458.7 MB 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.0002323/0.02223, allocations: 161.2 kB / 0.5298 GB, free: 6.625 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.02232, allocations: 52.33 kB / 0.5299 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.0224, allocations: 29.97 kB / 0.5299 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.02241, allocations: 11.03 kB / 0.5299 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.02242, allocations: 3.938 kB / 0.5299 GB, free: 6.531 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.02243, allocations: 3.984 kB / 0.5299 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.02279, allocations: 244.9 kB / 0.5302 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.0228, allocations: 0 / 0.5302 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.02324, allocations: 75.89 kB / 0.5302 GB, free: 6.184 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.02325, allocations: 4 kB / 0.5302 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.02329, allocations: 15.11 kB / 0.5303 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.0233, allocations: 4 kB / 0.5303 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0233, allocations: 0 / 0.5303 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.0246, allocations: 0.605 MB / 0.5309 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.02464, allocations: 31.75 kB / 0.5309 GB, free: 5.508 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.02469, allocations: 15.98 kB / 0.5309 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.02494, allocations: 33.53 kB / 0.5309 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.02511, allocations: 63.84 kB / 0.531 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.02515, allocations: 13.12 kB / 0.531 GB, free: 5.387 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.02528, allocations: 135.2 kB / 0.5311 GB, free: 5.254 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02528, allocations: 0 / 0.5311 GB, free: 5.254 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.02567, allocations: 81.06 kB / 0.5312 GB, free: 5.176 MB / 458.7 MB 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.0001975/0.02587, allocations: 116.2 kB / 0.5313 GB, free: 5.055 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008727/0.02674, allocations: 374 kB / 0.5317 GB, free: 4.688 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02674, allocations: 0 / 0.5317 GB, free: 4.688 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.02718, allocations: 180.1 kB / 0.5318 GB, free: 4.516 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.02754, allocations: 55.38 kB / 0.5319 GB, free: 4.465 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.02886, allocations: 0.5929 MB / 0.5325 GB, free: 3.844 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.02904, allocations: 154.8 kB / 0.5326 GB, free: 3.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.02921, allocations: 41.3 kB / 0.5327 GB, free: 3.633 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.02935, allocations: 40.5 kB / 0.5327 GB, free: 3.594 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02935, allocations: 5.094 kB / 0.5327 GB, free: 3.59 MB / 458.7 MB Notification: Performance of Templates: time 0.009735/0.03909, allocations: 4.028 MB / 0.5366 GB, free: 15.77 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.071895771077834]