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.001793/0.001793, allocations: 89.47 kB / 19.44 MB, free: 340 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.00228/0.00228, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.539 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.359/1.359, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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,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 2.584e-06/2.584e-06, allocations: 0 / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.78e-05/5.038e-05, allocations: 9.938 kB / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002379/0.002429, allocations: 1.051 MB / 0.5207 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.00413, allocations: 1.138 MB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.004208, allocations: 4 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.024e-05/0.004258, allocations: 15.75 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.0044, allocations: 45.95 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.004877, allocations: 147.7 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.005303, allocations: 335 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.005448, allocations: 38.19 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.005793, allocations: 207.5 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.006005, allocations: 107.7 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.006064, allocations: 33.28 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.065e-05/0.006154, allocations: 36 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.006242, allocations: 79.7 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.006368, allocations: 95.78 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.006824, allocations: 347.5 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006827, allocations: 0 / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006828, allocations: 0.75 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.006833, allocations: 0 / 0.5232 GB, free: 14.83 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.001386/0.00822, allocations: 0.6618 MB / 0.5239 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.008258, allocations: 12.03 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.008612, allocations: 76.72 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.00879, allocations: 149.1 kB / 0.5241 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.009228, allocations: 499.7 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.009293, allocations: 32.31 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.009812, allocations: 264.2 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.009835, allocations: 8.688 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.931e-05/0.009874, allocations: 8.375 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.009886, allocations: 8.625 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.01032, allocations: 180.7 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01159, allocations: 0.8186 MB / 0.5259 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.01225, allocations: 213.8 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.01252, allocations: 129.2 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.01257, allocations: 11.98 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.01315, allocations: 330.5 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.623e-06/0.01315, allocations: 0 / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001131/0.01429, allocations: 0.4936 MB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.01438, allocations: 115.2 kB / 0.5271 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.01462, allocations: 252.1 kB / 0.5274 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.01467, allocations: 41.69 kB / 0.5274 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.01481, allocations: 176 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.01497, allocations: 164.2 kB / 0.5277 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.01516, allocations: 124 kB / 0.5278 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002941/0.01546, allocations: 0.5196 MB / 0.5283 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.01578, allocations: 141.2 kB / 0.5285 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.01622, allocations: 299.6 kB / 0.5288 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.01696, allocations: 429 kB / 0.5292 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01696, allocations: 0 / 0.5292 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009741/0.01794, allocations: 0.5018 MB / 0.5297 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01795, allocations: 4.875 kB / 0.5297 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.01796, allocations: 4 kB / 0.5297 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.01798, allocations: 6.688 kB / 0.5297 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.01838, allocations: 91.83 kB / 0.5298 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.01839, allocations: 11.94 kB / 0.5298 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.01867, allocations: 55.75 kB / 0.5298 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.01872, allocations: 23.94 kB / 0.5299 GB, free: 7.586 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.0002222/0.01895, allocations: 209.6 kB / 0.5301 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.01903, allocations: 43.81 kB / 0.5301 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.426e-05/0.01911, allocations: 34.05 kB / 0.5301 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.01913, allocations: 11.98 kB / 0.5301 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.01913, allocations: 0 / 0.5301 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.01914, allocations: 3.938 kB / 0.5301 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.01952, allocations: 260.3 kB / 0.5304 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01952, allocations: 1.781 kB / 0.5304 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.01994, allocations: 71.89 kB / 0.5305 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.01995, allocations: 4 kB / 0.5305 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.01999, allocations: 15.98 kB / 0.5305 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01999, allocations: 7.312 kB / 0.5305 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.02, allocations: 4.062 kB / 0.5305 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.0212, allocations: 0.6133 MB / 0.5311 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.02124, allocations: 27.75 kB / 0.5311 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.113e-05/0.02129, allocations: 11.98 kB / 0.5311 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.02152, allocations: 35.47 kB / 0.5312 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.02169, allocations: 71.78 kB / 0.5312 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.02173, allocations: 23.92 kB / 0.5313 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001422/0.02187, allocations: 173.1 kB / 0.5314 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02187, allocations: 0 / 0.5314 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003312/0.02221, allocations: 80 kB / 0.5315 GB, free: 5.84 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.0001837/0.02239, allocations: 116.9 kB / 0.5316 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000819/0.02321, allocations: 401.6 kB / 0.532 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02321, allocations: 0 / 0.532 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.0236, allocations: 184.5 kB / 0.5322 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.02396, allocations: 53.72 kB / 0.5322 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.02525, allocations: 0.5998 MB / 0.5328 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.02566, allocations: 155 kB / 0.533 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.02581, allocations: 38.05 kB / 0.533 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.02594, allocations: 45.19 kB / 0.533 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.02594, allocations: 0 / 0.533 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of Templates: time 0.00953/0.03547, allocations: 4.038 MB / 0.537 GB, free: 396 kB / 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: 6.318301441031508]