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.0009684/0.0009687, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001224/0.001224, allocations: 168.7 kB / 15.95 MB, free: 200 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004788, allocations: 12 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1827, allocations: 82.3 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001625/0.1844, allocations: 1.152 MB / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000306/0.1847, allocations: 94.34 kB / 0.5886 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1848, allocations: 0 / 0.5886 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.1848, allocations: 0 / 0.5886 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.1849, allocations: 3.938 kB / 0.5886 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1851, allocations: 11.98 kB / 0.5886 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.1851, allocations: 23.91 kB / 0.5886 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.1852, allocations: 4 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.1853, allocations: 15.94 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.1853, allocations: 11.92 kB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.1853, allocations: 0 / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.1854, allocations: 23.92 kB / 0.5887 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.1855, allocations: 3.984 kB / 0.5887 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.1855, allocations: 33.7 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.1856, allocations: 15.97 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1856, allocations: 0 / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1856, allocations: 0 / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1856, allocations: 0 / 0.5887 GB, free: 1.605 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.0004521/0.1861, allocations: 351.5 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1861, allocations: 8.031 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1861, allocations: 0 / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1863, allocations: 179 kB / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1863, allocations: 0 / 0.5892 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.1863, allocations: 7.875 kB / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1865, allocations: 65.67 kB / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1865, allocations: 0 / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1866, allocations: 0 / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1866, allocations: 0 / 0.5893 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.1868, allocations: 51.95 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1871, allocations: 256.8 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1872, allocations: 50.48 kB / 0.5896 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.1873, allocations: 32.91 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.1874, allocations: 0 / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1874, allocations: 34.56 kB / 0.5897 GB, free: 436 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1874, allocations: 0 / 0.5897 GB, free: 436 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003558/0.1878, allocations: 101.6 kB / 0.5898 GB, free: 328 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1878, allocations: 55.39 kB / 0.5899 GB, free: 260 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.1879, allocations: 105.8 kB / 0.59 GB, free: 144 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1879, allocations: 25.7 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.188, allocations: 92.12 kB / 0.5901 GB, free: 16 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.188, allocations: 4.031 kB / 0.5901 GB, free: 12 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.188, allocations: 4 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1882, allocations: 314.8 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.1883, allocations: 23.98 kB / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.1883, allocations: 23.97 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.1884, allocations: 28.05 kB / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1884, allocations: 0 / 0.5905 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.1886, allocations: 81.66 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1886, allocations: 6.344 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1886, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1887, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.1888, allocations: 19.92 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1888, allocations: 0 / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.1888, allocations: 15.88 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1888, allocations: 0 / 0.5906 GB, free: 15.49 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 (2): * Single equations (assignments): 2 * 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.208e-05/0.1889, allocations: 121.8 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.189, allocations: 3.906 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.1892, allocations: 85.19 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1892, allocations: 32 / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1892, allocations: 7.938 kB / 0.5908 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1892, allocations: 0 / 0.5908 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1894, allocations: 165.6 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1894, allocations: 0 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.1895, allocations: 11.98 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1895, allocations: 4 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1895, allocations: 0 / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1895, allocations: 0 / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1895, allocations: 4.234 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1897, allocations: 183.4 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.1898, allocations: 81.02 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1898, allocations: 4 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.1899, allocations: 16.02 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.1899, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1899, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.19, allocations: 91.27 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.19, allocations: 0 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002221/0.1902, allocations: 8 kB / 0.5913 GB, free: 14.62 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 (2): * Single equations (assignments): 2 * 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.0001762/0.1904, allocations: 99.25 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1906, allocations: 63.89 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1906, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.1907, allocations: 24.05 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.191, allocations: 11.95 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.1913, allocations: 112.7 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1916, allocations: 0.6809 MB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.1916, allocations: 3.938 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.1917, allocations: 7.5 kB / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1917, allocations: 4 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.002481/0.1942, allocations: 470.3 kB / 0.5928 GB, free: 13.1 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)