Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.842/0.842, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 70.17 kB / 0.6193 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1688, allocations: 85.9 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002639/0.1715, allocations: 1.46 MB / 0.7046 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.1718, allocations: 92.59 kB / 0.7047 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.1718, allocations: 4 kB / 0.7047 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.1718, allocations: 3.938 kB / 0.7047 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.2e-05/0.1719, allocations: 3.938 kB / 0.7047 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1721, allocations: 23.97 kB / 0.7048 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.1722, allocations: 27.91 kB / 0.7048 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.1722, allocations: 8 kB / 0.7048 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.1723, allocations: 7.875 kB / 0.7048 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.1723, allocations: 15.92 kB / 0.7048 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1723, allocations: 4 kB / 0.7048 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.1724, allocations: 23.97 kB / 0.7048 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.1724, allocations: 4 kB / 0.7048 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1725, allocations: 11.92 kB / 0.7049 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1726, allocations: 48.03 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1726, allocations: 0 / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1726, allocations: 4 kB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1726, allocations: 0 / 0.7049 GB, free: 15.64 MB / 0.5294 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.00044/0.1731, allocations: 272.8 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1731, allocations: 12.03 kB / 0.7052 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.368e-05/0.1731, allocations: 192 / 0.7052 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.1731, allocations: 30.75 kB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.1732, allocations: 4.938 kB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1733, allocations: 110.5 kB / 0.7053 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.1733, allocations: 4.375 kB / 0.7053 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1733, allocations: 4.375 kB / 0.7053 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1735, allocations: 53.98 kB / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.1735, allocations: 0 / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1735, allocations: 0 / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1735, allocations: 0 / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.1737, allocations: 39.89 kB / 0.7054 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.174, allocations: 235.9 kB / 0.7056 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1741, allocations: 38.56 kB / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.1742, allocations: 24.89 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1742, allocations: 0 / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.1743, allocations: 42.56 kB / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1743, allocations: 3.938 kB / 0.7057 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003486/0.1746, allocations: 81.64 kB / 0.7058 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1747, allocations: 59.34 kB / 0.7059 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.1748, allocations: 105.8 kB / 0.706 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1748, allocations: 25.7 kB / 0.706 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1748, allocations: 88.2 kB / 0.7061 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1748, allocations: 3.953 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.1749, allocations: 17.72 kB / 0.7061 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.175, allocations: 314.8 kB / 0.7064 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.1751, allocations: 19.98 kB / 0.7064 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.663e-05/0.1752, allocations: 15.98 kB / 0.7064 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1753, allocations: 56.75 kB / 0.7065 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1753, allocations: 0 / 0.7065 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.1756, allocations: 69.66 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1756, allocations: 7.938 kB / 0.7066 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1756, allocations: 0 / 0.7066 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1756, allocations: 0 / 0.7066 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.1757, allocations: 8.031 kB / 0.7066 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1757, allocations: 7.984 kB / 0.7066 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.1757, allocations: 7.953 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.1757, allocations: 0 / 0.7066 GB, free: 13.71 MB / 0.5294 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 8.452e-05/0.1758, allocations: 117.8 kB / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1759, allocations: 3.984 kB / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.1761, allocations: 73.22 kB / 0.7068 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1761, allocations: 4.031 kB / 0.7068 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1761, allocations: 0 / 0.7068 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1761, allocations: 4.25 kB / 0.7068 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.1763, allocations: 136.7 kB / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1763, allocations: 4 kB / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.1763, allocations: 8 kB / 0.7069 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1763, allocations: 0 / 0.7069 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1763, allocations: 3.984 kB / 0.7069 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1764, allocations: 0 / 0.7069 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1764, allocations: 0 / 0.7069 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.1766, allocations: 175.4 kB / 0.7071 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.1766, allocations: 3.953 kB / 0.7071 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1767, allocations: 7.984 kB / 0.7071 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.1767, allocations: 7.984 kB / 0.7071 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1768, allocations: 3.938 kB / 0.7071 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1768, allocations: 4.031 kB / 0.7071 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.1768, allocations: 83.28 kB / 0.7072 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1768, allocations: 0 / 0.7072 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002241/0.177, allocations: 11.98 kB / 0.7072 GB, free: 13 MB / 0.5294 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.0005938/0.1776, allocations: 0.7042 MB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1779, allocations: 43.89 kB / 0.7079 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1779, allocations: 0 / 0.7079 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/0.1779, allocations: 19.98 kB / 0.708 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.1782, allocations: 5.969 kB / 0.708 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.1787, allocations: 155.4 kB / 0.7081 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.179, allocations: 0.6805 MB / 0.7088 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.179, allocations: 4 kB / 0.7088 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.1791, allocations: 11.38 kB / 0.7088 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1791, allocations: 0 / 0.7088 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.1995, allocations: 1.573 MB / 0.7103 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.31, allocations: 4.062 kB / 0.7103 GB, free: 9.855 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.937819894053973] Failed to read output from testmodel.py, exit status != 0: 11.468963930965401 11.485727406 11.309938996 Calling exit ...