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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 251 MB, free: 13.02 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.8885/0.8885, allocations: 134 MB / 440.3 MB, free: 256 kB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00203/0.00203, allocations: 68.72 kB / 0.6107 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2125, allocations: 84.73 MB / 0.6935 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.005075/0.2175, allocations: 1.595 MB / 0.695 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2193, allocations: 0.5415 MB / 0.6956 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.2194, allocations: 0 / 0.6956 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.2194, allocations: 3.938 kB / 0.6956 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2195, allocations: 19.78 kB / 0.6956 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.22, allocations: 55.83 kB / 0.6956 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.2203, allocations: 99.75 kB / 0.6957 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2205, allocations: 20.09 kB / 0.6957 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2206, allocations: 35.92 kB / 0.6958 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.2207, allocations: 47.77 kB / 0.6958 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2208, allocations: 12 kB / 0.6958 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.2208, allocations: 8 kB / 0.6958 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.2209, allocations: 23.91 kB / 0.6959 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.2209, allocations: 39.78 kB / 0.6959 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2212, allocations: 79.7 kB / 0.696 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.2212, allocations: 0 / 0.696 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2212, allocations: 0 / 0.696 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2212, allocations: 0 / 0.696 GB, free: 6.441 MB / 0.5137 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.001234/0.2224, allocations: 411.1 kB / 0.6964 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2225, allocations: 8.031 kB / 0.6964 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.2225, allocations: 12.88 kB / 0.6964 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.2229, allocations: 133.4 kB / 0.6965 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.2231, allocations: 34.25 kB / 0.6966 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.2231, allocations: 8.375 kB / 0.6966 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.2236, allocations: 109.5 kB / 0.6967 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2236, allocations: 4 kB / 0.6967 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.2237, allocations: 4 kB / 0.6967 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2237, allocations: 0 / 0.6967 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.2242, allocations: 67.92 kB / 0.6967 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2253, allocations: 319.7 kB / 0.697 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.226, allocations: 94.59 kB / 0.6971 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.2263, allocations: 44.83 kB / 0.6972 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2263, allocations: 4 kB / 0.6972 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/0.2269, allocations: 119.3 kB / 0.6973 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.2269, allocations: 7.938 kB / 0.6973 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.001098/0.228, allocations: 177.5 kB / 0.6975 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.2281, allocations: 55.34 kB / 0.6975 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.2283, allocations: 128.4 kB / 0.6976 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.2283, allocations: 29.7 kB / 0.6977 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2285, allocations: 92.09 kB / 0.6978 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.2285, allocations: 31.73 kB / 0.6978 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2286, allocations: 29.7 kB / 0.6978 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002775/0.2289, allocations: 322.8 kB / 0.6981 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.2292, allocations: 55.95 kB / 0.6982 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.2296, allocations: 65.67 kB / 0.6982 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.2303, allocations: 171.4 kB / 0.6984 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2303, allocations: 3.938 kB / 0.6984 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008116/0.2311, allocations: 220.9 kB / 0.6986 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.2312, allocations: 59.41 kB / 0.6987 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2312, allocations: 0 / 0.6987 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.2312, allocations: 0 / 0.6987 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.2314, allocations: 31.94 kB / 0.6987 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2314, allocations: 4 kB / 0.6987 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.2317, allocations: 15.98 kB / 0.6987 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2317, allocations: 7.938 kB / 0.6987 GB, free: 3.367 MB / 0.5137 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.0001643/0.2318, allocations: 117.8 kB / 0.6989 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.2319, allocations: 7.953 kB / 0.6989 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.2319, allocations: 20.36 kB / 0.6989 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2319, allocations: 0 / 0.6989 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2319, allocations: 4 kB / 0.6989 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2319, allocations: 0 / 0.6989 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.2322, allocations: 176.6 kB / 0.6991 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2322, allocations: 0 / 0.6991 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2325, allocations: 19.92 kB / 0.6991 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2325, allocations: 0 / 0.6991 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.2325, allocations: 8 kB / 0.6991 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2325, allocations: 0 / 0.6991 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2325, allocations: 0 / 0.6991 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2337, allocations: 229.1 kB / 0.6993 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.2337, allocations: 7.953 kB / 0.6993 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.2338, allocations: 0 / 0.6993 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.234, allocations: 12.03 kB / 0.6993 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.2341, allocations: 27.97 kB / 0.6993 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.2342, allocations: 7.984 kB / 0.6993 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001425/0.2343, allocations: 99.2 kB / 0.6994 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2343, allocations: 0 / 0.6994 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004026/0.2347, allocations: 20 kB / 0.6995 GB, free: 2.555 MB / 0.5137 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.0002094/0.2349, allocations: 95.25 kB / 0.6996 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009127/0.2358, allocations: 230.4 kB / 0.6998 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2358, allocations: 0 / 0.6998 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.2362, allocations: 59.83 kB / 0.6998 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.2367, allocations: 27.09 kB / 0.6999 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2377, allocations: 244.4 kB / 0.7001 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.2383, allocations: 0.6924 MB / 0.7008 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.935e-05/0.2383, allocations: 12.5 kB / 0.7008 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/0.2384, allocations: 19.44 kB / 0.7008 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2384, allocations: 0 / 0.7008 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of Templates: time 0.008106/0.2465, allocations: 1.571 MB / 0.7023 GB, free: 15.55 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: 5.8966110572218895] Failed to read output from testmodel.py, exit status != 0: 0.25674145203083754 0.27832521599999993 0.054022715000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdba2f017b0>