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.001085/0.001085, 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.00109/0.00109, 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.9467/0.9467, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7778/0.7778, 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 2.124e-06/2.124e-06, allocations: 0 / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.219e-05, allocations: 2.859 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00165/0.001672, allocations: 1.058 MB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.00295, allocations: 1.158 MB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.003041, allocations: 4 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.473e-05/0.003116, allocations: 23.67 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.003268, allocations: 40.33 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.003875, allocations: 160.9 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.004138, allocations: 334.9 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.004284, allocations: 37.81 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.004543, allocations: 195.7 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.004687, allocations: 111.6 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.004729, allocations: 34.25 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.004796, allocations: 39.98 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.004848, allocations: 75.77 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.636e-05/0.004924, allocations: 91.8 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.005184, allocations: 239.2 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005186, allocations: 0 / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005187, allocations: 1.75 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.005192, allocations: 0 / 0.5239 GB, free: 14.59 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.000917/0.006109, allocations: 0.6584 MB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.006161, allocations: 8.844 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.006419, allocations: 81.69 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.00655, allocations: 145.2 kB / 0.5248 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.006785, allocations: 497.2 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.006827, allocations: 28.38 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.007139, allocations: 232.3 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.007157, allocations: 4.188 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.007178, allocations: 9.531 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.007189, allocations: 8.125 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.007346, allocations: 95.86 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.008065, allocations: 0.7801 MB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.008339, allocations: 171.2 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.008445, allocations: 94.95 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.008474, allocations: 12 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.008747, allocations: 263.6 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.583e-06/0.008749, allocations: 0 / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.0005226/0.009271, allocations: 382.2 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.009324, allocations: 111.2 kB / 0.5273 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.00945, allocations: 236.6 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.009478, allocations: 37.7 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.009547, allocations: 172 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.009636, allocations: 150.8 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.009738, allocations: 119.9 kB / 0.528 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.009871, allocations: 0.5118 MB / 0.5285 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.009988, allocations: 84.28 kB / 0.5286 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.01019, allocations: 230.7 kB / 0.5288 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.01051, allocations: 324 kB / 0.5291 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01052, allocations: 0 / 0.5291 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004643/0.01098, allocations: 405.1 kB / 0.5295 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.011, allocations: 8 kB / 0.5295 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.011, allocations: 4 kB / 0.5295 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01102, allocations: 4 kB / 0.5295 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.01124, allocations: 97.33 kB / 0.5296 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.01125, allocations: 11.94 kB / 0.5296 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01137, allocations: 52.25 kB / 0.5297 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.0114, allocations: 20.94 kB / 0.5297 GB, free: 8.152 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.0001169/0.01151, allocations: 203.2 kB / 0.5299 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.01156, allocations: 47.8 kB / 0.5299 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.01159, allocations: 33.03 kB / 0.53 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.0116, allocations: 4 kB / 0.53 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.0116, allocations: 0 / 0.53 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.01161, allocations: 11.92 kB / 0.53 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.0118, allocations: 224.4 kB / 0.5302 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.0118, allocations: 4 kB / 0.5302 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.012, allocations: 71.89 kB / 0.5303 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.012, allocations: 4 kB / 0.5303 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.01203, allocations: 10.44 kB / 0.5303 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01203, allocations: 0 / 0.5303 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01203, allocations: 8.062 kB / 0.5303 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.01256, allocations: 474.7 kB / 0.5308 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.01258, allocations: 23.8 kB / 0.5308 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.01261, allocations: 13.27 kB / 0.5308 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.01271, allocations: 31.97 kB / 0.5308 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.01281, allocations: 68.72 kB / 0.5309 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.01283, allocations: 19.98 kB / 0.5309 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.0129, allocations: 161.4 kB / 0.5311 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0129, allocations: 0 / 0.5311 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000224/0.01313, allocations: 80 kB / 0.5311 GB, free: 6.621 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.000104/0.01323, allocations: 116.6 kB / 0.5312 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.01362, allocations: 287.3 kB / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01362, allocations: 0 / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.01379, allocations: 139.5 kB / 0.5316 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01403, allocations: 57.25 kB / 0.5317 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.01502, allocations: 0.5724 MB / 0.5323 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.579e-05/0.01508, allocations: 97.61 kB / 0.5324 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.848e-05/0.01516, allocations: 35.73 kB / 0.5324 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.01525, allocations: 44.48 kB / 0.5324 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.01525, allocations: 2.438 kB / 0.5324 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of Templates: time 0.005749/0.021, allocations: 4.248 MB / 0.5366 GB, free: 1.188 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.8689112216234207]