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.001261/0.001261, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001438/0.001438, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8767/0.8767, allocations: 134 MB / 447.2 MB, free: 10.22 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: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") [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.002764/0.002764, allocations: 66.23 kB / 0.6198 GB, free: 6.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1741, allocations: 85.9 MB / 0.7037 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002973/0.1771, allocations: 1.467 MB / 0.7051 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.1774, allocations: 104.5 kB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.1775, allocations: 0 / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.1775, allocations: 3.938 kB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.1775, allocations: 3.984 kB / 0.7052 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1778, allocations: 23.92 kB / 0.7052 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.1779, allocations: 23.92 kB / 0.7052 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.178, allocations: 8 kB / 0.7053 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.178, allocations: 11.92 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.1781, allocations: 11.98 kB / 0.7053 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1781, allocations: 0 / 0.7053 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.1782, allocations: 27.92 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.1782, allocations: 3.984 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1782, allocations: 15.92 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1783, allocations: 35.83 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1784, allocations: 4 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1784, allocations: 4 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1784, allocations: 0 / 0.7054 GB, free: 15.14 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.0004521/0.1788, allocations: 270.2 kB / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1788, allocations: 8.031 kB / 0.7056 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.1789, allocations: 0.9375 kB / 0.7056 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.179, allocations: 110.5 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.179, allocations: 4.359 kB / 0.7057 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.179, allocations: 8.375 kB / 0.7057 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1792, allocations: 46.25 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1792, allocations: 4.172 kB / 0.7058 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.1792, allocations: 11.94 kB / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1792, allocations: 0 / 0.7058 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1794, allocations: 31.97 kB / 0.7058 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1797, allocations: 224 kB / 0.7061 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1799, allocations: 50.44 kB / 0.7061 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.18, allocations: 28.89 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.18, allocations: 0 / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1801, allocations: 34.56 kB / 0.7062 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1801, allocations: 0 / 0.7062 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003709/0.1804, allocations: 93.58 kB / 0.7062 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1805, allocations: 51.41 kB / 0.7063 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.1806, allocations: 105.8 kB / 0.7064 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1806, allocations: 25.7 kB / 0.7064 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.1807, allocations: 88.08 kB / 0.7065 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1807, allocations: 3.953 kB / 0.7065 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.1807, allocations: 29.7 kB / 0.7065 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1808, allocations: 314.8 kB / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1809, allocations: 15.98 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.181, allocations: 19.98 kB / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1812, allocations: 40.88 kB / 0.7069 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1812, allocations: 4 kB / 0.7069 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.1814, allocations: 85.52 kB / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1814, allocations: 4 kB / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1814, allocations: 0 / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1814, allocations: 0 / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.1815, allocations: 11.98 kB / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1815, allocations: 0 / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.1815, allocations: 11.98 kB / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1815, allocations: 0 / 0.707 GB, free: 13.25 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.543e-05/0.1816, allocations: 113.8 kB / 0.7071 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1817, allocations: 4 kB / 0.7071 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.1819, allocations: 73.28 kB / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1819, allocations: 0 / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1819, allocations: 0 / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1819, allocations: 7.969 kB / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1821, allocations: 140.7 kB / 0.7073 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1821, allocations: 0 / 0.7073 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.1821, allocations: 11.98 kB / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1821, allocations: 0 / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1821, allocations: 256 / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1821, allocations: 4 kB / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1821, allocations: 0 / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1824, allocations: 171.5 kB / 0.7075 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.1824, allocations: 3.953 kB / 0.7075 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1824, allocations: 4 kB / 0.7075 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.1825, allocations: 11.98 kB / 0.7075 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1825, allocations: 0 / 0.7075 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1825, allocations: 0 / 0.7075 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.1826, allocations: 83.27 kB / 0.7076 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1826, allocations: 4.031 kB / 0.7076 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002358/0.1828, allocations: 12 kB / 0.7076 GB, free: 12.54 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.0001594/0.183, allocations: 107.1 kB / 0.7077 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1832, allocations: 39.95 kB / 0.7078 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1832, allocations: 0 / 0.7078 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.1833, allocations: 24.05 kB / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1836, allocations: 11.88 kB / 0.7078 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000342/0.184, allocations: 135.4 kB / 0.7079 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1843, allocations: 0.6805 MB / 0.7086 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.1843, allocations: 15.38 kB / 0.7086 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.1843, allocations: 0 / 0.7086 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.002474/0.1868, allocations: 0.673 MB / 0.7093 GB, free: 10.8 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.143075505970046] Failed to read output from testmodel.py, exit status != 0: 0.1961725631263107 0.21189076099999996 0.029706219000000002 Calling exit ...