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.005382/0.005382, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001335/0.001335, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8419/0.8419, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 68.77 kB / 0.5857 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.163, allocations: 81.03 MB / 0.6649 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003041/0.1661, allocations: 1.423 MB / 0.6663 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.1664, allocations: 104.5 kB / 0.6664 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.1665, allocations: 0 / 0.6664 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.1665, allocations: 4 kB / 0.6664 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.1666, allocations: 3.938 kB / 0.6664 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1669, allocations: 15.98 kB / 0.6664 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.941e-05/0.167, allocations: 23.92 kB / 0.6664 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.599e-05/0.1671, allocations: 8 kB / 0.6664 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.1671, allocations: 7.984 kB / 0.6664 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.1672, allocations: 11.92 kB / 0.6664 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1672, allocations: 11.98 kB / 0.6664 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.1673, allocations: 15.98 kB / 0.6665 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.1673, allocations: 11.94 kB / 0.6665 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.1674, allocations: 7.938 kB / 0.6665 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1675, allocations: 40.11 kB / 0.6665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1675, allocations: 0 / 0.6665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1675, allocations: 0 / 0.6665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.1675, allocations: 0 / 0.6665 GB, free: 4.043 MB / 0.4981 GB 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.0004722/0.168, allocations: 347.3 kB / 0.6668 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.168, allocations: 17.09 kB / 0.6669 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1681, allocations: 34.75 kB / 0.6669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.1681, allocations: 0.9375 kB / 0.6669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1682, allocations: 168.3 kB / 0.6671 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1683, allocations: 384 / 0.6671 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1683, allocations: 4.359 kB / 0.6671 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1685, allocations: 54.17 kB / 0.6671 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1686, allocations: 7.875 kB / 0.6671 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1686, allocations: 0 / 0.6671 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1686, allocations: 8 kB / 0.6671 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.1688, allocations: 35.95 kB / 0.6672 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.1691, allocations: 257 kB / 0.6674 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1693, allocations: 42.5 kB / 0.6675 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.1694, allocations: 24.91 kB / 0.6675 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.1694, allocations: 7.984 kB / 0.6675 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1695, allocations: 34.5 kB / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1695, allocations: 0 / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004108/0.1699, allocations: 85.64 kB / 0.6676 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1699, allocations: 55.53 kB / 0.6677 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.17, allocations: 105.8 kB / 0.6678 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1701, allocations: 25.7 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1701, allocations: 92.09 kB / 0.6679 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1702, allocations: 7.891 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1702, allocations: 13.72 kB / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1703, allocations: 318.8 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.332e-05/0.1704, allocations: 19.98 kB / 0.6682 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/0.1705, allocations: 20.17 kB / 0.6682 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.1707, allocations: 44.81 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.1708, allocations: 7.938 kB / 0.6683 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002576/0.171, allocations: 65.66 kB / 0.6683 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1711, allocations: 13.81 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1711, allocations: 0 / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1711, allocations: 0 / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1712, allocations: 4 kB / 0.6684 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1712, allocations: 0 / 0.6684 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.1713, allocations: 11.92 kB / 0.6684 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1713, allocations: 4 kB / 0.6684 GB, free: 1.91 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 0.0001071/0.1714, allocations: 117.7 kB / 0.6685 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1715, allocations: 4 kB / 0.6685 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.1718, allocations: 81.17 kB / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1718, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1718, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1718, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.1721, allocations: 165.6 kB / 0.6687 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1721, allocations: 0 / 0.6687 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.1722, allocations: 4 kB / 0.6687 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1722, allocations: 8.031 kB / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1722, allocations: 3.984 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1722, allocations: 3.938 kB / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1722, allocations: 0 / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.1725, allocations: 175.3 kB / 0.6689 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.1726, allocations: 77.11 kB / 0.669 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1726, allocations: 4.031 kB / 0.669 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1727, allocations: 7.984 kB / 0.669 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.1727, allocations: 0 / 0.669 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1727, allocations: 0 / 0.669 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.1728, allocations: 91.28 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1728, allocations: 0 / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.173, allocations: 11.98 kB / 0.6691 GB, free: 1.07 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.0005607/0.1736, allocations: 0.7061 MB / 0.6698 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.1739, allocations: 43.95 kB / 0.6698 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1739, allocations: 0 / 0.6698 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/0.174, allocations: 24.08 kB / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1743, allocations: 0 / 0.6698 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1748, allocations: 147 kB / 0.67 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1751, allocations: 0.6768 MB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.1751, allocations: 3.938 kB / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.1751, allocations: 15.44 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.893e-06/0.1751, allocations: 64 / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.2015, allocations: 1.422 MB / 0.6721 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.221, allocations: 12.61 kB / 0.6721 GB, free: 14 MB / 0.5137 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)