Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.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.001035/0.001035, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00104/0.00104, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9878/0.9878, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.7724/0.7724, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5215 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.992e-05, allocations: 5.797 kB / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.001944/0.001964, allocations: 1.618 MB / 0.5231 GB, free: 300 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.002724, allocations: 0.5408 MB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.002814, allocations: 0 / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.002842, allocations: 3.938 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.002935, allocations: 15.86 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.003189, allocations: 55.75 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.003362, allocations: 104.2 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.00345, allocations: 12.73 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.003539, allocations: 55.89 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.003607, allocations: 32.88 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.003631, allocations: 8 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.003644, allocations: 9.531 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.003673, allocations: 19.92 kB / 0.524 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.003711, allocations: 35.89 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003815, allocations: 67.72 kB / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.003819, allocations: 4.938 kB / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003819, allocations: 0 / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.003823, allocations: 0 / 0.5241 GB, free: 15.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005095/0.004333, allocations: 0.4927 MB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.004363, allocations: 9.188 kB / 0.5245 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.004404, allocations: 12.89 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.004545, allocations: 136.5 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.278e-05/0.004618, allocations: 86.36 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.004641, allocations: 16.31 kB / 0.5248 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.004789, allocations: 88.11 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004799, allocations: 192 / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.004812, allocations: 13 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004817, allocations: 0 / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.004858, allocations: 15.92 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.005264, allocations: 294.8 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.005417, allocations: 47.09 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.005442, allocations: 11.69 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.005457, allocations: 7.938 kB / 0.5252 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.005581, allocations: 92.28 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.005582, allocations: 0 / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001701/0.005752, allocations: 97.55 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.005782, allocations: 55.39 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.005855, allocations: 180.2 kB / 0.5257 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.00587, allocations: 29.7 kB / 0.5257 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.005925, allocations: 146.8 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.005944, allocations: 27.78 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.005996, allocations: 42.3 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.006103, allocations: 0.4884 MB / 0.5264 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.006148, allocations: 67.39 kB / 0.5264 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.243e-05/0.0062, allocations: 98.75 kB / 0.5265 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.006273, allocations: 113.5 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006275, allocations: 0 / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001548/0.00643, allocations: 209.9 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.006471, allocations: 63.39 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006475, allocations: 0 / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.006483, allocations: 4 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.006557, allocations: 25.45 kB / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006559, allocations: 0 / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.006615, allocations: 23.88 kB / 0.5269 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.006624, allocations: 5.125 kB / 0.5269 GB, free: 12.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,step.count,$PRE.step.count,step.T_start,$PRE.step.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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 7.003e-05/0.006694, allocations: 160.6 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.006727, allocations: 16.52 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.006753, allocations: 12.92 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006755, allocations: 4 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006757, allocations: 2.281 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00676, allocations: 0 / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.006844, allocations: 117.2 kB / 0.5272 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006845, allocations: 0 / 0.5272 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.006905, allocations: 15.98 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006906, allocations: 2.438 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.006921, allocations: 15.92 kB / 0.5273 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006922, allocations: 0 / 0.5273 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006923, allocations: 0 / 0.5273 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.007082, allocations: 136.2 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.007098, allocations: 11.95 kB / 0.5274 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.007114, allocations: 13.91 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.007159, allocations: 7.984 kB / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.007205, allocations: 19.97 kB / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.007211, allocations: 0 / 0.5275 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.446e-05/0.007286, allocations: 139.2 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007286, allocations: 1.031 kB / 0.5276 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001309/0.007417, allocations: 23.94 kB / 0.5276 GB, free: 11.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (movingAverage.iDelay,movingAverage.iStop,firstOrder.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,step.T_start,step.count) * Number of discrete states: 1 (step.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 7.696e-05/0.007494, allocations: 104.2 kB / 0.5277 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.007654, allocations: 229.1 kB / 0.5279 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007656, allocations: 3.938 kB / 0.5279 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.007697, allocations: 27.67 kB / 0.528 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.007849, allocations: 26.97 kB / 0.528 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.008219, allocations: 239.3 kB / 0.5282 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.84e-05/0.008248, allocations: 68.72 kB / 0.5283 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.008278, allocations: 4.5 kB / 0.5283 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.008417, allocations: 91.22 kB / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.008418, allocations: 0 / 0.5284 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.003171/0.01159, allocations: 1.807 MB / 0.5301 GB, free: 8.75 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7524273958988488]