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.001634/0.001634, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001954/0.001954, allocations: 195.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9179/0.9179, allocations: 135.2 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 67.55 kB / 0.5049 GB, free: 5.602 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1902, allocations: 80.93 MB / 0.5839 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.003598/0.1939, allocations: 1.586 MB / 0.5855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004883/0.1944, allocations: 112.6 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.1945, allocations: 0 / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1947, allocations: 11.94 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.1948, allocations: 7.922 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1951, allocations: 19.98 kB / 0.5856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1953, allocations: 55.84 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1955, allocations: 23.98 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.1956, allocations: 23.91 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.1957, allocations: 35.84 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.1957, allocations: 4 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.1958, allocations: 12 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.1959, allocations: 19.92 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.1959, allocations: 23.86 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1961, allocations: 59.8 kB / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1962, allocations: 0 / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1962, allocations: 0 / 0.5859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.1962, allocations: 3.938 kB / 0.5859 GB, free: 2.812 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.0007302/0.1969, allocations: 383.5 kB / 0.5863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.197, allocations: 8.031 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.197, allocations: 12.84 kB / 0.5863 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1973, allocations: 188.2 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1973, allocations: 384 / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1973, allocations: 4.375 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.1977, allocations: 86.19 kB / 0.5865 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1977, allocations: 4.125 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1978, allocations: 7.938 kB / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1978, allocations: 0 / 0.5866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.1981, allocations: 83.91 kB / 0.5866 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.1987, allocations: 324.6 kB / 0.5869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1989, allocations: 62.53 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.1991, allocations: 40.92 kB / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.1991, allocations: 3.938 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1992, allocations: 42.55 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1992, allocations: 4 kB / 0.5871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005495/0.1997, allocations: 133.6 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1998, allocations: 51.41 kB / 0.5873 GB, free: 1.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.1999, allocations: 113.8 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1999, allocations: 29.7 kB / 0.5874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.2, allocations: 99.97 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2, allocations: 11.91 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.2001, allocations: 9.719 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2002, allocations: 326.8 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2003, allocations: 27.97 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2005, allocations: 39.95 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.2007, allocations: 68.78 kB / 0.588 GB, free: 480 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2008, allocations: 4 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003282/0.2011, allocations: 109.5 kB / 0.5881 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2011, allocations: 11.98 kB / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2011, allocations: 0 / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2012, allocations: 0 / 0.5881 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2013, allocations: 11.98 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2013, allocations: 4 kB / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.2014, allocations: 7.984 kB / 0.5881 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.2014, allocations: 7.938 kB / 0.5881 GB, free: 316 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.2015, allocations: 125.8 kB / 0.5882 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2016, allocations: 3.906 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003921/0.202, allocations: 113.5 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.202, allocations: 0 / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.202, allocations: 384 / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.202, allocations: 0 / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2023, allocations: 181.6 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2023, allocations: 4 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2024, allocations: 23.97 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2024, allocations: 7.922 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2024, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.2024, allocations: 4 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2024, allocations: 0 / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.2029, allocations: 203.4 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.2029, allocations: 81.02 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2029, allocations: 0 / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2031, allocations: 11.98 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.2031, allocations: 7.922 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2031, allocations: 8 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.2032, allocations: 93.56 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2032, allocations: 4 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002462/0.2035, allocations: 15.94 kB / 0.589 GB, free: 15.33 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 (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.0001661/0.2037, allocations: 99.19 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.204, allocations: 75.91 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.204, allocations: 0 / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.2042, allocations: 43.91 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.2045, allocations: 8 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.2049, allocations: 169.5 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2052, allocations: 0.6924 MB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.615e-05/0.2052, allocations: 7.906 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2053, allocations: 11.44 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2053, allocations: 0 / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.003051/0.2083, allocations: 0.659 MB / 0.5907 GB, free: 13.52 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)