Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009993/0.001004, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005875/0.005875, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003564, allocations: 12.78 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1769, allocations: 82.3 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0008467/0.1778, allocations: 299.1 kB / 0.5883 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.1782, allocations: 47.81 kB / 0.5883 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.434e-05/0.1782, allocations: 0 / 0.5883 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1783, allocations: 0 / 0.5883 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.1783, allocations: 0 / 0.5883 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1786, allocations: 11.97 kB / 0.5883 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.1787, allocations: 15.94 kB / 0.5883 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.1787, allocations: 0 / 0.5883 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.1788, allocations: 0 / 0.5883 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.1788, allocations: 4 kB / 0.5883 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1788, allocations: 0 / 0.5883 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.179, allocations: 19.92 kB / 0.5884 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.179, allocations: 0 / 0.5884 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.179, allocations: 29.69 kB / 0.5884 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1792, allocations: 11.97 kB / 0.5884 GB, free: 2.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1792, allocations: 4 kB / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1792, allocations: 0 / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1792, allocations: 4 kB / 0.5884 GB, free: 2.176 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003411/0.1795, allocations: 311.6 kB / 0.5887 GB, free: 1.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1796, allocations: 12.09 kB / 0.5887 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1796, allocations: 4.922 kB / 0.5887 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.1797, allocations: 160.4 kB / 0.5889 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1798, allocations: 384 / 0.5889 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.1798, allocations: 384 / 0.5889 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1799, allocations: 30.27 kB / 0.5889 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1799, allocations: 4.188 kB / 0.5889 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1799, allocations: 3.938 kB / 0.5889 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1799, allocations: 3.938 kB / 0.5889 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.18, allocations: 3.938 kB / 0.5889 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.1801, allocations: 153.7 kB / 0.5891 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.351e-05/0.1802, allocations: 14.58 kB / 0.5891 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.1802, allocations: 8.953 kB / 0.5891 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.1802, allocations: 0 / 0.5891 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1803, allocations: 34.56 kB / 0.5891 GB, free: 1.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.1803, allocations: 0 / 0.5891 GB, free: 1.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001532/0.1804, allocations: 49.56 kB / 0.5892 GB, free: 1.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1805, allocations: 51.41 kB / 0.5892 GB, free: 1.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.785e-05/0.1805, allocations: 89.86 kB / 0.5893 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1805, allocations: 25.7 kB / 0.5893 GB, free: 1.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.1806, allocations: 80.14 kB / 0.5894 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1806, allocations: 4.031 kB / 0.5894 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1807, allocations: 17.66 kB / 0.5894 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1808, allocations: 310.8 kB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.1808, allocations: 4 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.1808, allocations: 0 / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.1808, allocations: 12.86 kB / 0.5897 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1809, allocations: 0 / 0.5897 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.103e-05/0.1809, allocations: 37.62 kB / 0.5898 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1809, allocations: 8.094 kB / 0.5898 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.181, allocations: 4 kB / 0.5898 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.181, allocations: 3.938 kB / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.181, allocations: 0 / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1811, allocations: 0 / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.1811, allocations: 4 kB / 0.5898 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1811, allocations: 0 / 0.5898 GB, free: 0.5312 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 (1): * Single equations (assignments): 1 * 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 7.337e-05/0.1812, allocations: 105.8 kB / 0.5899 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.1812, allocations: 3.984 kB / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1813, allocations: 52.7 kB / 0.59 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1813, allocations: 0 / 0.59 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1813, allocations: 4 kB / 0.59 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1813, allocations: 0 / 0.59 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.1815, allocations: 145.7 kB / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1815, allocations: 4 kB / 0.5901 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/0.1815, allocations: 3.938 kB / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1815, allocations: 0 / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.1815, allocations: 7.969 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1815, allocations: 0 / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1815, allocations: 4 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.932e-05/0.1816, allocations: 65.11 kB / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.1817, allocations: 77.11 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1817, allocations: 7.938 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.1817, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1817, allocations: 7.969 kB / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1818, allocations: 0 / 0.5903 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.1818, allocations: 75.28 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1818, allocations: 0 / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002055/0.182, allocations: 4 kB / 0.5903 GB, free: 15.87 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 (1): * Single equations (assignments): 1 * 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.0001881/0.1822, allocations: 103.2 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.1823, allocations: 8 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1823, allocations: 0 / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-06/0.1823, allocations: 8.062 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1824, allocations: 3.094 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.1826, allocations: 82.69 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1829, allocations: 0.6692 MB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.1829, allocations: 3.938 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.183, allocations: 15.5 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.183, allocations: 0 / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.00239/0.1854, allocations: 271.6 kB / 0.5915 GB, free: 14.66 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)