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.004923/0.004923, allocations: 100.7 kB / 15.73 MB, free: 5.961 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.001119/0.001119, allocations: 195 kB / 16.67 MB, free: 5.883 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7995/0.7995, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.16 kB / 0.5814 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1843, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002629/0.187, allocations: 1.419 MB / 0.6611 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004227/0.1874, allocations: 104.5 kB / 0.6612 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.1875, allocations: 0 / 0.6612 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.276e-05/0.1876, allocations: 7.938 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.1877, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.188, allocations: 19.91 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.658e-05/0.1882, allocations: 23.92 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1883, allocations: 7.984 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.201e-05/0.1884, allocations: 8 kB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.1884, allocations: 15.92 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1884, allocations: 0 / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1886, allocations: 19.98 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1886, allocations: 11.98 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1887, allocations: 15.88 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1888, allocations: 35.88 kB / 0.6613 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1888, allocations: 0 / 0.6613 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1888, allocations: 0 / 0.6613 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.1889, allocations: 0 / 0.6613 GB, free: 8.543 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.0005073/0.1894, allocations: 347.3 kB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1894, allocations: 8.031 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1895, allocations: 8.891 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1896, allocations: 172.3 kB / 0.6618 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1896, allocations: 8.359 kB / 0.6618 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.1896, allocations: 384 / 0.6618 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1898, allocations: 54.23 kB / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1898, allocations: 192 / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1898, allocations: 3.938 kB / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1899, allocations: 0 / 0.6619 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.19, allocations: 35.95 kB / 0.6619 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.1904, allocations: 253 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1905, allocations: 46.44 kB / 0.6622 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.1906, allocations: 28.89 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1906, allocations: 0 / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1907, allocations: 38.56 kB / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1907, allocations: 0 / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.191, allocations: 93.53 kB / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1911, allocations: 51.41 kB / 0.6624 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.1912, allocations: 105.8 kB / 0.6625 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1912, allocations: 29.64 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.1913, allocations: 88.27 kB / 0.6626 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1913, allocations: 7.891 kB / 0.6626 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1913, allocations: 21.7 kB / 0.6627 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1914, allocations: 310.8 kB / 0.663 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.1915, allocations: 19.98 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.1916, allocations: 15.98 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1918, allocations: 44.88 kB / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1918, allocations: 0 / 0.663 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.192, allocations: 81.53 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.192, allocations: 5.875 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.192, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.192, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.1921, allocations: 16.02 kB / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1921, allocations: 0 / 0.6631 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.1922, allocations: 7.938 kB / 0.6631 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1922, allocations: 0 / 0.6631 GB, free: 6.453 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 8.902e-05/0.1923, allocations: 117.8 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1923, allocations: 0 / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.1925, allocations: 81.14 kB / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.1925, allocations: 0 / 0.6633 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1925, allocations: 3.938 kB / 0.6633 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1925, allocations: 4.25 kB / 0.6633 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1927, allocations: 161.6 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1927, allocations: 4 kB / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.1928, allocations: 11.98 kB / 0.6635 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1928, allocations: 0 / 0.6635 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1928, allocations: 4 kB / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1928, allocations: 0 / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1928, allocations: 32 / 0.6635 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1931, allocations: 167.5 kB / 0.6637 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.1931, allocations: 77.11 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1931, allocations: 0 / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.1932, allocations: 11.98 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1933, allocations: 4 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1933, allocations: 4.031 kB / 0.6638 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.1933, allocations: 87.27 kB / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.383e-06/0.1933, allocations: 0 / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002197/0.1935, allocations: 11.94 kB / 0.6639 GB, free: 5.609 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.0001496/0.1937, allocations: 99.25 kB / 0.664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1939, allocations: 39.95 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1939, allocations: 4.062 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.194, allocations: 23.92 kB / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.1943, allocations: 3.938 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1946, allocations: 113.4 kB / 0.6641 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1949, allocations: 0.6845 MB / 0.6648 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.1949, allocations: 3.984 kB / 0.6648 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.1949, allocations: 11.5 kB / 0.6648 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1949, allocations: 0 / 0.6648 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.002712/0.1976, allocations: 0.5454 MB / 0.6654 GB, free: 4.027 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)