Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001924/0.001924, 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.002223/0.002223, allocations: 161.7 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.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.272/1.272, allocations: 154.8 MB / 414.3 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.862e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002451/0.00249, allocations: 1.019 MB / 0.5209 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.004269, allocations: 1.131 MB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.243e-05/0.004351, allocations: 0 / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.044e-05/0.004412, allocations: 19.73 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.004547, allocations: 48.52 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005213/0.005069, allocations: 160.1 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.005498, allocations: 336.1 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.005641, allocations: 32.56 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.005991, allocations: 196.6 kB / 0.5228 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.006208, allocations: 115.6 kB / 0.5229 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.006263, allocations: 28.62 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.383e-05/0.006347, allocations: 39.94 kB / 0.523 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.006433, allocations: 77.08 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.006697, allocations: 107.7 kB / 0.5231 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.007131, allocations: 342.9 kB / 0.5235 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007135, allocations: 0.625 kB / 0.5235 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.007136, allocations: 0 / 0.5235 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.007143, allocations: 5.531 kB / 0.5235 GB, free: 14.61 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.001357/0.0085, allocations: 0.547 MB / 0.524 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.008542, allocations: 9.031 kB / 0.524 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.008929, allocations: 77.83 kB / 0.5241 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.009115, allocations: 150.2 kB / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004309/0.009546, allocations: 499.7 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.009614, allocations: 34.84 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.0102, allocations: 263.1 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.01022, allocations: 4.188 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.01025, allocations: 4.375 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.01026, allocations: 8.125 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.01072, allocations: 181.4 kB / 0.5252 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.0119, allocations: 0.6573 MB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.01246, allocations: 196.9 kB / 0.526 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.01274, allocations: 127.7 kB / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.01279, allocations: 9.031 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.01349, allocations: 309.7 kB / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.01349, allocations: 0 / 0.5264 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.00122/0.01471, allocations: 0.4933 MB / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.01482, allocations: 123.1 kB / 0.527 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.01504, allocations: 178.2 kB / 0.5272 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.01509, allocations: 37.7 kB / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01519, allocations: 122.6 kB / 0.5274 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.01536, allocations: 154.8 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.01554, allocations: 106.3 kB / 0.5276 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.01575, allocations: 336.1 kB / 0.5279 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.01608, allocations: 149.2 kB / 0.5281 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.0165, allocations: 249.5 kB / 0.5283 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.01726, allocations: 400.8 kB / 0.5287 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01726, allocations: 0 / 0.5287 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009837/0.01825, allocations: 0.5093 MB / 0.5292 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.01827, allocations: 10.66 kB / 0.5292 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.01828, allocations: 6.938 kB / 0.5292 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.01831, allocations: 4 kB / 0.5292 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.01872, allocations: 103.8 kB / 0.5293 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.01873, allocations: 7.938 kB / 0.5293 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.01903, allocations: 51.75 kB / 0.5294 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.01907, allocations: 25.5 kB / 0.5294 GB, free: 8.156 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.0002143/0.01929, allocations: 159.8 kB / 0.5295 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.01938, allocations: 51.08 kB / 0.5296 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.01946, allocations: 29.97 kB / 0.5296 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.01947, allocations: 8 kB / 0.5296 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.01948, allocations: 0 / 0.5296 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.01949, allocations: 7.922 kB / 0.5296 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.01987, allocations: 237 kB / 0.5299 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01988, allocations: 0 / 0.5299 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.02045, allocations: 75.89 kB / 0.5299 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.02045, allocations: 6.438 kB / 0.5299 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.02049, allocations: 11.98 kB / 0.5299 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.02049, allocations: 4 kB / 0.5299 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.0205, allocations: 3.938 kB / 0.53 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.02175, allocations: 0.6043 MB / 0.5305 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.02179, allocations: 27.75 kB / 0.5306 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.02185, allocations: 15.98 kB / 0.5306 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.02207, allocations: 30 kB / 0.5306 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.02223, allocations: 63.84 kB / 0.5307 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.02226, allocations: 12.09 kB / 0.5307 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001201/0.02238, allocations: 134.7 kB / 0.5308 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02238, allocations: 0 / 0.5308 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003573/0.02274, allocations: 83.94 kB / 0.5309 GB, free: 6.562 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.000229/0.02297, allocations: 112.9 kB / 0.531 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.02377, allocations: 365.5 kB / 0.5313 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02377, allocations: 1.562 kB / 0.5314 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.02416, allocations: 185 kB / 0.5315 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.02453, allocations: 57.81 kB / 0.5316 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.02577, allocations: 0.5809 MB / 0.5321 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.02594, allocations: 158.3 kB / 0.5323 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.0261, allocations: 35.75 kB / 0.5323 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.02623, allocations: 44.48 kB / 0.5324 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.02623, allocations: 0 / 0.5324 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.009027/0.03526, allocations: 4.038 MB / 0.5363 GB, free: 1.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.139823592966422]