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.001271/0.001271, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001476/0.001476, allocations: 217 kB / 22.25 MB, free: 4.855 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.797 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.002526/0.002526, allocations: 299.3 kB / 312.7 MB, free: 2.609 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.191/1.191, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.002905/0.002905, allocations: 110.9 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1811, allocations: 95.38 MB / 0.8327 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.002094/0.1832, allocations: 0.596 MB / 0.8333 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.1835, allocations: 31.89 kB / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.1835, allocations: 0 / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.1835, allocations: 0 / 0.8333 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.1835, allocations: 4 kB / 0.8333 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1838, allocations: 11.92 kB / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.531e-05/0.1839, allocations: 0 / 0.8333 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1839, allocations: 4.406 kB / 0.8333 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.1839, allocations: 4 kB / 0.8333 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.845e-05/0.184, allocations: 0 / 0.8333 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.184, allocations: 3.938 kB / 0.8333 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1841, allocations: 27.91 kB / 0.8334 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.1841, allocations: 0 / 0.8334 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.1841, allocations: 0 / 0.8334 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1842, allocations: 15.97 kB / 0.8334 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1842, allocations: 0 / 0.8334 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1842, allocations: 0 / 0.8334 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1842, allocations: 0 / 0.8334 GB, free: 7.582 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.0003768/0.1846, allocations: 250.6 kB / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1846, allocations: 9.938 kB / 0.8336 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.1847, allocations: 30.75 kB / 0.8336 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1847, allocations: 0.9375 kB / 0.8336 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1848, allocations: 110.5 kB / 0.8338 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1849, allocations: 8.375 kB / 0.8338 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1849, allocations: 384 / 0.8338 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.751e-05/0.185, allocations: 34.25 kB / 0.8338 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.185, allocations: 3.938 kB / 0.8338 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.185, allocations: 4 kB / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.185, allocations: 0 / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.185, allocations: 0 / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.1851, allocations: 120.8 kB / 0.8339 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.1852, allocations: 22.5 kB / 0.8339 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/0.1852, allocations: 8.859 kB / 0.8339 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.1853, allocations: 8.078 kB / 0.834 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.1853, allocations: 30.56 kB / 0.834 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1853, allocations: 0 / 0.834 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.1854, allocations: 41.64 kB / 0.834 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1855, allocations: 51.41 kB / 0.8341 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.1855, allocations: 93.8 kB / 0.8342 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1856, allocations: 25.7 kB / 0.8342 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.1856, allocations: 84.08 kB / 0.8343 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1856, allocations: 128 / 0.8343 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.1857, allocations: 17.72 kB / 0.8343 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1858, allocations: 318.8 kB / 0.8346 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.1858, allocations: 0 / 0.8346 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.1858, allocations: 4 kB / 0.8346 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.1858, allocations: 8.859 kB / 0.8346 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1858, allocations: 0 / 0.8346 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.996e-05/0.1859, allocations: 29.7 kB / 0.8346 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1859, allocations: 4 kB / 0.8346 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1859, allocations: 3.938 kB / 0.8346 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1859, allocations: 8.094 kB / 0.8346 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.186, allocations: 11.86 kB / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.186, allocations: 0 / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.186, allocations: 0 / 0.8347 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.186, allocations: 4 kB / 0.8347 GB, free: 6.066 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 8.735e-05/0.1861, allocations: 110.5 kB / 0.8348 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-06/0.1861, allocations: 0 / 0.8348 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1862, allocations: 48.62 kB / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1862, allocations: 0 / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1862, allocations: 0 / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1862, allocations: 0 / 0.8348 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.947e-05/0.1863, allocations: 120.8 kB / 0.8349 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1863, allocations: 0 / 0.8349 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.1863, allocations: 0 / 0.8349 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1863, allocations: 3.984 kB / 0.8349 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1864, allocations: 3.938 kB / 0.8349 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1864, allocations: 4 kB / 0.8349 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1864, allocations: 3.938 kB / 0.8349 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.227e-05/0.1864, allocations: 53.17 kB / 0.835 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-06/0.1864, allocations: 4 kB / 0.835 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1864, allocations: 11.92 kB / 0.835 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.1865, allocations: 0 / 0.835 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1865, allocations: 4 kB / 0.835 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1865, allocations: 7.938 kB / 0.835 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.1865, allocations: 75.28 kB / 0.8351 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1865, allocations: 0 / 0.8351 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002007/0.1867, allocations: 7.938 kB / 0.8351 GB, free: 5.539 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.0005507/0.1873, allocations: 0.6007 MB / 0.8357 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.1874, allocations: 4 kB / 0.8357 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1874, allocations: 0 / 0.8357 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.1874, allocations: 4 kB / 0.8357 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.1876, allocations: 0 / 0.8357 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.1879, allocations: 110.7 kB / 0.8358 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.415e-05/0.188, allocations: 55.36 kB / 0.8358 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.188, allocations: 4.156 kB / 0.8359 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.188, allocations: 15.38 kB / 0.8359 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.188, allocations: 0 / 0.8359 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.2182, allocations: 1.529 MB / 0.8374 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.87, allocations: 12.75 kB / 0.8374 GB, free: 3.25 MB / 0.5762 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.951872475910932] Failed to read output from testmodel.py, exit status != 0: 10.972425804939121 10.990576649 10.801248634 Calling exit ...