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.0006912/0.0006912, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000957/0.001648, allocations: 440 kB / 10.41 MB, free: 284 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.0007068/0.0007068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009133/0.00162, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.959/0.959, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09348/1.052, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.8774/0.8774, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2835/1.161, allocations: 49.05 MB / 447.8 MB, free: 6.586 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/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.342e-06/1.342e-06, allocations: 0 / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.176e-05, allocations: 2.312 kB / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002411/0.002433, allocations: 1.679 MB / 450.9 MB, free: 3.609 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.005203, allocations: 0.5569 MB / 451.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.005258, allocations: 0.7656 kB / 451.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.005282, allocations: 9.891 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.005339, allocations: 12.86 kB / 451.4 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.005501, allocations: 56.73 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.005666, allocations: 102.6 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.843e-05/0.005734, allocations: 12.17 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005845, allocations: 61.83 kB / 451.7 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.005922, allocations: 31.91 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.005945, allocations: 8 kB / 451.7 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.005962, allocations: 8 kB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.005989, allocations: 20.67 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.006027, allocations: 19.94 kB / 451.8 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.006148, allocations: 68.59 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.006159, allocations: 0 / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00616, allocations: 1.875 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.006172, allocations: 0 / 451.8 MB, free: 2.676 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.0005704/0.006743, allocations: 361.9 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.006773, allocations: 8.906 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.006818, allocations: 12.92 kB / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.006969, allocations: 129.7 kB / 452.3 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.007045, allocations: 85.67 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.007071, allocations: 8.375 kB / 452.4 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.007217, allocations: 87.52 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007226, allocations: 2.094 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.007241, allocations: 11.94 kB / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.007245, allocations: 0 / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.007286, allocations: 12.89 kB / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.01061, allocations: 197.4 kB / 452.7 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.01074, allocations: 39.95 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.01077, allocations: 17.52 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.01078, allocations: 1.219 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.01091, allocations: 91.25 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.01091, allocations: 0 / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001442/0.01106, allocations: 74.72 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.01109, allocations: 55.34 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.01115, allocations: 123.8 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.01117, allocations: 33.7 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.056e-05/0.01121, allocations: 96.06 kB / 453.2 MB, free: 1.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.01125, allocations: 36.44 kB / 453.3 MB, free: 1.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.0113, allocations: 21.72 kB / 453.3 MB, free: 1.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.01138, allocations: 332.3 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.01144, allocations: 71.39 kB / 453.7 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.0115, allocations: 86.86 kB / 453.8 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.01158, allocations: 106.5 kB / 453.9 MB, free: 416 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01158, allocations: 0 / 453.9 MB, free: 416 kB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001526/0.01173, allocations: 193.7 kB / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.01178, allocations: 64.08 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.01178, allocations: 0 / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01179, allocations: 1.094 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.01189, allocations: 27.92 kB / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.01189, allocations: 0 / 454.2 MB, free: 88 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.01196, allocations: 24.56 kB / 454.2 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.01197, allocations: 3.312 kB / 454.2 MB, free: 64 kB / 426.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 7.752e-05/0.01204, allocations: 113.8 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.01206, allocations: 15.92 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.01209, allocations: 12.44 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01209, allocations: 4 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01209, allocations: 0.8906 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0121, allocations: 0 / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.466e-05/0.01219, allocations: 85.8 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01219, allocations: 4.562 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.01227, allocations: 21.14 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.01228, allocations: 7.953 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01229, allocations: 3.938 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.0123, allocations: 8.75 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.0123, allocations: 0 / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.0123, allocations: 4.484 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01246, allocations: 109.7 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.01248, allocations: 8.562 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.01253, allocations: 17.91 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.01258, allocations: 15.97 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.01259, allocations: 0.625 kB / 454.6 MB, free: 15.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.01261, allocations: 21.97 kB / 454.6 MB, free: 15.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0.625 kB / 454.6 MB, free: 15.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.01276, allocations: 20.94 kB / 454.7 MB, free: 15.55 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 9.311e-05/0.01285, allocations: 90.11 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.01302, allocations: 218.9 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.01302, allocations: 0 / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.032e-05/0.01307, allocations: 24.86 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.01627, allocations: 135.7 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.01687, allocations: 223.5 kB / 455.3 MB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.0169, allocations: 72.58 kB / 455.4 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.01695, allocations: 9.781 kB / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.01704, allocations: 67.36 kB / 455.5 MB, free: 14.62 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01704, allocations: 0 / 455.5 MB, free: 14.62 MB / 442.7 MB Notification: Performance of Templates: time 0.006728/0.02377, allocations: 1.685 MB / 457.2 MB, free: 13.04 MB / 442.7 MB " [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.6816485337913036]