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.0009544/0.0009544, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001607/0.001607, allocations: 177 kB / 23.36 MB, free: 1.129 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.127/1.127, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8221/0.8221, allocations: 154.9 MB / 415.1 MB, free: 240 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.813e-06/1.813e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.461e-05, allocations: 3.391 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002194/0.002218, allocations: 1.664 MB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.002989, allocations: 0.5593 MB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.003049, allocations: 1.406 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.003074, allocations: 3.938 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.003162, allocations: 17.28 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.00337, allocations: 60.89 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.003538, allocations: 99.41 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.003612, allocations: 12.16 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.003705, allocations: 55.89 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.003778, allocations: 39.88 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.0038, allocations: 8.906 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.003814, allocations: 8 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.00384, allocations: 20.92 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.003873, allocations: 23.98 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003977, allocations: 75.72 kB / 483.1 MB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003979, allocations: 0.5 kB / 483.1 MB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.00398, allocations: 1.312 kB / 483.1 MB, free: 3.887 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003983, allocations: 0 / 483.1 MB, free: 3.887 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.0004264/0.00441, allocations: 359.8 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.00444, allocations: 9.25 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.004474, allocations: 12.92 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.004612, allocations: 125.6 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.004681, allocations: 98.72 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.004701, allocations: 8.312 kB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.004828, allocations: 88.05 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.004837, allocations: 192 / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004847, allocations: 7.938 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004852, allocations: 1.797 kB / 483.8 MB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.004889, allocations: 17.45 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.005155, allocations: 188.2 kB / 484 MB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.005272, allocations: 44.08 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.005294, allocations: 12.86 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.005309, allocations: 4 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.005425, allocations: 87.94 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.005426, allocations: 0.7188 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001332/0.00556, allocations: 78.16 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.005588, allocations: 56.66 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.005653, allocations: 126.6 kB / 484.4 MB, free: 2.445 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.00567, allocations: 29.7 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.005712, allocations: 96.77 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.005733, allocations: 27.78 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.005774, allocations: 30.25 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.005854, allocations: 322.8 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.0059, allocations: 68.05 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.00595, allocations: 84.27 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.561e-05/0.006025, allocations: 108.7 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006027, allocations: 0.625 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001326/0.00616, allocations: 189 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.006196, allocations: 59.41 kB / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006201, allocations: 0.9375 kB / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.006211, allocations: 0 / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.006291, allocations: 29.64 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006294, allocations: 0 / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.006351, allocations: 27.88 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.006358, allocations: 0 / 485.4 MB, free: 1.289 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.279e-05/0.006421, allocations: 119 kB / 485.5 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.006434, allocations: 16.81 kB / 485.5 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.006461, allocations: 17.45 kB / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006463, allocations: 4 kB / 485.6 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.006465, allocations: 0 / 485.6 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006468, allocations: 0.5312 kB / 485.6 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.756e-05/0.006545, allocations: 77.88 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006546, allocations: 1.75 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.006612, allocations: 19.92 kB / 485.7 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006615, allocations: 4 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.006625, allocations: 11.92 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006627, allocations: 1.375 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006628, allocations: 0 / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.006764, allocations: 105.6 kB / 485.8 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.006775, allocations: 13.05 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.006791, allocations: 11.94 kB / 485.8 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.006837, allocations: 13.48 kB / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.006882, allocations: 19.97 kB / 485.8 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.006889, allocations: 3.984 kB / 485.8 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.656e-05/0.006906, allocations: 16.86 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006906, allocations: 1.688 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.007018, allocations: 27.98 kB / 485.9 MB, free: 0.7734 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 8.444e-05/0.007103, allocations: 76.94 kB / 486 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.007266, allocations: 219.6 kB / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.007269, allocations: 1.875 kB / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.007311, allocations: 28.78 kB / 486.2 MB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.007434, allocations: 30.17 kB / 486.2 MB, free: 392 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.00783, allocations: 225.1 kB / 486.5 MB, free: 140 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.007864, allocations: 65.12 kB / 486.5 MB, free: 56 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.007901, allocations: 10.36 kB / 486.5 MB, free: 48 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.007987, allocations: 67.42 kB / 486.6 MB, free: 15.98 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.007988, allocations: 0 / 486.6 MB, free: 15.98 MB / 458.7 MB Notification: Performance of Templates: time 0.003309/0.0113, allocations: 1.669 MB / 488.3 MB, free: 14.42 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.683388228993863]