Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB 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: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.3 MB / 426.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 17.16 kB / 0.507 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 82.31 MB / 0.5874 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002159/0.1919, allocations: 1.235 MB / 0.5886 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003338/0.1922, allocations: 112.5 kB / 0.5887 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1923, allocations: 0 / 0.5887 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.702e-05/0.1924, allocations: 3.938 kB / 0.5887 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.1924, allocations: 11.92 kB / 0.5887 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1927, allocations: 19.97 kB / 0.5887 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.1928, allocations: 51.84 kB / 0.5888 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1929, allocations: 23.97 kB / 0.5888 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.193, allocations: 19.92 kB / 0.5888 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.193, allocations: 27.84 kB / 0.5888 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1931, allocations: 0 / 0.5888 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.1931, allocations: 12 kB / 0.5889 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.1932, allocations: 7.969 kB / 0.5889 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.1932, allocations: 37.64 kB / 0.5889 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.1933, allocations: 31.94 kB / 0.5889 GB, free: 1.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1933, allocations: 0 / 0.5889 GB, free: 1.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1933, allocations: 4 kB / 0.5889 GB, free: 1.531 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1934, allocations: 11.88 kB / 0.5889 GB, free: 1.52 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005648/0.1939, allocations: 379.4 kB / 0.5893 GB, free: 1.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.194, allocations: 12.03 kB / 0.5893 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.194, allocations: 7.906 kB / 0.5893 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1942, allocations: 185.9 kB / 0.5895 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1942, allocations: 4 kB / 0.5895 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1943, allocations: 3.984 kB / 0.5895 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.1946, allocations: 101.6 kB / 0.5896 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1946, allocations: 4 kB / 0.5896 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1946, allocations: 8 kB / 0.5896 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1947, allocations: 4 kB / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.195, allocations: 95.92 kB / 0.5897 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.1956, allocations: 348.6 kB / 0.59 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1958, allocations: 62.55 kB / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.196, allocations: 56.91 kB / 0.5902 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.196, allocations: 4 kB / 0.5902 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1961, allocations: 30.56 kB / 0.5902 GB, free: 80 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.285e-06/0.1961, allocations: 96 / 0.5902 GB, free: 80 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000566/0.1967, allocations: 173.5 kB / 0.5904 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1967, allocations: 59.39 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.1968, allocations: 117.8 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1968, allocations: 25.7 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.1969, allocations: 99.98 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1969, allocations: 11.89 kB / 0.5907 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1969, allocations: 0 / 0.5907 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1971, allocations: 314.8 kB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1972, allocations: 43.95 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1974, allocations: 47.97 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1975, allocations: 47.95 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.1975, allocations: 0 / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003251/0.1979, allocations: 125.5 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1979, allocations: 11.98 kB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1979, allocations: 0 / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1979, allocations: 3.953 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1981, allocations: 19.98 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1981, allocations: 0 / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.1982, allocations: 27.92 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1982, allocations: 0 / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.1983, allocations: 113.8 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1983, allocations: 7.906 kB / 0.5914 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.1987, allocations: 137.5 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1987, allocations: 3.953 kB / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1987, allocations: 0 / 0.5915 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1987, allocations: 4.375 kB / 0.5915 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1989, allocations: 177.6 kB / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1989, allocations: 0 / 0.5917 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.199, allocations: 23.97 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.199, allocations: 0 / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.199, allocations: 0 / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.199, allocations: 0 / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.199, allocations: 3.953 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1994, allocations: 231.4 kB / 0.5919 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.1995, allocations: 84.95 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1995, allocations: 4 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1996, allocations: 11.98 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1996, allocations: 11.98 kB / 0.592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1997, allocations: 3.953 kB / 0.5921 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.1997, allocations: 95.27 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1997, allocations: 0 / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002315/0.2, allocations: 15.94 kB / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.2001, allocations: 95.25 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.2005, allocations: 103.9 kB / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2005, allocations: 0 / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.2006, allocations: 51.91 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2009, allocations: 4 kB / 0.5924 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.2013, allocations: 164.8 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2015, allocations: 0.6965 MB / 0.5932 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.2016, allocations: 8 kB / 0.5932 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.2016, allocations: 7.438 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2016, allocations: 0 / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.002924/0.2046, allocations: 0.602 MB / 0.5938 GB, free: 12.11 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1)