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.0008923/0.0008923, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002148, 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.00102/0.00102, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002294, 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09594/1.127, allocations: 53.66 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/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.7782/0.7782, allocations: 154.6 MB / 398.5 MB, free: 0.5117 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2701/1.048, allocations: 49.04 MB / 447.6 MB, free: 6.699 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.723e-06/1.723e-06, allocations: 0 / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.229e-05, allocations: 2.312 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003317/0.003339, allocations: 1.679 MB / 450.6 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000928/0.004267, allocations: 0.5544 MB / 451.1 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.004331, allocations: 0 / 451.1 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.004358, allocations: 3.938 kB / 451.1 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.004427, allocations: 18.78 kB / 451.2 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.004625, allocations: 58.7 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004829, allocations: 102.3 kB / 451.3 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.00492, allocations: 16.17 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.005059, allocations: 61.41 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.005149, allocations: 31.89 kB / 451.4 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.005178, allocations: 8 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.005196, allocations: 8 kB / 451.4 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.005225, allocations: 15.94 kB / 451.4 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.005266, allocations: 17.34 kB / 451.5 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.005407, allocations: 63.75 kB / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.748e-05/0.005424, allocations: 0 / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005425, allocations: 0 / 451.5 MB, free: 2.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.005444, allocations: 4.438 kB / 451.5 MB, free: 2.809 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.0006789/0.006123, allocations: 363.6 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.006156, allocations: 8.031 kB / 451.9 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.006202, allocations: 18.17 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.006406, allocations: 125.7 kB / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.006512, allocations: 85.61 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.006544, allocations: 14.94 kB / 452.1 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.006747, allocations: 86.83 kB / 452.2 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.006761, allocations: 192 / 452.2 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.006778, allocations: 10.09 kB / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.006785, allocations: 0 / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.006846, allocations: 15.92 kB / 452.2 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.007266, allocations: 192.2 kB / 452.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.007483, allocations: 50.2 kB / 452.5 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.007525, allocations: 13.7 kB / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.007548, allocations: 0 / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.007724, allocations: 92.28 kB / 452.6 MB, free: 1.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.007726, allocations: 4 kB / 452.6 MB, free: 1.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001835/0.007909, allocations: 70.23 kB / 452.7 MB, free: 1.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.007954, allocations: 51.41 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.008046, allocations: 129.1 kB / 452.8 MB, free: 1.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.008072, allocations: 33.7 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.008124, allocations: 88.83 kB / 453 MB, free: 1.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.00816, allocations: 35.72 kB / 453 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.008216, allocations: 34.62 kB / 453 MB, free: 1.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.008326, allocations: 318.8 kB / 453.3 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.008391, allocations: 71.39 kB / 453.4 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.797e-05/0.008459, allocations: 84.03 kB / 453.5 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/0.008556, allocations: 102.1 kB / 453.6 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008558, allocations: 0.5938 kB / 453.6 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001827/0.008741, allocations: 197.3 kB / 453.8 MB, free: 332 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.008794, allocations: 63.39 kB / 453.8 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.008802, allocations: 5.156 kB / 453.8 MB, free: 252 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.008813, allocations: 4 kB / 453.8 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.008928, allocations: 25.92 kB / 453.9 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.008932, allocations: 3.938 kB / 453.9 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.009006, allocations: 19.94 kB / 453.9 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.009018, allocations: 8 kB / 453.9 MB, free: 192 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.889e-05/0.009097, allocations: 110.9 kB / 454 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.009119, allocations: 15.92 kB / 454 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.00915, allocations: 16.38 kB / 454 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009152, allocations: 0.5312 kB / 454 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.009155, allocations: 0.6562 kB / 454 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.009158, allocations: 0 / 454 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.009303, allocations: 98.78 kB / 454.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009304, allocations: 0 / 454.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.009401, allocations: 16.86 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.009416, allocations: 7.953 kB / 454.2 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.00942, allocations: 3.938 kB / 454.2 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.00943, allocations: 4.844 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.009434, allocations: 7.984 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009436, allocations: 0.625 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.009623, allocations: 101.7 kB / 454.3 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.009645, allocations: 11.88 kB / 454.3 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.009711, allocations: 12.61 kB / 454.3 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.009773, allocations: 16.59 kB / 454.3 MB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.009784, allocations: 4.625 kB / 454.3 MB, free: 15.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.009811, allocations: 27.08 kB / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009811, allocations: 0.5 kB / 454.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.009998, allocations: 20.56 kB / 454.4 MB, free: 15.68 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.0001109/0.01011, allocations: 81.22 kB / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.01032, allocations: 216.8 kB / 454.7 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.01033, allocations: 4 kB / 454.7 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.01039, allocations: 24.78 kB / 454.7 MB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.01055, allocations: 32.34 kB / 454.7 MB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.01121, allocations: 218.4 kB / 454.9 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.01125, allocations: 67.77 kB / 455 MB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.0113, allocations: 5.938 kB / 455 MB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.0114, allocations: 68.55 kB / 455.1 MB, free: 14.89 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0114, allocations: 0 / 455.1 MB, free: 14.89 MB / 442.7 MB Notification: Performance of Templates: time 0.004287/0.01568, allocations: 1.658 MB / 456.7 MB, free: 13.34 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.505456536076963]