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.001785/0.001785, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00261/0.00261, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.809 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.8783/0.8783, allocations: 134 MB / 446.4 MB, free: 9.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",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.002021/0.002021, allocations: 60.22 kB / 0.6185 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.159, allocations: 85.91 MB / 0.7024 GB, free: 1.105 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003358/0.1623, allocations: 1.448 MB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004112/0.1628, allocations: 96.59 kB / 0.7039 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.1628, allocations: 0 / 0.7039 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.465e-05/0.1629, allocations: 3.984 kB / 0.7039 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.1629, allocations: 3.938 kB / 0.7039 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1632, allocations: 23.92 kB / 0.7039 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.1633, allocations: 19.98 kB / 0.7039 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1634, allocations: 8 kB / 0.7039 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.1635, allocations: 11.92 kB / 0.704 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.1635, allocations: 8 kB / 0.704 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1635, allocations: 3.938 kB / 0.704 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1636, allocations: 27.84 kB / 0.704 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1637, allocations: 4 kB / 0.704 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.1637, allocations: 15.91 kB / 0.704 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.1639, allocations: 32.19 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1639, allocations: 3.938 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1639, allocations: 0 / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.1639, allocations: 11.98 kB / 0.7041 GB, free: 15.37 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.000543/0.1644, allocations: 270.2 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1645, allocations: 8.031 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.1645, allocations: 30.75 kB / 0.7044 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1645, allocations: 0.9375 kB / 0.7044 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1647, allocations: 106.5 kB / 0.7045 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1647, allocations: 4.375 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1647, allocations: 4.375 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1649, allocations: 58.16 kB / 0.7045 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.165, allocations: 7.938 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.165, allocations: 4 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.165, allocations: 0 / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1652, allocations: 39.95 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1656, allocations: 220 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1657, allocations: 46.44 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.1658, allocations: 28.89 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1659, allocations: 4 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1659, allocations: 30.56 kB / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.1659, allocations: 0 / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.1663, allocations: 85.64 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1663, allocations: 51.41 kB / 0.705 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1664, allocations: 105.8 kB / 0.7051 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1664, allocations: 33.64 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.1665, allocations: 92.2 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1665, allocations: 3.953 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.1665, allocations: 13.72 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1667, allocations: 318.8 kB / 0.7056 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.1668, allocations: 15.98 kB / 0.7056 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1668, allocations: 19.98 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.167, allocations: 44.88 kB / 0.7056 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.167, allocations: 3.938 kB / 0.7056 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.1672, allocations: 69.66 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1672, allocations: 4 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1672, allocations: 3.938 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1672, allocations: 0 / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1673, allocations: 19.86 kB / 0.7057 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1673, allocations: 0 / 0.7057 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1674, allocations: 15.98 kB / 0.7057 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1674, allocations: 0 / 0.7057 GB, free: 13.45 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.423e-05/0.1674, allocations: 113.8 kB / 0.7059 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1675, allocations: 4 kB / 0.7059 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1677, allocations: 73.28 kB / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1677, allocations: 0 / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1677, allocations: 0 / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1677, allocations: 4 kB / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.1679, allocations: 136.7 kB / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1679, allocations: 0 / 0.7061 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.1679, allocations: 11.98 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1679, allocations: 0 / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.168, allocations: 4.188 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.168, allocations: 4 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.168, allocations: 0 / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1682, allocations: 167.5 kB / 0.7062 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.1682, allocations: 11.98 kB / 0.7062 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1682, allocations: 0 / 0.7062 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1683, allocations: 7.984 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1683, allocations: 0 / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1684, allocations: 0 / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.1684, allocations: 91.27 kB / 0.7063 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1684, allocations: 0 / 0.7063 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002281/0.1686, allocations: 8 kB / 0.7064 GB, free: 12.75 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.000644/0.1693, allocations: 0.7084 MB / 0.707 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1695, allocations: 39.97 kB / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1695, allocations: 0 / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.1696, allocations: 19.97 kB / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1699, allocations: 4 kB / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.1704, allocations: 147.4 kB / 0.7072 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.1704, allocations: 71.14 kB / 0.7073 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.1705, allocations: 0 / 0.7073 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1705, allocations: 19.42 kB / 0.7073 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1705, allocations: 0 / 0.7073 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.1981, allocations: 1.961 MB / 0.7092 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.26, allocations: 2.406 kB / 0.7092 GB, free: 9.828 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 15.113160930108279] Failed to read output from testmodel.py, exit status != 0: 11.382023107726127 11.410787906 11.24205995 Calling exit ...