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.001552/0.001552, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 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.001803/0.001803, allocations: 221 kB / 23 MB, free: 4.918 MB / 14.72 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8347/0.8347, allocations: 134 MB / 447.2 MB, free: 9.973 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.02 kB / 0.6197 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1514, allocations: 85.92 MB / 0.7036 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.003129/0.1545, allocations: 1.594 MB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1557, allocations: 0.5221 MB / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.1558, allocations: 0 / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.1558, allocations: 11.92 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1559, allocations: 11.88 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1562, allocations: 55.81 kB / 0.7057 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1564, allocations: 103.8 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1565, allocations: 12.12 kB / 0.7059 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.505e-05/0.1566, allocations: 39.84 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.1567, allocations: 39.81 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1567, allocations: 8 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.1568, allocations: 8 kB / 0.7059 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.646e-05/0.1568, allocations: 27.92 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.1569, allocations: 27.86 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.157, allocations: 83.69 kB / 0.7061 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.157, allocations: 0 / 0.7061 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.157, allocations: 0 / 0.7061 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.157, allocations: 0 / 0.7061 GB, free: 14.01 MB / 0.5294 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.0007924/0.1578, allocations: 407.1 kB / 0.7065 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1578, allocations: 12.03 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.1579, allocations: 16.89 kB / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1581, allocations: 130.5 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1583, allocations: 89.66 kB / 0.7067 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1583, allocations: 8.375 kB / 0.7067 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1586, allocations: 97.5 kB / 0.7068 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1586, allocations: 4 kB / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1586, allocations: 7.938 kB / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1586, allocations: 0 / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.1589, allocations: 71.92 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000553/0.1595, allocations: 276.3 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.1599, allocations: 90.61 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.16, allocations: 48.83 kB / 0.7073 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1601, allocations: 3.984 kB / 0.7073 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.1604, allocations: 111.3 kB / 0.7074 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1604, allocations: 0 / 0.7074 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0006236/0.161, allocations: 177.5 kB / 0.7076 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.161, allocations: 63.33 kB / 0.7076 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1612, allocations: 126.1 kB / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1612, allocations: 29.7 kB / 0.7078 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.1613, allocations: 96.08 kB / 0.7079 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.1613, allocations: 35.73 kB / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.1614, allocations: 29.66 kB / 0.7079 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1615, allocations: 326.8 kB / 0.7082 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1617, allocations: 107.4 kB / 0.7083 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.162, allocations: 125.1 kB / 0.7085 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1623, allocations: 164.8 kB / 0.7086 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1623, allocations: 0 / 0.7086 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005244/0.1628, allocations: 280.3 kB / 0.7089 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.1629, allocations: 59.41 kB / 0.7089 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1629, allocations: 3.984 kB / 0.7089 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1629, allocations: 0 / 0.7089 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1631, allocations: 23.98 kB / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1631, allocations: 4.312 kB / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1632, allocations: 27.97 kB / 0.709 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1632, allocations: 4 kB / 0.709 GB, free: 10.72 MB / 0.5294 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 0.0001255/0.1633, allocations: 129.2 kB / 0.7091 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1634, allocations: 11.89 kB / 0.7091 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.1634, allocations: 8.375 kB / 0.7091 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1634, allocations: 4 kB / 0.7091 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1634, allocations: 0 / 0.7091 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1634, allocations: 0 / 0.7091 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1636, allocations: 133.2 kB / 0.7093 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1636, allocations: 0 / 0.7093 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.1637, allocations: 27.97 kB / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1637, allocations: 0 / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1637, allocations: 4 kB / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1637, allocations: 3.938 kB / 0.7093 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.1637, allocations: 4 kB / 0.7093 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.1644, allocations: 228.8 kB / 0.7095 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.1644, allocations: 7.953 kB / 0.7095 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.1644, allocations: 4 kB / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1645, allocations: 16.03 kB / 0.7096 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.1646, allocations: 11.97 kB / 0.7096 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1646, allocations: 8 kB / 0.7096 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.129e-05/0.1647, allocations: 103.2 kB / 0.7097 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1647, allocations: 0 / 0.7097 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002116/0.1649, allocations: 23.98 kB / 0.7097 GB, free: 9.953 MB / 0.5294 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.0001221/0.165, allocations: 103.2 kB / 0.7098 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.1655, allocations: 274.1 kB / 0.7101 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1656, allocations: 0 / 0.7101 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.1657, allocations: 59.89 kB / 0.7101 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.166, allocations: 28.2 kB / 0.7101 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.1667, allocations: 277.3 kB / 0.7104 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.3e-05/0.1668, allocations: 79.08 kB / 0.7105 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.1668, allocations: 19.42 kB / 0.7105 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.1668, allocations: 0 / 0.7105 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of Templates: time 0.003286/0.1701, allocations: 1.45 MB / 0.7119 GB, free: 7.59 MB / 0.5294 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.822854770813137] Failed to read output from testmodel.py, exit status != 0: 0.17759572993963957 0.193683563 0.033589118 Calling exit ...