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.0007571/0.000757, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008045/0.0008045, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9321/0.9321, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 8 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1735, allocations: 82.31 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001472/0.1751, allocations: 1.144 MB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.1753, allocations: 94.28 kB / 0.5887 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1754, allocations: 0 / 0.5887 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.1754, allocations: 0 / 0.5887 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.1755, allocations: 7.938 kB / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1757, allocations: 11.98 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.435e-05/0.1758, allocations: 23.92 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.1759, allocations: 4 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.1759, allocations: 15.92 kB / 0.5887 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.176, allocations: 4 kB / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.176, allocations: 4 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.1761, allocations: 23.91 kB / 0.5888 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.1761, allocations: 3.984 kB / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.1761, allocations: 25.7 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.697e-05/0.1762, allocations: 23.97 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1762, allocations: 3.984 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1762, allocations: 0 / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1762, allocations: 0 / 0.5888 GB, free: 1.48 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.0004945/0.1767, allocations: 351.5 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1768, allocations: 12.03 kB / 0.5892 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.1768, allocations: 30.56 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.1769, allocations: 0 / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.177, allocations: 178.9 kB / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.177, allocations: 0 / 0.5894 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.177, allocations: 3.938 kB / 0.5894 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1772, allocations: 65.66 kB / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1772, allocations: 0 / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1773, allocations: 0 / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1773, allocations: 0 / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1774, allocations: 51.95 kB / 0.5895 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1778, allocations: 256.9 kB / 0.5897 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.178, allocations: 46.5 kB / 0.5898 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.1781, allocations: 36.89 kB / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.1781, allocations: 0 / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1781, allocations: 30.56 kB / 0.5898 GB, free: 272 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1781, allocations: 4 kB / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.1785, allocations: 101.6 kB / 0.5899 GB, free: 160 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1785, allocations: 55.34 kB / 0.59 GB, free: 92 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.1786, allocations: 109.8 kB / 0.5901 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1787, allocations: 25.7 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.1787, allocations: 92.27 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1787, allocations: 7.844 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.1788, allocations: 0 / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1789, allocations: 314.8 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.179, allocations: 27.97 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.179, allocations: 23.98 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.231e-05/0.1791, allocations: 23.98 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1791, allocations: 0 / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.1793, allocations: 81.72 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1793, allocations: 4 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1793, allocations: 0 / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1794, allocations: 0 / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.1795, allocations: 15.92 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1795, allocations: 4 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1795, allocations: 11.89 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1795, allocations: 7.984 kB / 0.5907 GB, free: 15.32 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 8.198e-05/0.1796, allocations: 113.8 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.1796, allocations: 0 / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1799, allocations: 89.19 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1799, allocations: 3.984 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1799, allocations: 3.938 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1799, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1801, allocations: 165.6 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1801, allocations: 0 / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.1802, allocations: 11.98 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1802, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1802, allocations: 256 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1802, allocations: 7.938 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1802, allocations: 8.031 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1804, allocations: 175.5 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.1805, allocations: 85.05 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1805, allocations: 3.984 kB / 0.5914 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1806, allocations: 8 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1806, allocations: 3.984 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1806, allocations: 0 / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.1807, allocations: 87.28 kB / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1807, allocations: 0 / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002275/0.1809, allocations: 8 kB / 0.5915 GB, free: 14.46 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.0005623/0.1815, allocations: 0.7124 MB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1817, allocations: 52 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1817, allocations: 4 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.1818, allocations: 28.03 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.1821, allocations: 11.66 kB / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.1825, allocations: 150.3 kB / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1828, allocations: 0.6848 MB / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.1828, allocations: 0 / 0.5931 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.1828, allocations: 11.5 kB / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1828, allocations: 0 / 0.5931 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.193, allocations: 1.151 MB / 0.5942 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.1932, allocations: 173.8 kB / 0.5944 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.908, allocations: 3.984 kB / 0.5944 GB, free: 11.45 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: