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.001457/0.001457, allocations: 92.7 kB / 19.44 MB, free: 324 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.001737/0.001737, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.239/1.239, allocations: 154.6 MB / 414.2 MB, free: 0.6211 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 3.757e-06/3.757e-06, allocations: 0 / 0.5197 GB, free: 2.344 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.975e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00369/0.003729, allocations: 1.007 MB / 0.5207 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.006315, allocations: 1.138 MB / 0.5218 GB, free: 216 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.006462, allocations: 0 / 0.5218 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.583e-05/0.006548, allocations: 23.69 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.006759, allocations: 45.61 kB / 0.5219 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.007506, allocations: 155.7 kB / 0.522 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.008163, allocations: 339.5 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.008345, allocations: 29.3 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.008913, allocations: 195.7 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.009255, allocations: 120.6 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.009358, allocations: 32 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.009474, allocations: 36.88 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.009599, allocations: 79.77 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.009788, allocations: 95.78 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.01052, allocations: 344.6 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.01052, allocations: 4 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.01052, allocations: 0 / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.01054, allocations: 3.938 kB / 0.5232 GB, free: 14.74 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.002114/0.01265, allocations: 0.548 MB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.01271, allocations: 12.86 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.01336, allocations: 78.52 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.01361, allocations: 150.2 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006853/0.01429, allocations: 499.7 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.0144, allocations: 24.38 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.01541, allocations: 264.8 kB / 0.5247 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.01546, allocations: 8.125 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.01551, allocations: 4.375 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.01553, allocations: 12.12 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.01638, allocations: 177.9 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.01847, allocations: 0.6538 MB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.01953, allocations: 205.8 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.02006, allocations: 122.5 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.238e-05/0.02012, allocations: 11.98 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007936/0.02092, allocations: 310 kB / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.435e-06/0.02092, allocations: 0 / 0.5262 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001268/0.02219, allocations: 0.492 MB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.02229, allocations: 116.1 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.0225, allocations: 176.9 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.02256, allocations: 46.66 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.02267, allocations: 125.3 kB / 0.5271 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.02285, allocations: 150.8 kB / 0.5273 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.02305, allocations: 107.2 kB / 0.5274 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.02325, allocations: 334.8 kB / 0.5277 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.0236, allocations: 150.4 kB / 0.5278 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.02408, allocations: 259.7 kB / 0.5281 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.02486, allocations: 402 kB / 0.5285 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.02486, allocations: 0 / 0.5285 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001103/0.02597, allocations: 0.5089 MB / 0.529 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.02599, allocations: 7.031 kB / 0.529 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.026, allocations: 4 kB / 0.529 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.02604, allocations: 4 kB / 0.529 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.02647, allocations: 95.83 kB / 0.5291 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.02649, allocations: 11.88 kB / 0.5291 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.02683, allocations: 59.73 kB / 0.5291 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.02688, allocations: 17.5 kB / 0.5291 GB, free: 8.289 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.000221/0.0271, allocations: 160.2 kB / 0.5293 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/0.0272, allocations: 47.8 kB / 0.5293 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.02728, allocations: 37.03 kB / 0.5294 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.02729, allocations: 4 kB / 0.5294 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.0273, allocations: 0 / 0.5294 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.02731, allocations: 7.922 kB / 0.5294 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.02769, allocations: 233.1 kB / 0.5296 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.02769, allocations: 0 / 0.5296 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.02811, allocations: 75.89 kB / 0.5297 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.02812, allocations: 4 kB / 0.5297 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.02816, allocations: 10.44 kB / 0.5297 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.02816, allocations: 8.062 kB / 0.5297 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.02816, allocations: 0 / 0.5297 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.02945, allocations: 0.6162 MB / 0.5303 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.0295, allocations: 31.75 kB / 0.5303 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.02955, allocations: 8 kB / 0.5304 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.0298, allocations: 33.67 kB / 0.5304 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.02997, allocations: 55.86 kB / 0.5304 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.03001, allocations: 19.98 kB / 0.5305 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001281/0.03014, allocations: 127.6 kB / 0.5306 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03014, allocations: 0 / 0.5306 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004059/0.03054, allocations: 87.92 kB / 0.5307 GB, free: 6.688 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.0002214/0.03077, allocations: 111.3 kB / 0.5308 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009315/0.0317, allocations: 358.3 kB / 0.5311 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.0317, allocations: 4 kB / 0.5311 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.03216, allocations: 185.1 kB / 0.5313 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.03257, allocations: 55.97 kB / 0.5313 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.03397, allocations: 0.5787 MB / 0.5319 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.03415, allocations: 155.5 kB / 0.5321 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.03432, allocations: 47.53 kB / 0.5321 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.03447, allocations: 40.5 kB / 0.5321 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.03447, allocations: 0.5625 kB / 0.5321 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of Templates: time 0.01004/0.04451, allocations: 4.036 MB / 0.5361 GB, free: 1.305 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.060374004067853]