Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 115.3 kB / 15.34 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.001058/0.001058, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9872/0.9872, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 63.5 kB / 0.5049 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1995, allocations: 80.92 MB / 0.5839 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003416/0.2029, allocations: 1.488 MB / 0.5853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003603/0.2033, allocations: 92.64 kB / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2034, allocations: 0 / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.806e-05/0.2035, allocations: 11.94 kB / 0.5854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.2035, allocations: 3.984 kB / 0.5854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2038, allocations: 12 kB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.38e-05/0.2039, allocations: 31.86 kB / 0.5855 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.204, allocations: 4 kB / 0.5855 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.2041, allocations: 11.98 kB / 0.5855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.2041, allocations: 15.91 kB / 0.5855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.2041, allocations: 4 kB / 0.5855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.2042, allocations: 23.92 kB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.2043, allocations: 8 kB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.2043, allocations: 7.922 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2045, allocations: 31.91 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2045, allocations: 0 / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2045, allocations: 0 / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2045, allocations: 3.938 kB / 0.5856 GB, free: 3.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004539/0.205, allocations: 351.7 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.205, allocations: 8.031 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.2051, allocations: 8.938 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2052, allocations: 168.3 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2052, allocations: 4.375 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2052, allocations: 4.375 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2054, allocations: 50.23 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2054, allocations: 4.125 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2054, allocations: 3.938 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2055, allocations: 0 / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2056, allocations: 43.95 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.206, allocations: 249 kB / 0.5864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.2062, allocations: 42.5 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.2063, allocations: 20.91 kB / 0.5865 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.2063, allocations: 15.92 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2064, allocations: 34.5 kB / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.2064, allocations: 0 / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003795/0.2068, allocations: 85.64 kB / 0.5866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.2068, allocations: 51.41 kB / 0.5867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.207, allocations: 110 kB / 0.5868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.207, allocations: 25.7 kB / 0.5868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.2071, allocations: 92.05 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2071, allocations: 0 / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.2071, allocations: 13.72 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2073, allocations: 318.8 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.2074, allocations: 11.98 kB / 0.5872 GB, free: 1.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.087e-05/0.2075, allocations: 27.92 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.2077, allocations: 44.81 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2077, allocations: 0 / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002226/0.2079, allocations: 77.5 kB / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2079, allocations: 4 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2079, allocations: 3.984 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.208, allocations: 8.094 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.2081, allocations: 4 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2081, allocations: 0 / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.2081, allocations: 11.92 kB / 0.5874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2081, allocations: 0 / 0.5874 GB, free: 1.082 MB / 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 (2): * Single equations (assignments): 2 * 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.0001049/0.2082, allocations: 113.8 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.2083, allocations: 3.938 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.2086, allocations: 85.42 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2086, allocations: 4 kB / 0.5876 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2086, allocations: 3.938 kB / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2086, allocations: 0 / 0.5876 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2088, allocations: 165.6 kB / 0.5878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2088, allocations: 0 / 0.5878 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.2089, allocations: 4 kB / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2089, allocations: 0 / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2089, allocations: 4 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.2089, allocations: 8.016 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2089, allocations: 0 / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.2092, allocations: 175.2 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.2092, allocations: 85.09 kB / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.2093, allocations: 0 / 0.588 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.2093, allocations: 12.02 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2094, allocations: 4 kB / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.2094, allocations: 0 / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.2094, allocations: 83.28 kB / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2095, allocations: 0 / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.2097, allocations: 8 kB / 0.5881 GB, free: 240 kB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.0001633/0.2099, allocations: 103.2 kB / 0.5882 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2101, allocations: 39.97 kB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2101, allocations: 3.938 kB / 0.5883 GB, free: 84 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.2102, allocations: 27.97 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2105, allocations: 3.938 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.2109, allocations: 121.5 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2111, allocations: 0.6808 MB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.2112, allocations: 4 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.2112, allocations: 7.438 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2112, allocations: 0 / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.002959/0.2142, allocations: 499.5 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)