Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001272/0.001272, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001383/0.001383, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9578/0.9578, allocations: 177.1 MB / 204.5 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8199/0.8199, allocations: 154.9 MB / 415.9 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.MovingAverage") translateModel(IDEAS.Utilities.Math.Examples.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5219 GB, free: 452 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.279e-05, allocations: 11.72 kB / 0.5219 GB, free: 444 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002901/0.002924, allocations: 1.623 MB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.003836, allocations: 0.5356 MB / 0.524 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.003881, allocations: 2.688 kB / 0.524 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.0039, allocations: 7.922 kB / 0.524 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.003962, allocations: 19.86 kB / 0.524 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.004143, allocations: 51.75 kB / 0.5241 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.004269, allocations: 103.7 kB / 0.5242 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.004321, allocations: 13.08 kB / 0.5242 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.004391, allocations: 55.89 kB / 0.5242 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.004445, allocations: 31.94 kB / 0.5243 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.004463, allocations: 8.5 kB / 0.5243 GB, free: 14 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.004473, allocations: 9.031 kB / 0.5243 GB, free: 14 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.004496, allocations: 19.92 kB / 0.5243 GB, free: 13.98 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.004529, allocations: 35.89 kB / 0.5243 GB, free: 13.94 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 8.534e-05/0.004614, allocations: 72.94 kB / 0.5244 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004616, allocations: 0 / 0.5244 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004616, allocations: 0 / 0.5244 GB, free: 13.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.004619, allocations: 0.625 kB / 0.5244 GB, free: 13.87 MB / 458.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.0004245/0.005043, allocations: 0.489 MB / 0.5249 GB, free: 13.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.005069, allocations: 12.03 kB / 0.5249 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.005104, allocations: 12.89 kB / 0.5249 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.005227, allocations: 141.5 kB / 0.5251 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.005289, allocations: 93.61 kB / 0.5251 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.005305, allocations: 5.219 kB / 0.5251 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.005425, allocations: 88.14 kB / 0.5252 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.005431, allocations: 192 / 0.5252 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-06/0.00544, allocations: 7.938 kB / 0.5252 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-06/0.005443, allocations: 0 / 0.5252 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.784e-05/0.005481, allocations: 16.73 kB / 0.5253 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.005745, allocations: 288.8 kB / 0.5255 GB, free: 12.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.005856, allocations: 51.98 kB / 0.5256 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.005881, allocations: 20.25 kB / 0.5256 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.005894, allocations: 4.469 kB / 0.5256 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.006013, allocations: 93.78 kB / 0.5257 GB, free: 12.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.006014, allocations: 0 / 0.5257 GB, free: 12.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001443/0.006159, allocations: 92.66 kB / 0.5258 GB, free: 12.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.00618, allocations: 51.41 kB / 0.5258 GB, free: 12.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.006246, allocations: 185.9 kB / 0.526 GB, free: 12.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006259, allocations: 29.7 kB / 0.526 GB, free: 12.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.006308, allocations: 150.7 kB / 0.5262 GB, free: 11.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.00633, allocations: 27.8 kB / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.006371, allocations: 35.36 kB / 0.5262 GB, free: 11.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.006487, allocations: 0.4962 MB / 0.5267 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.006532, allocations: 64.39 kB / 0.5268 GB, free: 11.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-05/0.006586, allocations: 96.53 kB / 0.5269 GB, free: 11.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.436e-05/0.006661, allocations: 107.2 kB / 0.527 GB, free: 10.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.006662, allocations: 0.9375 kB / 0.527 GB, free: 10.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001522/0.006815, allocations: 215.2 kB / 0.5272 GB, free: 10.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.006845, allocations: 68.98 kB / 0.5273 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.006961, allocations: 0 / 0.5273 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.006967, allocations: 0 / 0.5273 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.00704, allocations: 19.98 kB / 0.5273 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007043, allocations: 4.969 kB / 0.5273 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.007098, allocations: 19.88 kB / 0.5273 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.007108, allocations: 14.16 kB / 0.5273 GB, free: 10.6 MB / 458.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.495e-05/0.007173, allocations: 164.5 kB / 0.5275 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.00719, allocations: 11.89 kB / 0.5275 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.007214, allocations: 16.42 kB / 0.5275 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007215, allocations: 0 / 0.5275 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.007217, allocations: 0.75 kB / 0.5275 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.00722, allocations: 0 / 0.5275 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.17e-05/0.007302, allocations: 114 kB / 0.5276 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.007303, allocations: 0 / 0.5276 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.007386, allocations: 20.83 kB / 0.5276 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007389, allocations: 1.438 kB / 0.5276 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.007402, allocations: 11.92 kB / 0.5276 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007403, allocations: 0 / 0.5276 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007404, allocations: 0 / 0.5276 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.007598, allocations: 133.7 kB / 0.5278 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.007611, allocations: 15.94 kB / 0.5278 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.007629, allocations: 11.94 kB / 0.5278 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.007684, allocations: 14.73 kB / 0.5278 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.00773, allocations: 15.97 kB / 0.5278 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.007738, allocations: 4 kB / 0.5278 GB, free: 10.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.007781, allocations: 135.2 kB / 0.528 GB, free: 9.891 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007781, allocations: 0 / 0.528 GB, free: 9.891 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000132/0.007913, allocations: 19.94 kB / 0.528 GB, free: 9.871 MB / 458.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 6.602e-05/0.007979, allocations: 116.4 kB / 0.5281 GB, free: 9.754 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.008133, allocations: 217.8 kB / 0.5283 GB, free: 9.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008134, allocations: 0 / 0.5283 GB, free: 9.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.008175, allocations: 27.67 kB / 0.5283 GB, free: 9.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.008321, allocations: 32.84 kB / 0.5283 GB, free: 9.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.008667, allocations: 239.4 kB / 0.5286 GB, free: 9.172 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.008694, allocations: 62.78 kB / 0.5286 GB, free: 9.094 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.008726, allocations: 8.5 kB / 0.5286 GB, free: 9.086 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.00881, allocations: 90.19 kB / 0.5287 GB, free: 8.996 MB / 458.7 MB Notification: Performance of SimCode: time 8.12e-07/0.008811, allocations: 0 / 0.5287 GB, free: 8.996 MB / 458.7 MB Notification: Performance of Templates: time 0.003034/0.01185, allocations: 1.818 MB / 0.5305 GB, free: 7.273 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7680899631232023]