Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008492/0.008492, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001873/0.001873, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.12 kB / 0.5813 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1844, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002743/0.1872, allocations: 1.429 MB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.1875, allocations: 104.6 kB / 0.6612 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1876, allocations: 0 / 0.6612 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.153e-05/0.1876, allocations: 0 / 0.6612 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.1877, allocations: 3.938 kB / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1879, allocations: 19.92 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.93e-05/0.188, allocations: 23.92 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.1881, allocations: 4 kB / 0.6612 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.1882, allocations: 19.91 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.1882, allocations: 15.98 kB / 0.6613 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1882, allocations: 0 / 0.6613 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.1883, allocations: 23.98 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.1884, allocations: 3.938 kB / 0.6613 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1884, allocations: 11.94 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1886, allocations: 31.94 kB / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1886, allocations: 0 / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1886, allocations: 3.938 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.1886, allocations: 4 kB / 0.6613 GB, free: 8.562 MB / 0.4981 GB 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.0004906/0.1891, allocations: 343.4 kB / 0.6617 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1891, allocations: 12.03 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1892, allocations: 4.922 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1893, allocations: 168.3 kB / 0.6618 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1893, allocations: 4.312 kB / 0.6618 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1893, allocations: 4.312 kB / 0.6618 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1895, allocations: 50.23 kB / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1895, allocations: 192 / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1896, allocations: 7.938 kB / 0.6619 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1896, allocations: 8 kB / 0.6619 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1898, allocations: 35.95 kB / 0.6619 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1901, allocations: 245 kB / 0.6622 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1902, allocations: 50.42 kB / 0.6622 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.764e-05/0.1903, allocations: 28.91 kB / 0.6623 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.1904, allocations: 0 / 0.6623 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1904, allocations: 34.55 kB / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.1904, allocations: 3.984 kB / 0.6623 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.1908, allocations: 85.64 kB / 0.6624 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1908, allocations: 59.47 kB / 0.6624 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.1909, allocations: 101.9 kB / 0.6625 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1909, allocations: 29.7 kB / 0.6626 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.191, allocations: 88.12 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.191, allocations: 7.844 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.1911, allocations: 13.72 kB / 0.6627 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1912, allocations: 314.8 kB / 0.663 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.1913, allocations: 23.97 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.1913, allocations: 16.23 kB / 0.663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1915, allocations: 44.81 kB / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1915, allocations: 4 kB / 0.663 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.1917, allocations: 69.67 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1917, allocations: 11.94 kB / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1917, allocations: 0 / 0.6631 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1917, allocations: 3.984 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.1918, allocations: 11.94 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1918, allocations: 0 / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.1919, allocations: 11.89 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1919, allocations: 4 kB / 0.6632 GB, free: 6.473 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.192, allocations: 109.8 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.192, allocations: 8 kB / 0.6633 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.1922, allocations: 77.17 kB / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1922, allocations: 0 / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1923, allocations: 0 / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1923, allocations: 0 / 0.6633 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1924, allocations: 161.6 kB / 0.6635 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1924, allocations: 0 / 0.6635 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.1925, allocations: 11.95 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1925, allocations: 8 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1925, allocations: 3.938 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1925, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1925, allocations: 0 / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1928, allocations: 167.5 kB / 0.6637 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.1929, allocations: 85.03 kB / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1929, allocations: 4 kB / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1929, allocations: 4 kB / 0.6638 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.193, allocations: 7.984 kB / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.193, allocations: 4 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.1931, allocations: 83.28 kB / 0.6639 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.1931, allocations: 0 / 0.6639 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002339/0.1933, allocations: 12 kB / 0.6639 GB, free: 5.633 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 (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.0001581/0.1935, allocations: 107.2 kB / 0.664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1937, allocations: 39.91 kB / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1937, allocations: 0 / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.1938, allocations: 23.97 kB / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1941, allocations: 7.938 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.1945, allocations: 113.6 kB / 0.6641 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1948, allocations: 0.6768 MB / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.1948, allocations: 0 / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.1948, allocations: 11.44 kB / 0.6648 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of SimCode: time 2.545e-06/0.1949, allocations: 3.938 kB / 0.6648 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.002704/0.1976, allocations: 0.5415 MB / 0.6653 GB, free: 4.055 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)