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.0008619/0.0008619, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001005/0.001005, allocations: 169 kB / 23.27 MB, free: 1.223 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.046/1.046, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.7707/0.7707, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.944e-06/1.944e-06, allocations: 0 / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.581e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002555/0.002581, allocations: 1.609 MB / 0.5223 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.003443, allocations: 0.5531 MB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.003512, allocations: 0 / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.003542, allocations: 8.844 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.219e-05/0.003624, allocations: 15.86 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.00387, allocations: 57.55 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.004031, allocations: 107.7 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.004106, allocations: 4.188 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.004211, allocations: 55.88 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.004281, allocations: 32.45 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.004309, allocations: 9.031 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.004324, allocations: 11.94 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.004354, allocations: 23.91 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.00439, allocations: 24.98 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.004503, allocations: 63.84 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004505, allocations: 0 / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004506, allocations: 0.625 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.004509, allocations: 5.312 kB / 0.5233 GB, free: 15.3 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.0005456/0.005055, allocations: 0.4991 MB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.005092, allocations: 8.594 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.005136, allocations: 13.48 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.005292, allocations: 140.5 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.005374, allocations: 89.67 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.005395, allocations: 8.328 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.005552, allocations: 87.7 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005561, allocations: 192 / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005572, allocations: 9.125 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005578, allocations: 4 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.005626, allocations: 19.86 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.005984, allocations: 285.8 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.006114, allocations: 47.84 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.006144, allocations: 19.75 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.006161, allocations: 8.875 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.006299, allocations: 93.02 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.006301, allocations: 2.688 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001863/0.006487, allocations: 89.56 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.006517, allocations: 55.41 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.006607, allocations: 188.3 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.006624, allocations: 29.7 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.006683, allocations: 142.8 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.006707, allocations: 29.17 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.00676, allocations: 35.34 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.006885, allocations: 0.4923 MB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.006946, allocations: 67.39 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.007012, allocations: 103.2 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.007102, allocations: 104 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007104, allocations: 0 / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001958/0.0073, allocations: 214.8 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.007336, allocations: 63.39 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.00734, allocations: 4.875 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.007352, allocations: 4 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.007438, allocations: 22.73 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.007441, allocations: 0 / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.007514, allocations: 27.88 kB / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.007523, allocations: 0 / 0.5262 GB, free: 12.03 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 8.196e-05/0.007605, allocations: 164.5 kB / 0.5263 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.007626, allocations: 19.88 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.007657, allocations: 11.16 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.00766, allocations: 4 kB / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.007662, allocations: 0 / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007665, allocations: 0 / 0.5264 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.007781, allocations: 117.2 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007783, allocations: 0 / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.007855, allocations: 16 kB / 0.5265 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.007859, allocations: 5.266 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.007869, allocations: 3.938 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.007872, allocations: 4 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.007872, allocations: 0.6562 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.008066, allocations: 147.7 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.008083, allocations: 7.953 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.008099, allocations: 3.938 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.008155, allocations: 11.98 kB / 0.5267 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.008207, allocations: 15.97 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.008216, allocations: 11.94 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.008264, allocations: 131.2 kB / 0.5268 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008264, allocations: 0 / 0.5268 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001917/0.008456, allocations: 27.94 kB / 0.5269 GB, free: 11.29 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 9.257e-05/0.008549, allocations: 105.8 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.008731, allocations: 228.3 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008732, allocations: 0 / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.008785, allocations: 39.59 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.008973, allocations: 20.8 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.009405, allocations: 224.3 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.009439, allocations: 67.28 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.009482, allocations: 10.92 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.00957, allocations: 90.2 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.00957, allocations: 0 / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003618/0.01319, allocations: 1.776 MB / 0.5293 GB, free: 8.75 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.747625233605504]