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.0009535/0.0009535, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00124/0.00124, allocations: 181 kB / 23.36 MB, free: 1.133 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8029/0.8029, allocations: 154.6 MB / 414.8 MB, free: 0.4922 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.833e-06/1.833e-06, allocations: 0 / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.705e-05, allocations: 2.312 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002995/0.003022, allocations: 1.63 MB / 481.6 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.004038, allocations: 0.5486 MB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.00411, allocations: 4 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.004141, allocations: 8.469 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004247, allocations: 14.75 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.004525, allocations: 56.8 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.004729, allocations: 103.2 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.004822, allocations: 13.39 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.004952, allocations: 59.88 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.00504, allocations: 23.91 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.005068, allocations: 8.5 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.005085, allocations: 12 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.00512, allocations: 28.92 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.005192, allocations: 23.98 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.00532, allocations: 68.97 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005322, allocations: 0 / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005323, allocations: 0 / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005327, allocations: 0 / 482.6 MB, free: 4.309 MB / 442.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.0005936/0.005921, allocations: 365.5 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.005967, allocations: 12.03 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.00602, allocations: 12.92 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.006235, allocations: 134.2 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.006346, allocations: 93.66 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.006402, allocations: 5.812 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.006597, allocations: 86.83 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.006613, allocations: 12.08 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006624, allocations: 4.781 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.00663, allocations: 0 / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.006673, allocations: 17.09 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.007003, allocations: 188.2 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.007129, allocations: 39.19 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.007151, allocations: 13.64 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.007165, allocations: 0 / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.007278, allocations: 96.17 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.007279, allocations: 1.062 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001352/0.007414, allocations: 69.61 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.007446, allocations: 56.02 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.552e-05/0.007512, allocations: 133.1 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.007528, allocations: 30.33 kB / 483.9 MB, free: 2.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.007565, allocations: 92.06 kB / 484 MB, free: 2.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.007587, allocations: 28.42 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.007627, allocations: 30.31 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.007698, allocations: 322.8 kB / 484.4 MB, free: 2.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.007744, allocations: 72.02 kB / 484.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.00782, allocations: 83.62 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.902e-05/0.007889, allocations: 102.4 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.007891, allocations: 0 / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001229/0.008014, allocations: 196.5 kB / 484.8 MB, free: 1.832 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.008047, allocations: 60.94 kB / 484.9 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.008052, allocations: 4 kB / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.008063, allocations: 0 / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.008137, allocations: 19.98 kB / 484.9 MB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.00814, allocations: 4.906 kB / 484.9 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.008195, allocations: 20.53 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.008205, allocations: 12 kB / 485 MB, free: 1.703 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 6.468e-05/0.008269, allocations: 122.4 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.008283, allocations: 14.22 kB / 485.1 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.008306, allocations: 12.44 kB / 485.1 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008309, allocations: 3.984 kB / 485.1 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.008311, allocations: 0 / 485.1 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008314, allocations: 0 / 485.1 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.797e-05/0.008392, allocations: 81.88 kB / 485.2 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008394, allocations: 5.688 kB / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.008447, allocations: 11.98 kB / 485.2 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008449, allocations: 7.938 kB / 485.2 MB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.008459, allocations: 3.938 kB / 485.2 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00846, allocations: 1.594 kB / 485.2 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.008461, allocations: 0 / 485.2 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.008602, allocations: 105 kB / 485.3 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.00862, allocations: 15.89 kB / 485.3 MB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.008635, allocations: 8.688 kB / 485.3 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.008678, allocations: 9.422 kB / 485.4 MB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.008733, allocations: 19.97 kB / 485.4 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.008742, allocations: 4 kB / 485.4 MB, free: 1.246 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.321e-05/0.008765, allocations: 24.83 kB / 485.4 MB, free: 1.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008766, allocations: 4.562 kB / 485.4 MB, free: 1.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001252/0.008891, allocations: 21.14 kB / 485.4 MB, free: 1.195 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.0001226/0.009013, allocations: 84.41 kB / 485.5 MB, free: 1.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.009198, allocations: 211.7 kB / 485.7 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.009203, allocations: 4.562 kB / 485.7 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.009247, allocations: 28.83 kB / 485.8 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.00938, allocations: 26.3 kB / 485.8 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.009794, allocations: 218.3 kB / 486 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.756e-05/0.009832, allocations: 67.7 kB / 486.1 MB, free: 492 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.009871, allocations: 14.42 kB / 486.1 MB, free: 480 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.009948, allocations: 71.34 kB / 486.1 MB, free: 408 kB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009948, allocations: 0 / 486.1 MB, free: 408 kB / 442.7 MB Notification: Performance of Templates: time 0.003254/0.0132, allocations: 1.669 MB / 487.8 MB, free: 14.84 MB / 458.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.7739103520289063]