Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.8392/0.8392, allocations: 132.2 MB / 429.4 MB, free: 5.938 MB / 334.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.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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.83 kB / 0.5894 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1613, allocations: 80.2 MB / 0.6677 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001912/0.1632, allocations: 0.5786 MB / 0.6683 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002731/0.1635, allocations: 35.88 kB / 0.6683 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1635, allocations: 0 / 0.6683 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.1636, allocations: 0 / 0.6683 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.753e-05/0.1636, allocations: 0 / 0.6683 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1639, allocations: 15.88 kB / 0.6684 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.164, allocations: 3.938 kB / 0.6684 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.164, allocations: 7.984 kB / 0.6684 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.946e-05/0.164, allocations: 4 kB / 0.6684 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.1641, allocations: 0 / 0.6684 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1641, allocations: 0 / 0.6684 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1642, allocations: 19.98 kB / 0.6684 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1642, allocations: 0 / 0.6684 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.1642, allocations: 0 / 0.6684 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1644, allocations: 15.97 kB / 0.6684 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1644, allocations: 3.938 kB / 0.6684 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1644, allocations: 0 / 0.6684 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1644, allocations: 0 / 0.6684 GB, free: 9.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003872/0.1648, allocations: 323.8 kB / 0.6687 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1648, allocations: 8.031 kB / 0.6687 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.1649, allocations: 30.75 kB / 0.6688 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.1649, allocations: 4.938 kB / 0.6688 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1651, allocations: 164.4 kB / 0.6689 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1651, allocations: 384 / 0.6689 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1651, allocations: 384 / 0.6689 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1652, allocations: 34.2 kB / 0.6689 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1652, allocations: 3.938 kB / 0.669 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1652, allocations: 4 kB / 0.669 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1653, allocations: 0 / 0.669 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.1653, allocations: 3.938 kB / 0.669 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1655, allocations: 153.7 kB / 0.6691 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.147e-05/0.1655, allocations: 14.58 kB / 0.6691 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.1655, allocations: 5.266 kB / 0.6691 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1656, allocations: 4.062 kB / 0.6691 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1656, allocations: 34.56 kB / 0.6692 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1656, allocations: 0 / 0.6692 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.1658, allocations: 41.58 kB / 0.6692 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1658, allocations: 55.41 kB / 0.6693 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.891e-05/0.1659, allocations: 89.86 kB / 0.6693 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1659, allocations: 29.69 kB / 0.6694 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.166, allocations: 80.14 kB / 0.6694 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.166, allocations: 3.953 kB / 0.6695 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.166, allocations: 17.84 kB / 0.6695 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1662, allocations: 310.8 kB / 0.6698 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.1662, allocations: 0 / 0.6698 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.1662, allocations: 8 kB / 0.6698 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.96e-05/0.1663, allocations: 8.859 kB / 0.6698 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1663, allocations: 0 / 0.6698 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.104e-05/0.1663, allocations: 45.56 kB / 0.6698 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1664, allocations: 4.094 kB / 0.6698 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1664, allocations: 7.938 kB / 0.6698 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1664, allocations: 0 / 0.6698 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.1665, allocations: 4 kB / 0.6698 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1665, allocations: 0 / 0.6698 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.1665, allocations: 0 / 0.6698 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1665, allocations: 0 / 0.6698 GB, free: 7.512 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 (1): * Single equations (assignments): 1 * 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.792e-05/0.1666, allocations: 109.8 kB / 0.6699 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-06/0.1666, allocations: 4 kB / 0.6699 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1667, allocations: 52.73 kB / 0.67 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1667, allocations: 3.938 kB / 0.67 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1667, allocations: 0 / 0.67 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1668, allocations: 3.938 kB / 0.67 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1669, allocations: 149.7 kB / 0.6701 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1669, allocations: 0 / 0.6701 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.1669, allocations: 0 / 0.6701 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1669, allocations: 0 / 0.6701 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1669, allocations: 11.97 kB / 0.6702 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1669, allocations: 0 / 0.6702 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1669, allocations: 0 / 0.6702 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.015e-05/0.167, allocations: 61.12 kB / 0.6702 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1671, allocations: 81.11 kB / 0.6703 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1671, allocations: 3.938 kB / 0.6703 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1671, allocations: 0 / 0.6703 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.1671, allocations: 0 / 0.6703 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1671, allocations: 4.031 kB / 0.6703 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.1672, allocations: 79.28 kB / 0.6704 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.635e-06/0.1672, allocations: 0 / 0.6704 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002021/0.1674, allocations: 11.88 kB / 0.6704 GB, free: 6.84 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 (1): * Single equations (assignments): 1 * 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.0004363/0.1678, allocations: 0.6033 MB / 0.671 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.373e-05/0.1679, allocations: 11.98 kB / 0.671 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1679, allocations: 0 / 0.671 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.1679, allocations: 7.938 kB / 0.671 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1681, allocations: 2.344 kB / 0.671 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.1684, allocations: 102.6 kB / 0.6711 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1687, allocations: 0.6729 MB / 0.6718 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.1688, allocations: 12.12 kB / 0.6718 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1688, allocations: 15.38 kB / 0.6718 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1688, allocations: 0 / 0.6718 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.1912, allocations: 0.9977 MB / 0.6728 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.047, allocations: 10 kB / 0.6728 GB, free: 4.406 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.61616097111255] Failed to read output from testmodel.py, exit status != 0: 8.113895067945123 8.136817736 7.96842861 Calling exit ...