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.001372/0.001372, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001623/0.001623, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.011/2.011, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.572/1.572, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 12 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1708, allocations: 82.32 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001444/0.1723, allocations: 1.14 MB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.1725, allocations: 96.56 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.1726, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.989e-05/0.1726, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.1727, allocations: 4 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1729, allocations: 11.98 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.666e-05/0.173, allocations: 19.91 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.086e-05/0.173, allocations: 11.94 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.1731, allocations: 7.984 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.1731, allocations: 15.88 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1731, allocations: 4 kB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.1732, allocations: 7.984 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.1733, allocations: 15.97 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.1733, allocations: 25.7 kB / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.204e-05/0.1734, allocations: 19.97 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1734, allocations: 0 / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1734, allocations: 0 / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1734, allocations: 0 / 0.5886 GB, free: 1.633 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.0003912/0.1738, allocations: 349.2 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1738, allocations: 8.031 kB / 0.589 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.1739, allocations: 38.48 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.1739, allocations: 4 kB / 0.589 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.174, allocations: 170.9 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.174, allocations: 4 kB / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.174, allocations: 0 / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1742, allocations: 57.67 kB / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1742, allocations: 0 / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1743, allocations: 0 / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1743, allocations: 0 / 0.5892 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1744, allocations: 51.95 kB / 0.5893 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.1747, allocations: 260.9 kB / 0.5895 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1749, allocations: 42.56 kB / 0.5896 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1749, allocations: 4.062 kB / 0.5896 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.175, allocations: 34.56 kB / 0.5896 GB, free: 472 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.175, allocations: 0 / 0.5896 GB, free: 472 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.1753, allocations: 109.7 kB / 0.5897 GB, free: 356 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1754, allocations: 51.41 kB / 0.5898 GB, free: 292 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.1755, allocations: 105.8 kB / 0.5899 GB, free: 176 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1755, allocations: 25.7 kB / 0.5899 GB, free: 144 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1755, allocations: 88.06 kB / 0.59 GB, free: 52 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1756, allocations: 11.84 kB / 0.59 GB, free: 40 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.1756, allocations: 0 / 0.59 GB, free: 40 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1757, allocations: 318.8 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.1758, allocations: 27.98 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/0.1759, allocations: 23.97 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.176, allocations: 24.05 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.176, allocations: 0 / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.1762, allocations: 77.66 kB / 0.5904 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1762, allocations: 11.94 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1762, allocations: 256 / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1763, allocations: 4.031 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.1763, allocations: 19.92 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1764, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.1764, allocations: 11.91 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.1764, allocations: 0 / 0.5905 GB, free: 15.52 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 7.236e-05/0.1765, allocations: 117.8 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1765, allocations: 8 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.1768, allocations: 81.19 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1768, allocations: 4 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1768, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.1769, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.177, allocations: 169.6 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.177, allocations: 0 / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/0.1771, allocations: 15.92 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1771, allocations: 0 / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1771, allocations: 3.984 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1771, allocations: 0 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1771, allocations: 0 / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.1774, allocations: 179.5 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1774, allocations: 85.02 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1775, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.1775, allocations: 7.984 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1776, allocations: 8.031 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1776, allocations: 0 / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.1776, allocations: 87.27 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1776, allocations: 3.938 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.1779, allocations: 12 kB / 0.5912 GB, free: 14.64 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.000553/0.1785, allocations: 0.7163 MB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1787, allocations: 51.98 kB / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1787, allocations: 0 / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.376e-05/0.1788, allocations: 31.92 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.179, allocations: 0 / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.1794, allocations: 158.5 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.1796, allocations: 0.677 MB / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.1797, allocations: 4.188 kB / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1797, allocations: 7.438 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.1797, allocations: 0 / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.1932, allocations: 1.135 MB / 0.5939 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.1934, allocations: 171 kB / 0.5941 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/2.765, allocations: 0 / 0.5941 GB, free: 11.66 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/linux/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) Environment - environmentSimulation: