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.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.001247/0.001247, allocations: 108 kB / 16.45 MB, free: 6.035 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.001426/0.001426, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.8318/0.8318, allocations: 134 MB / 436.6 MB, free: 1.27 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.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: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 68.14 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2065, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003767/0.2102, allocations: 1.441 MB / 0.6892 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.2107, allocations: 105 kB / 0.6893 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.2107, allocations: 0 / 0.6893 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.129e-05/0.2108, allocations: 3.938 kB / 0.6893 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.2108, allocations: 0 / 0.6893 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.2111, allocations: 19.92 kB / 0.6893 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.2112, allocations: 23.92 kB / 0.6894 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.2113, allocations: 7.984 kB / 0.6894 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.224e-05/0.2113, allocations: 15.92 kB / 0.6894 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.2114, allocations: 7.984 kB / 0.6894 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.2114, allocations: 8 kB / 0.6894 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2115, allocations: 19.92 kB / 0.6894 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.2115, allocations: 15.92 kB / 0.6894 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.2116, allocations: 7.938 kB / 0.6894 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2117, allocations: 40.09 kB / 0.6895 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2117, allocations: 0 / 0.6895 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2117, allocations: 0 / 0.6895 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2117, allocations: 0 / 0.6895 GB, free: 9.383 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006064/0.2124, allocations: 347.3 kB / 0.6898 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2124, allocations: 16.03 kB / 0.6898 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.2124, allocations: 34.75 kB / 0.6899 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.2125, allocations: 4.891 kB / 0.6899 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.2126, allocations: 164.4 kB / 0.69 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2127, allocations: 4.359 kB / 0.69 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2127, allocations: 384 / 0.69 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.2129, allocations: 46.25 kB / 0.6901 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2129, allocations: 7.922 kB / 0.6901 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2129, allocations: 4 kB / 0.6901 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2129, allocations: 4 kB / 0.6901 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.2132, allocations: 31.97 kB / 0.6901 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.2136, allocations: 256.9 kB / 0.6904 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2138, allocations: 46.48 kB / 0.6904 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2139, allocations: 20.91 kB / 0.6904 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.214, allocations: 4 kB / 0.6904 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.214, allocations: 34.56 kB / 0.6905 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.214, allocations: 0 / 0.6905 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0005237/0.2145, allocations: 89.53 kB / 0.6905 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2146, allocations: 59.53 kB / 0.6906 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2148, allocations: 105.8 kB / 0.6907 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2148, allocations: 25.7 kB / 0.6907 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2149, allocations: 84.14 kB / 0.6908 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2149, allocations: 7.891 kB / 0.6908 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.215, allocations: 21.7 kB / 0.6908 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.2152, allocations: 310.8 kB / 0.6911 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2154, allocations: 27.92 kB / 0.6912 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2155, allocations: 15.97 kB / 0.6912 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.2157, allocations: 44.83 kB / 0.6912 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2157, allocations: 3.938 kB / 0.6912 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002898/0.216, allocations: 69.69 kB / 0.6913 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.216, allocations: 8 kB / 0.6913 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.216, allocations: 4 kB / 0.6913 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.216, allocations: 0 / 0.6913 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2162, allocations: 7.984 kB / 0.6913 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.2162, allocations: 3.938 kB / 0.6913 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.2162, allocations: 8.234 kB / 0.6913 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2162, allocations: 4 kB / 0.6913 GB, free: 7.25 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 (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 0.0001101/0.2163, allocations: 117.8 kB / 0.6914 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.2164, allocations: 4 kB / 0.6914 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.2167, allocations: 81.08 kB / 0.6915 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2167, allocations: 0 / 0.6915 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2167, allocations: 0 / 0.6915 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2167, allocations: 3.984 kB / 0.6915 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.2171, allocations: 169.6 kB / 0.6917 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2171, allocations: 0 / 0.6917 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.2172, allocations: 7.984 kB / 0.6917 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.2172, allocations: 8.031 kB / 0.6917 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2172, allocations: 0 / 0.6917 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2172, allocations: 0 / 0.6917 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2172, allocations: 0 / 0.6917 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.2175, allocations: 167.5 kB / 0.6919 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.2176, allocations: 77.11 kB / 0.6919 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2176, allocations: 7.969 kB / 0.6919 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2178, allocations: 7.984 kB / 0.6919 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2178, allocations: 0 / 0.6919 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2178, allocations: 0 / 0.6919 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.486e-05/0.2179, allocations: 91.27 kB / 0.692 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2179, allocations: 0 / 0.692 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004262/0.2183, allocations: 8 kB / 0.692 GB, free: 6.406 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 (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.0008681/0.2192, allocations: 0.7007 MB / 0.6927 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.2195, allocations: 47.83 kB / 0.6928 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2195, allocations: 96 / 0.6928 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2196, allocations: 23.98 kB / 0.6928 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.22, allocations: 14.27 kB / 0.6928 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.2207, allocations: 147.1 kB / 0.6929 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.2212, allocations: 0.6768 MB / 0.6936 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.2212, allocations: 4 kB / 0.6936 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.2213, allocations: 7.438 kB / 0.6936 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.2213, allocations: 4.062 kB / 0.6936 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.2466, allocations: 1.41 MB / 0.695 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.185, allocations: 10.03 kB / 0.695 GB, free: 3.359 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 11.699738590046763] Failed to read output from testmodel.py, exit status != 0: 8.252538185101002 8.277545276 8.06128555 Calling exit ...