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.001251/0.001251, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00145/0.00145, allocations: 215 kB / 20.13 MB, free: 2.949 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8685/0.8685, allocations: 133.9 MB / 443.5 MB, free: 13.84 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.002249/0.002249, allocations: 70.03 kB / 0.6141 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1686, allocations: 85.86 MB / 0.698 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.002308/0.1709, allocations: 0.5703 MB / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.1712, allocations: 32.78 kB / 0.6986 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.1712, allocations: 0 / 0.6986 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.1713, allocations: 1.844 kB / 0.6986 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.1713, allocations: 0 / 0.6986 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1716, allocations: 17.3 kB / 0.6986 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.1716, allocations: 1.781 kB / 0.6986 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.1717, allocations: 1.938 kB / 0.6986 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.1717, allocations: 7.984 kB / 0.6986 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.1717, allocations: 2.25 kB / 0.6986 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.679e-06/0.1718, allocations: 0 / 0.6986 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1719, allocations: 15.14 kB / 0.6986 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.1719, allocations: 0 / 0.6986 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1719, allocations: 3.984 kB / 0.6986 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.172, allocations: 19.73 kB / 0.6986 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.172, allocations: 0 / 0.6986 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.054e-06/0.172, allocations: 0 / 0.6986 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.172, allocations: 0 / 0.6986 GB, free: 13.13 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.0004002/0.1724, allocations: 322.9 kB / 0.699 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1725, allocations: 13.64 kB / 0.699 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.1725, allocations: 4.188 kB / 0.699 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1725, allocations: 34.69 kB / 0.699 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.1726, allocations: 0.9375 kB / 0.699 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1727, allocations: 167.4 kB / 0.6992 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1727, allocations: 384 / 0.6992 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1727, allocations: 2.969 kB / 0.6992 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1728, allocations: 31.58 kB / 0.6992 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1729, allocations: 4 kB / 0.6992 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1729, allocations: 0 / 0.6992 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1729, allocations: 0 / 0.6992 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/0.1729, allocations: 2.125 kB / 0.6992 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.1731, allocations: 160 kB / 0.6994 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.1732, allocations: 20.64 kB / 0.6994 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1732, allocations: 4.859 kB / 0.6994 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1732, allocations: 2.062 kB / 0.6994 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1732, allocations: 38.5 kB / 0.6994 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1732, allocations: 0 / 0.6994 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001745/0.1734, allocations: 38.17 kB / 0.6995 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1735, allocations: 55.34 kB / 0.6995 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.1735, allocations: 89.86 kB / 0.6996 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1736, allocations: 29.69 kB / 0.6996 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.1736, allocations: 80.14 kB / 0.6997 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.1736, allocations: 128 / 0.6997 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1737, allocations: 16.62 kB / 0.6997 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1738, allocations: 310.8 kB / 0.7 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.1738, allocations: 2.25 kB / 0.7 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-06/0.1738, allocations: 0 / 0.7 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.1739, allocations: 12.17 kB / 0.7 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1739, allocations: 3.938 kB / 0.7 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.306e-05/0.1739, allocations: 35.59 kB / 0.7001 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.174, allocations: 16.84 kB / 0.7001 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.174, allocations: 0 / 0.7001 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.174, allocations: 1.781 kB / 0.7001 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1741, allocations: 1.625 kB / 0.7001 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1741, allocations: 0 / 0.7001 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.1741, allocations: 0 / 0.7001 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1741, allocations: 2.406 kB / 0.7001 GB, free: 11.49 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 9.507e-05/0.1742, allocations: 108.1 kB / 0.7002 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.1742, allocations: 3.938 kB / 0.7002 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1743, allocations: 46.75 kB / 0.7002 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1743, allocations: 7.922 kB / 0.7002 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1743, allocations: 3.719 kB / 0.7002 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1743, allocations: 0 / 0.7002 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.1745, allocations: 145.7 kB / 0.7004 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1745, allocations: 0 / 0.7004 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.1745, allocations: 3.969 kB / 0.7004 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1745, allocations: 11.91 kB / 0.7004 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1745, allocations: 0 / 0.7004 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1745, allocations: 0 / 0.7004 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1745, allocations: 0 / 0.7004 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.148e-05/0.1746, allocations: 60.62 kB / 0.7005 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1746, allocations: 77.11 kB / 0.7005 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1746, allocations: 3.938 kB / 0.7005 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.1747, allocations: 4 kB / 0.7005 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.1747, allocations: 4.031 kB / 0.7005 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1747, allocations: 1.375 kB / 0.7005 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.1747, allocations: 76.66 kB / 0.7006 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5e-08/0.1747, allocations: 0 / 0.7006 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002182/0.1749, allocations: 8.062 kB / 0.7006 GB, free: 10.86 MB / 0.5137 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.0004633/0.1754, allocations: 0.6028 MB / 0.7012 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.475e-05/0.1755, allocations: 12.11 kB / 0.7012 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1755, allocations: 0 / 0.7012 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-06/0.1755, allocations: 2.75 kB / 0.7012 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.1756, allocations: 6.25 kB / 0.7012 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.176, allocations: 107.2 kB / 0.7013 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1763, allocations: 0.678 MB / 0.702 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.1763, allocations: 5.5 kB / 0.702 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.1763, allocations: 8.812 kB / 0.702 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1763, allocations: 0 / 0.702 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.1946, allocations: 1.057 MB / 0.703 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.287, allocations: 16.83 kB / 0.7031 GB, free: 8.781 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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: 12.074863372021355] Failed to read output from testmodel.py, exit status != 0: 8.70580506999977 8.437917529 8.260697004 Calling exit ...