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.001289/0.001289, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001539/0.001539, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.773 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.834/0.834, allocations: 134 MB / 446.4 MB, free: 9.922 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.002101/0.002101, allocations: 67 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1747, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001788/0.1764, allocations: 0.5798 MB / 0.703 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.1767, allocations: 35.89 kB / 0.703 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.1767, allocations: 0 / 0.703 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.1767, allocations: 0 / 0.703 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-06/0.1767, allocations: 0 / 0.703 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1771, allocations: 15.92 kB / 0.703 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.041e-05/0.1771, allocations: 0 / 0.703 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1772, allocations: 4.406 kB / 0.703 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.209e-05/0.1772, allocations: 4 kB / 0.703 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.098e-05/0.1772, allocations: 3.984 kB / 0.7031 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1772, allocations: 3.984 kB / 0.7031 GB, free: 408 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1773, allocations: 19.98 kB / 0.7031 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1774, allocations: 0 / 0.7031 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1774, allocations: 3.938 kB / 0.7031 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1775, allocations: 16.25 kB / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1775, allocations: 0 / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1775, allocations: 0 / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1775, allocations: 0 / 0.7031 GB, free: 368 kB / 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.0003216/0.1778, allocations: 238.4 kB / 0.7033 GB, free: 96 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1779, allocations: 12.03 kB / 0.7033 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1779, allocations: 34.69 kB / 0.7034 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.1779, allocations: 0.9375 kB / 0.7034 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.178, allocations: 114.5 kB / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1781, allocations: 8.359 kB / 0.7035 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.1781, allocations: 4.312 kB / 0.7035 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.1782, allocations: 26.27 kB / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1782, allocations: 3.938 kB / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1782, allocations: 0 / 0.7035 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1782, allocations: 4 kB / 0.7035 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.1782, allocations: 0 / 0.7035 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1783, allocations: 120.8 kB / 0.7036 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.1784, allocations: 22.55 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.1784, allocations: 8.859 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.1785, allocations: 4.062 kB / 0.7037 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1785, allocations: 30.56 kB / 0.7037 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1785, allocations: 0 / 0.7037 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000144/0.1786, allocations: 45.59 kB / 0.7037 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.1787, allocations: 55.34 kB / 0.7038 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.1787, allocations: 93.84 kB / 0.7039 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1787, allocations: 25.7 kB / 0.7039 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1788, allocations: 80.14 kB / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1788, allocations: 0 / 0.704 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.1788, allocations: 21.78 kB / 0.704 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.179, allocations: 314.8 kB / 0.7043 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.179, allocations: 0 / 0.7043 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.179, allocations: 4 kB / 0.7043 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.179, allocations: 4.859 kB / 0.7043 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.179, allocations: 4 kB / 0.7043 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.659e-05/0.1791, allocations: 33.69 kB / 0.7043 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1791, allocations: 7.938 kB / 0.7044 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1791, allocations: 3.938 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1791, allocations: 4.094 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.1792, allocations: 4 kB / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1792, allocations: 0 / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.1792, allocations: 0 / 0.7044 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1792, allocations: 4 kB / 0.7044 GB, free: 14.85 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 (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.694e-05/0.1793, allocations: 109.8 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-06/0.1793, allocations: 0 / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1794, allocations: 48.62 kB / 0.7045 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1794, allocations: 4.031 kB / 0.7045 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1794, allocations: 0 / 0.7045 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1794, allocations: 0 / 0.7045 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.1795, allocations: 116.8 kB / 0.7046 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1795, allocations: 0 / 0.7046 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.1795, allocations: 8 kB / 0.7046 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1795, allocations: 3.938 kB / 0.7047 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1795, allocations: 7.875 kB / 0.7047 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1795, allocations: 0 / 0.7047 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1795, allocations: 0 / 0.7047 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.778e-05/0.1796, allocations: 61.12 kB / 0.7047 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.1796, allocations: 4 kB / 0.7047 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.1796, allocations: 3.938 kB / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-06/0.1796, allocations: 0 / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.1797, allocations: 4 kB / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.1797, allocations: 0 / 0.7047 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.1797, allocations: 79.28 kB / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1797, allocations: 0 / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001911/0.1799, allocations: 7.938 kB / 0.7048 GB, free: 14.32 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.0004214/0.1803, allocations: 0.6046 MB / 0.7054 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.485e-05/0.1804, allocations: 4 kB / 0.7054 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1804, allocations: 0 / 0.7054 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.1804, allocations: 7.984 kB / 0.7054 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.1805, allocations: 0 / 0.7054 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.1808, allocations: 106.7 kB / 0.7055 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.1809, allocations: 59.22 kB / 0.7056 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.181, allocations: 12.09 kB / 0.7056 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.181, allocations: 7.438 kB / 0.7056 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.181, allocations: 0 / 0.7056 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.2161, allocations: 1.513 MB / 0.7071 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 9.938 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.675659161992371] Failed to read output from testmodel.py, exit status != 0: 11.261017774231732 11.277376157 11.096662345 Calling exit ...