Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00153/0.00153, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001699/0.001699, allocations: 217.2 kB / 23.01 MB, free: 5.125 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002433/0.002433, allocations: 291.2 kB / 313.5 MB, free: 2.793 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.144/1.144, allocations: 180.6 MB / 0.5377 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002848/0.002848, allocations: 98.95 kB / 0.7408 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1887, allocations: 95.39 MB / 0.834 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001868/0.1906, allocations: 0.5883 MB / 0.8346 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002208/0.1908, allocations: 35.88 kB / 0.8346 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.1908, allocations: 0 / 0.8346 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.109e-05/0.1908, allocations: 4 kB / 0.8346 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.1908, allocations: 0 / 0.8346 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1911, allocations: 19.92 kB / 0.8346 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.739e-05/0.1912, allocations: 0 / 0.8346 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.1912, allocations: 7.984 kB / 0.8346 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.327e-05/0.1912, allocations: 3.938 kB / 0.8346 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.347e-05/0.1912, allocations: 0 / 0.8346 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-06/0.1912, allocations: 0 / 0.8346 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.1913, allocations: 23.97 kB / 0.8347 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.143e-06/0.1913, allocations: 0 / 0.8347 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.1914, allocations: 0 / 0.8347 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.325e-05/0.1914, allocations: 15.98 kB / 0.8347 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1914, allocations: 3.938 kB / 0.8347 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1914, allocations: 0 / 0.8347 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1915, allocations: 3.984 kB / 0.8347 GB, free: 7.355 MB / 0.5762 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.0002997/0.1918, allocations: 238.8 kB / 0.8349 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1918, allocations: 13.34 kB / 0.8349 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1918, allocations: 0.9375 kB / 0.8349 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.1919, allocations: 102.5 kB / 0.835 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1919, allocations: 384 / 0.835 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1919, allocations: 4.375 kB / 0.835 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.723e-05/0.192, allocations: 34.25 kB / 0.8351 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.192, allocations: 4.125 kB / 0.8351 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.192, allocations: 3.938 kB / 0.8351 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.192, allocations: 0 / 0.8351 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.192, allocations: 4 kB / 0.8351 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1922, allocations: 120.8 kB / 0.8352 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.019e-05/0.1922, allocations: 26.48 kB / 0.8352 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.1922, allocations: 12.84 kB / 0.8352 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1923, allocations: 3.984 kB / 0.8352 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1923, allocations: 38.62 kB / 0.8353 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1923, allocations: 0 / 0.8353 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.1924, allocations: 37.58 kB / 0.8353 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1925, allocations: 51.41 kB / 0.8354 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.1925, allocations: 89.86 kB / 0.8354 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1925, allocations: 29.83 kB / 0.8355 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.1926, allocations: 80.14 kB / 0.8355 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1926, allocations: 4 kB / 0.8356 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1926, allocations: 13.7 kB / 0.8356 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1928, allocations: 314.8 kB / 0.8359 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.1928, allocations: 0 / 0.8359 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.1928, allocations: 4 kB / 0.8359 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.1928, allocations: 8.922 kB / 0.8359 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1928, allocations: 4 kB / 0.8359 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.653e-05/0.1929, allocations: 33.64 kB / 0.8359 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1929, allocations: 7.984 kB / 0.8359 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1929, allocations: 0 / 0.8359 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1929, allocations: 7.938 kB / 0.8359 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.193, allocations: 0 / 0.8359 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.193, allocations: 0 / 0.8359 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.193, allocations: 4 kB / 0.8359 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.193, allocations: 7.984 kB / 0.8359 GB, free: 5.891 MB / 0.5762 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.597e-05/0.1931, allocations: 114.5 kB / 0.836 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.1931, allocations: 0 / 0.836 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-05/0.1932, allocations: 44.62 kB / 0.8361 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1932, allocations: 0 / 0.8361 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1932, allocations: 0 / 0.8361 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1932, allocations: 0 / 0.8361 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1933, allocations: 116.8 kB / 0.8362 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1933, allocations: 11.95 kB / 0.8362 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.1933, allocations: 4 kB / 0.8362 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1933, allocations: 0 / 0.8362 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1933, allocations: 3.938 kB / 0.8362 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1933, allocations: 3.938 kB / 0.8362 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1933, allocations: 3.938 kB / 0.8362 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.825e-05/0.1934, allocations: 53.14 kB / 0.8363 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.1934, allocations: 8.016 kB / 0.8363 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1934, allocations: 11.94 kB / 0.8363 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.1934, allocations: 0 / 0.8363 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-06/0.1934, allocations: 0 / 0.8363 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1934, allocations: 0 / 0.8363 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.1935, allocations: 75.28 kB / 0.8364 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.1935, allocations: 0 / 0.8364 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001913/0.1937, allocations: 7.938 kB / 0.8364 GB, free: 5.363 MB / 0.5762 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.0001391/0.1938, allocations: 99.25 kB / 0.8365 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.1939, allocations: 15.92 kB / 0.8365 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1939, allocations: 0 / 0.8365 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.1939, allocations: 0 / 0.8365 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.194, allocations: 4.688 kB / 0.8365 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.1942, allocations: 102.7 kB / 0.8366 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.1945, allocations: 0.6768 MB / 0.8373 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1946, allocations: 11.56 kB / 0.8373 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of SimCode: time 5.52e-07/0.1946, allocations: 0 / 0.8373 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.002004/0.1966, allocations: 449.3 kB / 0.8377 GB, free: 3.949 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.120942132081836] Failed to read output from testmodel.py, exit status != 0: 0.2039401470683515 0.219089002 0.024677616000000003 Calling exit ...