Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006809/0.0006809, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009648/0.001646, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001093/0.001093, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002333, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.07/1.07, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09748/1.167, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7843/0.7843, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2856/1.07, allocations: 49.13 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.239e-05, allocations: 5.922 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002207/0.002229, allocations: 1.685 MB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000718/0.002947, allocations: 0.5543 MB / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.003005, allocations: 0 / 451.9 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.003031, allocations: 7.875 kB / 452 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.003086, allocations: 14.28 kB / 452 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.003259, allocations: 57.23 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.003436, allocations: 105.3 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.003519, allocations: 18.02 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003627, allocations: 55.89 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.464e-05/0.003701, allocations: 31.94 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003726, allocations: 8 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.003738, allocations: 8 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.003764, allocations: 16.84 kB / 452.3 MB, free: 2.223 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.003799, allocations: 19.94 kB / 452.3 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.00392, allocations: 64.7 kB / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.728e-05/0.003938, allocations: 0 / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.003939, allocations: 0 / 452.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.003957, allocations: 0.875 kB / 452.3 MB, free: 2.141 MB / 426.7 MB 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.0005947/0.004551, allocations: 366.9 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.004584, allocations: 17.3 kB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.00462, allocations: 8.938 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004768, allocations: 125.7 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/0.004845, allocations: 91.8 kB / 452.9 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.004865, allocations: 12.36 kB / 453 MB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.005009, allocations: 84.88 kB / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005019, allocations: 192 / 453 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.00503, allocations: 3.938 kB / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005035, allocations: 0 / 453 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.005078, allocations: 20.48 kB / 453.1 MB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.005386, allocations: 192.7 kB / 453.2 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.005531, allocations: 44.2 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.005556, allocations: 12.86 kB / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.005572, allocations: 3.984 kB / 453.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.005708, allocations: 93.11 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.00571, allocations: 0.9062 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001491/0.005859, allocations: 69.61 kB / 453.5 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.005893, allocations: 52 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.005957, allocations: 126.7 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.005975, allocations: 35.14 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.006018, allocations: 96.02 kB / 453.8 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.006045, allocations: 31.73 kB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.006085, allocations: 29.69 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.006163, allocations: 323.6 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.006218, allocations: 67.41 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.006286, allocations: 92.41 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.006363, allocations: 106 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.006367, allocations: 4.828 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001272/0.006494, allocations: 191 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.006536, allocations: 68.05 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.006542, allocations: 0.8438 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.006551, allocations: 0 / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.006639, allocations: 28.55 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006642, allocations: 0 / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.0067, allocations: 21.44 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.006708, allocations: 8 kB / 454.7 MB, free: 15.52 MB / 442.7 MB 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 8.138e-05/0.00679, allocations: 115.1 kB / 454.8 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.00681, allocations: 19.92 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.006847, allocations: 8.438 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.00685, allocations: 4 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.006856, allocations: 4.594 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.006861, allocations: 0 / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.006977, allocations: 90.66 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.00698, allocations: 0 / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.007057, allocations: 17.17 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.007071, allocations: 7.953 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.007076, allocations: 3.938 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.007089, allocations: 8.609 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00709, allocations: 0 / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.007093, allocations: 1.25 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.007285, allocations: 105.7 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.007305, allocations: 11.94 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.007357, allocations: 9.078 kB / 455.1 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.007414, allocations: 23.91 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.007421, allocations: 0.625 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.213e-05/0.007443, allocations: 21.66 kB / 455.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007443, allocations: 4 kB / 455.2 MB, free: 15.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001253/0.007569, allocations: 16 kB / 455.2 MB, free: 15.01 MB / 442.7 MB 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 0.0001171/0.007686, allocations: 86.23 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.007887, allocations: 215.7 kB / 455.5 MB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.007894, allocations: 4 kB / 455.5 MB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.007943, allocations: 29.69 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.008109, allocations: 28.97 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.008798, allocations: 219 kB / 455.8 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.292e-05/0.008841, allocations: 63.34 kB / 455.8 MB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.008897, allocations: 14.97 kB / 455.8 MB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.00898, allocations: 63.36 kB / 455.9 MB, free: 14.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.008981, allocations: 5.062 kB / 455.9 MB, free: 14.21 MB / 442.7 MB Notification: Performance of Templates: time 0.003923/0.0129, allocations: 1.661 MB / 457.6 MB, free: 12.68 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6736589642241597]