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.001511/0.001511, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.000985/0.000985, allocations: 172.9 kB / 23.02 MB, free: 1.562 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 0.9217/0.9217, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7766/0.7766, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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.763e-06/1.763e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.767e-05, allocations: 5.594 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.005705/0.005732, allocations: 1.613 MB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.006693, allocations: 0.5531 MB / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.006763, allocations: 0 / 0.5225 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.006798, allocations: 3.938 kB / 0.5225 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.006899, allocations: 16.61 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.01024, allocations: 59.75 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.01047, allocations: 109.1 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.01057, allocations: 8.188 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.01068, allocations: 55.88 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.01077, allocations: 27.95 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.0108, allocations: 9.344 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.9e-05/0.01082, allocations: 8 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.01086, allocations: 23.91 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.01091, allocations: 24.61 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.01106, allocations: 67.84 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.01107, allocations: 3.219 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01107, allocations: 0 / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.01108, allocations: 3.938 kB / 0.5229 GB, free: 15.65 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.0007443/0.01182, allocations: 0.4991 MB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.01186, allocations: 8.031 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.01193, allocations: 12.89 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.01212, allocations: 137 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.01221, allocations: 86.33 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.01224, allocations: 12.33 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.01244, allocations: 91.61 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01245, allocations: 5.641 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.01246, allocations: 7.938 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.01247, allocations: 0 / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.437e-05/0.01253, allocations: 23.92 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.01295, allocations: 304.7 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.01617, allocations: 60.36 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.01621, allocations: 19.69 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.01623, allocations: 1.281 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.0164, allocations: 92.95 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.0164, allocations: 0 / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002455/0.01664, allocations: 98.41 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.01669, allocations: 59.34 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.01679, allocations: 185.7 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.01681, allocations: 29.69 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.01687, allocations: 142.8 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.0169, allocations: 29.14 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.01696, allocations: 35.36 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.01709, allocations: 0.4884 MB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.01717, allocations: 71.39 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.01725, allocations: 105.6 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.01736, allocations: 102.8 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01736, allocations: 3.938 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002249/0.01759, allocations: 231.7 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.01763, allocations: 63.41 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01763, allocations: 6.688 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01765, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.01774, allocations: 27.92 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01775, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.01782, allocations: 15.92 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01784, allocations: 8 kB / 0.5258 GB, free: 12.31 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 9.559e-05/0.01793, allocations: 169.3 kB / 0.526 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.01795, allocations: 11.95 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.01798, allocations: 9.469 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01799, allocations: 0 / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01799, allocations: 0 / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01799, allocations: 4.844 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.0181, allocations: 136.6 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01811, allocations: 5.469 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.01818, allocations: 23.92 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01819, allocations: 0 / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.0182, allocations: 0 / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.0182, allocations: 6.438 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0182, allocations: 0 / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01843, allocations: 144.2 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.01844, allocations: 15.89 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.01846, allocations: 3.984 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.606e-05/0.01852, allocations: 10.72 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.01858, allocations: 23.95 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01859, allocations: 4 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.01864, allocations: 135.2 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01865, allocations: 4 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002023/0.01885, allocations: 19.94 kB / 0.5265 GB, free: 11.53 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 0.0001001/0.01895, allocations: 104.1 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.01915, allocations: 230.9 kB / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01915, allocations: 0 / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.01921, allocations: 35.61 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.0194, allocations: 28.06 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.01985, allocations: 222.1 kB / 0.5271 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.01988, allocations: 67.28 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.01992, allocations: 13.89 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.01996, allocations: 12.5 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.01996, allocations: 1.469 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.003355/0.02331, allocations: 1.747 MB / 0.5289 GB, free: 9.09 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.836513413116336]