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.0008794/0.0008794, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009332/0.0009332, allocations: 169 kB / 23.27 MB, free: 1.223 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.89/0.89, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7804/0.7804, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.683e-06/1.683e-06, allocations: 0 / 0.5208 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.028e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001421/0.001442, allocations: 1.041 MB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002443, allocations: 1.147 MB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.002507, allocations: 4.719 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.002545, allocations: 23.67 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.551e-05/0.002631, allocations: 40.86 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.002954, allocations: 165.1 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.003169, allocations: 335 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003271, allocations: 28.58 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.00349, allocations: 200.4 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.003613, allocations: 120.4 kB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.003648, allocations: 28 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.003702, allocations: 35.12 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.003746, allocations: 79.77 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.003805, allocations: 99.78 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.003993, allocations: 235.2 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003995, allocations: 0 / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003996, allocations: 0 / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003999, allocations: 4 kB / 0.5243 GB, free: 14.25 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.0006578/0.004657, allocations: 0.651 MB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.004693, allocations: 9 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.004873, allocations: 81.53 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.004959, allocations: 149.1 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.00515, allocations: 496.7 kB / 0.5257 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.005186, allocations: 28.38 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.005426, allocations: 224.2 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.00544, allocations: 1.406 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.005455, allocations: 8.375 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.005463, allocations: 8.125 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.00557, allocations: 76.48 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.00616, allocations: 0.753 MB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.006369, allocations: 162.3 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.006443, allocations: 79.02 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.006474, allocations: 16.75 kB / 0.527 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.006696, allocations: 255.5 kB / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.522e-06/0.006698, allocations: 0 / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0003991/0.007097, allocations: 334.9 kB / 0.5275 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.007148, allocations: 119.5 kB / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.007259, allocations: 225 kB / 0.5279 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.007285, allocations: 42.33 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.007345, allocations: 169 kB / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.007429, allocations: 154.7 kB / 0.5282 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.007524, allocations: 115.9 kB / 0.5283 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.007642, allocations: 0.5239 MB / 0.5288 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.007716, allocations: 67 kB / 0.5289 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.00785, allocations: 206.6 kB / 0.5291 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.008074, allocations: 303.9 kB / 0.5294 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.008077, allocations: 0 / 0.5294 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003399/0.008417, allocations: 365.2 kB / 0.5297 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.008432, allocations: 9.5 kB / 0.5297 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.008437, allocations: 0 / 0.5297 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.008451, allocations: 8 kB / 0.5297 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.008638, allocations: 91.83 kB / 0.5298 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.008643, allocations: 6.75 kB / 0.5298 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.008761, allocations: 59.69 kB / 0.5299 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.008779, allocations: 16 kB / 0.5299 GB, free: 8.059 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.0001139/0.008893, allocations: 204.5 kB / 0.5301 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.008935, allocations: 39.81 kB / 0.5301 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.008984, allocations: 33.95 kB / 0.5302 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.008991, allocations: 11.94 kB / 0.5302 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.008995, allocations: 0 / 0.5302 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.009001, allocations: 0 / 0.5302 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.009246, allocations: 209.9 kB / 0.5304 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.009249, allocations: 0 / 0.5304 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.009468, allocations: 72.64 kB / 0.5305 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.009472, allocations: 0 / 0.5305 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.009494, allocations: 18.33 kB / 0.5305 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.009498, allocations: 4 kB / 0.5305 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009499, allocations: 0 / 0.5305 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.009949, allocations: 434.7 kB / 0.5309 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.009969, allocations: 27.8 kB / 0.5309 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.009993, allocations: 8 kB / 0.5309 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.0101, allocations: 33.5 kB / 0.531 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.01018, allocations: 59.97 kB / 0.531 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.0102, allocations: 23.36 kB / 0.531 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.01026, allocations: 160.2 kB / 0.5312 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01026, allocations: 0 / 0.5312 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002314/0.01049, allocations: 83.98 kB / 0.5313 GB, free: 6.605 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.0001137/0.0106, allocations: 115.1 kB / 0.5314 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.01086, allocations: 260.5 kB / 0.5316 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01086, allocations: 0 / 0.5316 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01099, allocations: 126.7 kB / 0.5317 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01124, allocations: 55.75 kB / 0.5318 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.01214, allocations: 0.5553 MB / 0.5323 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.01219, allocations: 97.61 kB / 0.5324 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.746e-05/0.01229, allocations: 45.66 kB / 0.5325 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.01244, allocations: 130.2 kB / 0.5326 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01244, allocations: 0 / 0.5326 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of Templates: time 0.006002/0.01844, allocations: 4.342 MB / 0.5368 GB, free: 1.055 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.4584932290017605]