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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.934/0.934, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.47 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1652, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.004497/0.1698, allocations: 1.42 MB / 0.5859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.1702, allocations: 96.58 kB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.1703, allocations: 0 / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.407e-05/0.1703, allocations: 3.938 kB / 0.586 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.1704, allocations: 7.922 kB / 0.586 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1707, allocations: 19.98 kB / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.446e-05/0.1708, allocations: 27.86 kB / 0.586 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.171, allocations: 7.938 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.171, allocations: 8 kB / 0.586 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.1711, allocations: 15.92 kB / 0.586 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1711, allocations: 0 / 0.586 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1713, allocations: 19.98 kB / 0.5861 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.1713, allocations: 11.97 kB / 0.5861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.1714, allocations: 7.938 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1715, allocations: 39.89 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1716, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1716, allocations: 4 kB / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1716, allocations: 0 / 0.5861 GB, free: 2.773 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.0005771/0.1722, allocations: 343.6 kB / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1722, allocations: 12.03 kB / 0.5865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.1723, allocations: 30.75 kB / 0.5865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1724, allocations: 8.844 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1725, allocations: 168.4 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1726, allocations: 4.375 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1726, allocations: 384 / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1729, allocations: 54.23 kB / 0.5867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1729, allocations: 3.938 kB / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1729, allocations: 0 / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1729, allocations: 0 / 0.5867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.1732, allocations: 35.91 kB / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1737, allocations: 260.9 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1739, allocations: 46.48 kB / 0.587 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1741, allocations: 20.91 kB / 0.5871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.1742, allocations: 0 / 0.5871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1742, allocations: 42.56 kB / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 4.438e-06/0.1742, allocations: 3.984 kB / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006073/0.1748, allocations: 89.48 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1749, allocations: 51.41 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.175, allocations: 113.8 kB / 0.5873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1751, allocations: 25.7 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1751, allocations: 84.27 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1752, allocations: 11.83 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.1752, allocations: 17.72 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1754, allocations: 310.8 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1756, allocations: 20.23 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1757, allocations: 19.97 kB / 0.5878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.176, allocations: 48.89 kB / 0.5879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.176, allocations: 3.938 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003652/0.1764, allocations: 73.59 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1765, allocations: 7.938 kB / 0.5879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1765, allocations: 0 / 0.5879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1765, allocations: 0 / 0.5879 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1767, allocations: 16.02 kB / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1767, allocations: 0 / 0.588 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.1768, allocations: 7.984 kB / 0.588 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1768, allocations: 0 / 0.588 GB, free: 0.6406 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.0001003/0.1769, allocations: 113.8 kB / 0.5881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.177, allocations: 4 kB / 0.5881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.1774, allocations: 77.12 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1774, allocations: 0 / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1774, allocations: 0 / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1774, allocations: 0 / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1777, allocations: 169.6 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.1777, allocations: 0 / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1778, allocations: 11.98 kB / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.1778, allocations: 0 / 0.5883 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1779, allocations: 3.938 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1779, allocations: 0 / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1779, allocations: 3.984 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.1783, allocations: 175.4 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.1784, allocations: 81.05 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.1784, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1786, allocations: 7.984 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1786, allocations: 4 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1787, allocations: 4.031 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.1787, allocations: 91.27 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.1788, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004423/0.1792, allocations: 8 kB / 0.5887 GB, free: 15.8 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.0007876/0.18, allocations: 0.7023 MB / 0.5894 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.1804, allocations: 43.89 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1804, allocations: 0 / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1806, allocations: 19.98 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.181, allocations: 3.984 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.1817, allocations: 159.2 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.182, allocations: 0.6768 MB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.1821, allocations: 0 / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.1821, allocations: 15.38 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.1822, allocations: 0 / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5613/0.7435, allocations: 1.391 MB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.684/10.43, allocations: 7.5 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)