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.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.001315/0.001315, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001437/0.001437, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.636/1.636, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8571/0.8571, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.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: 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.00302/0.00302, allocations: 70.58 kB / 0.6135 GB, free: 8.684 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2079, allocations: 85.85 MB / 0.6973 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001674/0.2095, allocations: 0.5681 MB / 0.6979 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000222/0.2098, allocations: 43.8 kB / 0.6979 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.136e-05/0.2098, allocations: 0 / 0.6979 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.2098, allocations: 0 / 0.6979 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-06/0.2098, allocations: 4 kB / 0.6979 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.21, allocations: 15.92 kB / 0.6979 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.181e-05/0.2101, allocations: 0 / 0.6979 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2101, allocations: 7.984 kB / 0.6979 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.2101, allocations: 0 / 0.6979 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.2102, allocations: 0 / 0.6979 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.2102, allocations: 0 / 0.6979 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.106e-05/0.2103, allocations: 19.98 kB / 0.698 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.2103, allocations: 4 kB / 0.698 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.2103, allocations: 4 kB / 0.698 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.16e-05/0.2104, allocations: 15.95 kB / 0.698 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2104, allocations: 0 / 0.698 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2104, allocations: 0 / 0.698 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2104, allocations: 0 / 0.698 GB, free: 2.227 MB / 0.5137 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.0003381/0.2107, allocations: 323.7 kB / 0.6983 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2107, allocations: 13.14 kB / 0.6983 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.2108, allocations: 30.75 kB / 0.6983 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.2108, allocations: 4.938 kB / 0.6983 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2109, allocations: 164.4 kB / 0.6985 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.2109, allocations: 384 / 0.6985 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-06/0.2109, allocations: 384 / 0.6985 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.667e-05/0.211, allocations: 34.2 kB / 0.6985 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.211, allocations: 3.938 kB / 0.6985 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.211, allocations: 0 / 0.6985 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.211, allocations: 0 / 0.6985 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.2111, allocations: 4 kB / 0.6985 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.2112, allocations: 157.7 kB / 0.6987 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.966e-05/0.2112, allocations: 18.52 kB / 0.6987 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.2113, allocations: 8.953 kB / 0.6987 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2113, allocations: 0 / 0.6987 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2113, allocations: 30.56 kB / 0.6987 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2113, allocations: 0 / 0.6987 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.2114, allocations: 49.53 kB / 0.6988 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2115, allocations: 59.52 kB / 0.6988 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.524e-05/0.2115, allocations: 89.86 kB / 0.6989 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.2115, allocations: 25.7 kB / 0.6989 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.2116, allocations: 80.14 kB / 0.699 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.2116, allocations: 0 / 0.699 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.2116, allocations: 13.72 kB / 0.699 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2118, allocations: 311.2 kB / 0.6993 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.2118, allocations: 0 / 0.6993 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.2118, allocations: 8 kB / 0.6993 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.2118, allocations: 8.859 kB / 0.6994 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2118, allocations: 4 kB / 0.6994 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.048e-05/0.2119, allocations: 37.62 kB / 0.6994 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2119, allocations: 4 kB / 0.6994 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2119, allocations: 3.938 kB / 0.6994 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.2119, allocations: 0 / 0.6994 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.721e-05/0.2119, allocations: 4 kB / 0.6994 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2119, allocations: 0 / 0.6994 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.212, allocations: 8.031 kB / 0.6994 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.212, allocations: 4 kB / 0.6994 GB, free: 0.5195 MB / 0.5137 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 6.53e-05/0.212, allocations: 105.8 kB / 0.6995 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-06/0.212, allocations: 0 / 0.6995 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.2121, allocations: 48.75 kB / 0.6996 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.2121, allocations: 32 / 0.6996 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2121, allocations: 4 kB / 0.6996 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2121, allocations: 0 / 0.6996 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.2123, allocations: 145.7 kB / 0.6997 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2123, allocations: 3.938 kB / 0.6997 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.2123, allocations: 4 kB / 0.6997 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2123, allocations: 0 / 0.6997 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2123, allocations: 3.938 kB / 0.6997 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2123, allocations: 3.938 kB / 0.6997 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2123, allocations: 0 / 0.6997 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/0.2124, allocations: 65.12 kB / 0.6998 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.2124, allocations: 77.11 kB / 0.6999 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2124, allocations: 3.938 kB / 0.6999 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2124, allocations: 4 kB / 0.6999 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.2125, allocations: 4 kB / 0.6999 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2125, allocations: 3.984 kB / 0.6999 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.2125, allocations: 75.28 kB / 0.6999 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2125, allocations: 0 / 0.6999 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002016/0.2127, allocations: 11.97 kB / 0.7 GB, free: 15.86 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 (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.000407/0.2131, allocations: 0.6046 MB / 0.7005 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.2132, allocations: 11.98 kB / 0.7006 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2132, allocations: 0 / 0.7006 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.2132, allocations: 4.094 kB / 0.7006 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.2133, allocations: 4 kB / 0.7006 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.2136, allocations: 102.7 kB / 0.7007 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2139, allocations: 0.6805 MB / 0.7013 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.2139, allocations: 0 / 0.7013 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.2139, allocations: 11.5 kB / 0.7013 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.2139, allocations: 0 / 0.7013 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.2366, allocations: 1.024 MB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.081, allocations: 0 / 0.7023 GB, free: 13.43 MB / 0.5294 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.838462537998566] Failed to read output from testmodel.py, exit status != 0: 8.146077993995277 8.15914993 7.946090827 Calling exit ...