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.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.001674/0.001674, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001495/0.001495, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.597/1.597, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.147/1.147, allocations: 175.7 MB / 480.2 MB, free: 2.789 MB / 366.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-master/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_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 0.002022/0.002022, allocations: 68.27 kB / 0.6684 GB, free: 10.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2149, allocations: 94.53 MB / 0.7607 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.MovingAverage): time 0.002921/0.2178, allocations: 1.598 MB / 0.7623 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2191, allocations: 0.5298 MB / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.2192, allocations: 0 / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.2192, allocations: 11.86 kB / 0.7628 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2194, allocations: 19.86 kB / 0.7628 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.2197, allocations: 51.88 kB / 0.7629 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.22, allocations: 103.8 kB / 0.763 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2201, allocations: 12.17 kB / 0.763 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2202, allocations: 39.86 kB / 0.763 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.2203, allocations: 43.81 kB / 0.763 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.2204, allocations: 11.94 kB / 0.7631 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.2204, allocations: 8 kB / 0.7631 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.2204, allocations: 23.97 kB / 0.7631 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.2205, allocations: 39.8 kB / 0.7631 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2207, allocations: 79.69 kB / 0.7632 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.2207, allocations: 4 kB / 0.7632 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.938e-06/0.2207, allocations: 0 / 0.7632 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2207, allocations: 0 / 0.7632 GB, free: 13.7 MB / 0.5762 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.001002/0.2217, allocations: 458.5 kB / 0.7636 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2218, allocations: 11.97 kB / 0.7637 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.2218, allocations: 12.89 kB / 0.7637 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.2221, allocations: 184.3 kB / 0.7638 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.2222, allocations: 46.19 kB / 0.7639 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.2223, allocations: 8.359 kB / 0.7639 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2226, allocations: 97.56 kB / 0.764 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2226, allocations: 4 kB / 0.764 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2226, allocations: 0 / 0.764 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2226, allocations: 4 kB / 0.764 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.2229, allocations: 71.92 kB / 0.7641 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.2235, allocations: 348.5 kB / 0.7644 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.2239, allocations: 90.58 kB / 0.7645 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.2241, allocations: 40.83 kB / 0.7645 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.2241, allocations: 3.984 kB / 0.7645 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.2244, allocations: 127.4 kB / 0.7646 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.604e-06/0.2244, allocations: 0 / 0.7646 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006049/0.225, allocations: 177.5 kB / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.2251, allocations: 51.41 kB / 0.7649 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2252, allocations: 126.1 kB / 0.765 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2252, allocations: 33.7 kB / 0.765 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.2253, allocations: 92.09 kB / 0.7651 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.2253, allocations: 36.05 kB / 0.7651 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.2254, allocations: 29.7 kB / 0.7652 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2255, allocations: 326.8 kB / 0.7655 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.2257, allocations: 47.97 kB / 0.7655 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.2259, allocations: 86.56 kB / 0.7656 GB, free: 11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.2262, allocations: 161 kB / 0.7658 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2262, allocations: 4 kB / 0.7658 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000471/0.2267, allocations: 224.9 kB / 0.766 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.2268, allocations: 59.41 kB / 0.766 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2268, allocations: 0 / 0.766 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2268, allocations: 0 / 0.766 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2269, allocations: 27.97 kB / 0.7661 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.2269, allocations: 4 kB / 0.7661 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.227, allocations: 19.95 kB / 0.7661 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.2271, allocations: 7.938 kB / 0.7661 GB, free: 10.45 MB / 0.5762 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.0001077/0.2272, allocations: 121.8 kB / 0.7662 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.2272, allocations: 11.94 kB / 0.7662 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.2272, allocations: 12.38 kB / 0.7662 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2272, allocations: 0 / 0.7662 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2272, allocations: 0 / 0.7662 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2272, allocations: 0 / 0.7662 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.2274, allocations: 205.5 kB / 0.7664 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2274, allocations: 0 / 0.7664 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2276, allocations: 19.98 kB / 0.7665 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2276, allocations: 0 / 0.7665 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2276, allocations: 0 / 0.7665 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.2276, allocations: 7.984 kB / 0.7665 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2276, allocations: 4 kB / 0.7665 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.2282, allocations: 220.8 kB / 0.7667 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.2283, allocations: 85.06 kB / 0.7668 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.2283, allocations: 0 / 0.7668 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2284, allocations: 20.02 kB / 0.7668 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.2285, allocations: 15.98 kB / 0.7668 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2285, allocations: 11.92 kB / 0.7668 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.87e-05/0.2286, allocations: 102.3 kB / 0.7669 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2286, allocations: 0 / 0.7669 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002078/0.2288, allocations: 24 kB / 0.7669 GB, free: 9.508 MB / 0.5762 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.0001599/0.2289, allocations: 103.2 kB / 0.767 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.2294, allocations: 222.7 kB / 0.7672 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2294, allocations: 8.062 kB / 0.7672 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.2296, allocations: 47.95 kB / 0.7673 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2299, allocations: 25.7 kB / 0.7673 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.2306, allocations: 259.9 kB / 0.7676 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.2309, allocations: 0.7041 MB / 0.7682 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.571e-05/0.231, allocations: 12.42 kB / 0.7683 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.231, allocations: 11.44 kB / 0.7683 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.231, allocations: 0 / 0.7683 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of Templates: time 0.004681/0.2357, allocations: 1.529 MB / 0.7698 GB, free: 6.52 MB / 0.5762 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.299077998846769]