Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001623/0.001623, 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.001482/0.001482, allocations: 208 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.486/1.486, 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/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.002448/0.002448, allocations: 278.2 kB / 312.7 MB, free: 2.68 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.289/1.289, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [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.002962/0.002962, allocations: 101.7 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1818, allocations: 95.39 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.00288/0.1847, allocations: 1.46 MB / 0.8341 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003494/0.185, allocations: 92.58 kB / 0.8342 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.1851, allocations: 4 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.453e-05/0.1851, allocations: 7.938 kB / 0.8342 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.1852, allocations: 3.938 kB / 0.8342 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1854, allocations: 11.98 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.1855, allocations: 27.92 kB / 0.8342 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.1856, allocations: 0 / 0.8342 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.396e-05/0.1856, allocations: 15.92 kB / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.1857, allocations: 4 kB / 0.8342 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1857, allocations: 4 kB / 0.8342 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.1858, allocations: 19.97 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1858, allocations: 19.91 kB / 0.8343 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.1858, allocations: 11.94 kB / 0.8343 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.186, allocations: 32.17 kB / 0.8343 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.186, allocations: 0 / 0.8343 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/0.186, allocations: 3.938 kB / 0.8343 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.186, allocations: 0 / 0.8343 GB, free: 6.543 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000437/0.1864, allocations: 278.1 kB / 0.8346 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1865, allocations: 9.344 kB / 0.8346 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1865, allocations: 38.75 kB / 0.8346 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.1865, allocations: 4.938 kB / 0.8346 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1866, allocations: 114.5 kB / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1867, allocations: 384 / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.1867, allocations: 384 / 0.8348 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1869, allocations: 58.22 kB / 0.8348 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1869, allocations: 3.938 kB / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1869, allocations: 0 / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1869, allocations: 0 / 0.8348 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.187, allocations: 39.89 kB / 0.8348 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.1874, allocations: 224.1 kB / 0.8351 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1875, allocations: 46.48 kB / 0.8351 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.1876, allocations: 20.91 kB / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1876, allocations: 0 / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1877, allocations: 38.56 kB / 0.8352 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1877, allocations: 0 / 0.8352 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003738/0.188, allocations: 89.58 kB / 0.8352 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.1881, allocations: 55.41 kB / 0.8353 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1882, allocations: 105.8 kB / 0.8354 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1882, allocations: 25.7 kB / 0.8354 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.1883, allocations: 80.14 kB / 0.8355 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1883, allocations: 15.88 kB / 0.8355 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1883, allocations: 17.7 kB / 0.8355 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1885, allocations: 314.8 kB / 0.8358 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.1886, allocations: 15.98 kB / 0.8359 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.1886, allocations: 24.09 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1888, allocations: 44.83 kB / 0.8359 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1888, allocations: 3.938 kB / 0.8359 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.189, allocations: 73.55 kB / 0.836 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.189, allocations: 5.562 kB / 0.836 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.189, allocations: 4.094 kB / 0.836 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.189, allocations: 4 kB / 0.836 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.1891, allocations: 7.984 kB / 0.836 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1891, allocations: 3.938 kB / 0.836 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1892, allocations: 4 kB / 0.836 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.1892, allocations: 3.984 kB / 0.836 GB, free: 4.609 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 (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 9.239e-05/0.1893, allocations: 118.4 kB / 0.8361 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1893, allocations: 0 / 0.8361 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1895, allocations: 85.16 kB / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1895, allocations: 0 / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1895, allocations: 0 / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1895, allocations: 0 / 0.8362 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1897, allocations: 132.7 kB / 0.8363 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1897, allocations: 256 / 0.8363 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.1897, allocations: 15.98 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1897, allocations: 4 kB / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1898, allocations: 0 / 0.8364 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1898, allocations: 4.031 kB / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1898, allocations: 0 / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.19, allocations: 163.5 kB / 0.8365 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.19, allocations: 15.88 kB / 0.8365 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.19, allocations: 4 kB / 0.8365 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.1901, allocations: 0 / 0.8365 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.1901, allocations: 7.984 kB / 0.8365 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1901, allocations: 0 / 0.8365 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.1902, allocations: 83.28 kB / 0.8366 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1902, allocations: 4.031 kB / 0.8366 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002224/0.1904, allocations: 8 kB / 0.8366 GB, free: 3.898 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 (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.0006165/0.191, allocations: 0.7007 MB / 0.8373 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1912, allocations: 39.91 kB / 0.8374 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1912, allocations: 96 / 0.8374 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1913, allocations: 27.97 kB / 0.8374 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1916, allocations: 4.625 kB / 0.8374 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.192, allocations: 152.9 kB / 0.8375 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.1921, allocations: 59.36 kB / 0.8376 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.1921, allocations: 3.984 kB / 0.8376 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.1922, allocations: 11.44 kB / 0.8376 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1922, allocations: 3.938 kB / 0.8376 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.2204, allocations: 1.979 MB / 0.8395 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.44, allocations: 9.953 kB / 0.8396 GB, free: 0.9688 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.863265502732247] Failed to read output from testmodel.py, exit status != 0: 11.546045504044741 11.576710771 11.385447106 Calling exit ...