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.001042/0.001042, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001405/0.001405, allocations: 176.8 kB / 16.27 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9477/0.9477, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003136, allocations: 12 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 82.32 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001443/0.1571, allocations: 1.146 MB / 0.5892 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.1574, allocations: 92.64 kB / 0.5893 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.1575, allocations: 4 kB / 0.5893 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.47e-05/0.1575, allocations: 3.938 kB / 0.5893 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.1575, allocations: 0 / 0.5893 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1577, allocations: 11.98 kB / 0.5893 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.1578, allocations: 31.86 kB / 0.5893 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.1579, allocations: 4 kB / 0.5893 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.158, allocations: 11.98 kB / 0.5894 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.158, allocations: 7.938 kB / 0.5894 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.158, allocations: 3.984 kB / 0.5894 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.1581, allocations: 23.91 kB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.1582, allocations: 8 kB / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1582, allocations: 29.64 kB / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.944e-05/0.1583, allocations: 35.89 kB / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1583, allocations: 0 / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1583, allocations: 0 / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1583, allocations: 4 kB / 0.5895 GB, free: 1.086 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.000401/0.1587, allocations: 347.7 kB / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1588, allocations: 8.031 kB / 0.5898 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.1588, allocations: 34.73 kB / 0.5898 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.1588, allocations: 4.938 kB / 0.5898 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.159, allocations: 172.2 kB / 0.59 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.159, allocations: 384 / 0.59 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.159, allocations: 8.375 kB / 0.59 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1592, allocations: 58.17 kB / 0.5901 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1592, allocations: 3.938 kB / 0.5901 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-06/0.1592, allocations: 0 / 0.5901 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1592, allocations: 0 / 0.5901 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1594, allocations: 55.89 kB / 0.5901 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.1597, allocations: 253 kB / 0.5904 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1599, allocations: 50.5 kB / 0.5904 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.16, allocations: 32.84 kB / 0.5904 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.16, allocations: 7.984 kB / 0.5905 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.16, allocations: 30.56 kB / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.16, allocations: 0 / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.1604, allocations: 105.6 kB / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1605, allocations: 51.41 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.1605, allocations: 110 kB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1606, allocations: 25.7 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.1606, allocations: 84.14 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.1606, allocations: 7.844 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.1607, allocations: 13.72 kB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1608, allocations: 314.8 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1609, allocations: 27.91 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/0.161, allocations: 27.98 kB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1611, allocations: 48.81 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1612, allocations: 12 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000206/0.1614, allocations: 77.58 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1614, allocations: 8 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1614, allocations: 0 / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1614, allocations: 3.984 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.1615, allocations: 12.28 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1615, allocations: 0 / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.1616, allocations: 19.92 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.1616, allocations: 0 / 0.5914 GB, free: 14.88 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 7.249e-05/0.1617, allocations: 113.8 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1617, allocations: 0 / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1619, allocations: 93.17 kB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1619, allocations: 0 / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.162, allocations: 0 / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.162, allocations: 0 / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1621, allocations: 161.6 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1621, allocations: 8.016 kB / 0.5917 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.1622, allocations: 11.94 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1622, allocations: 3.938 kB / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1622, allocations: 0 / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1622, allocations: 0 / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1622, allocations: 0 / 0.5918 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1625, allocations: 187.4 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.1625, allocations: 89 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.1625, allocations: 0 / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1626, allocations: 4 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.1626, allocations: 11.98 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1627, allocations: 4.031 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.1627, allocations: 79.28 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1627, allocations: 0 / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002148/0.1629, allocations: 8 kB / 0.5921 GB, free: 14.01 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.000515/0.1634, allocations: 0.7202 MB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1637, allocations: 52 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1637, allocations: 0 / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.1638, allocations: 23.97 kB / 0.5929 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1641, allocations: 10.19 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.1645, allocations: 158.3 kB / 0.5931 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.1647, allocations: 0.677 MB / 0.5937 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.1647, allocations: 4 kB / 0.5937 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.1647, allocations: 15.42 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1648, allocations: 0 / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3913/0.5561, allocations: 1.162 MB / 0.5949 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.5564, allocations: 185.2 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.172, allocations: 0 / 0.5951 GB, free: 10.98 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)