Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001603/0.001603, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.002106/0.002106, allocations: 204 kB / 20.09 MB, free: 2.977 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.603/1.603, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9839/0.9839, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002141/0.002141, allocations: 69.92 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1769, allocations: 89.13 MB / 0.7232 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002947/0.1799, allocations: 1.45 MB / 0.7246 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.1802, allocations: 92.16 kB / 0.7247 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.1803, allocations: 4 kB / 0.7247 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.522e-05/0.1804, allocations: 0 / 0.7247 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.1804, allocations: 3.938 kB / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1807, allocations: 11.98 kB / 0.7247 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.1808, allocations: 27.92 kB / 0.7247 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.1809, allocations: 7.984 kB / 0.7247 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.1809, allocations: 11.94 kB / 0.7247 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.181, allocations: 19.91 kB / 0.7248 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.181, allocations: 4 kB / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.96e-05/0.1811, allocations: 7.984 kB / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1811, allocations: 12 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.1811, allocations: 7.938 kB / 0.7248 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1813, allocations: 36.11 kB / 0.7248 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1813, allocations: 7.922 kB / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1813, allocations: 0 / 0.7248 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1813, allocations: 0 / 0.7248 GB, free: 2.34 MB / 0.5294 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.0005678/0.1819, allocations: 345.3 kB / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001779/0.182, allocations: 8.031 kB / 0.7252 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.462e-05/0.1821, allocations: 34.75 kB / 0.7252 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1821, allocations: 12.89 kB / 0.7252 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1823, allocations: 160.4 kB / 0.7254 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1823, allocations: 384 / 0.7254 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1823, allocations: 4.375 kB / 0.7254 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1825, allocations: 50.23 kB / 0.7254 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1825, allocations: 3.938 kB / 0.7254 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1825, allocations: 0 / 0.7254 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1825, allocations: 0 / 0.7254 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.1827, allocations: 43.89 kB / 0.7255 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1831, allocations: 253 kB / 0.7257 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1832, allocations: 42.5 kB / 0.7257 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.1833, allocations: 24.89 kB / 0.7258 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.1834, allocations: 4 kB / 0.7258 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1834, allocations: 42.55 kB / 0.7258 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1834, allocations: 0 / 0.7258 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003828/0.1838, allocations: 85.53 kB / 0.7259 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1838, allocations: 55.41 kB / 0.7259 GB, free: 1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1839, allocations: 118 kB / 0.7261 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1839, allocations: 29.64 kB / 0.7261 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.184, allocations: 85.97 kB / 0.7262 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.184, allocations: 3.953 kB / 0.7262 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1841, allocations: 17.72 kB / 0.7262 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1842, allocations: 314.8 kB / 0.7265 GB, free: 420 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.1843, allocations: 19.98 kB / 0.7265 GB, free: 400 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.865e-05/0.1844, allocations: 19.98 kB / 0.7265 GB, free: 380 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1846, allocations: 44.75 kB / 0.7266 GB, free: 332 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1846, allocations: 3.938 kB / 0.7266 GB, free: 328 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002101/0.1848, allocations: 73.66 kB / 0.7266 GB, free: 248 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1848, allocations: 6.031 kB / 0.7266 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1848, allocations: 4.094 kB / 0.7266 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1848, allocations: 0 / 0.7266 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.1849, allocations: 11.98 kB / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1849, allocations: 0 / 0.7267 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.185, allocations: 4 kB / 0.7267 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.185, allocations: 0 / 0.7267 GB, free: 224 kB / 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 (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.046e-05/0.185, allocations: 117.7 kB / 0.7268 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1851, allocations: 11.95 kB / 0.7268 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1853, allocations: 77.17 kB / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1853, allocations: 0 / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1853, allocations: 0 / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1853, allocations: 0 / 0.7269 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1855, allocations: 169.5 kB / 0.727 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1855, allocations: 0 / 0.727 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.1856, allocations: 11.98 kB / 0.727 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1856, allocations: 0 / 0.727 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1856, allocations: 0 / 0.727 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1856, allocations: 4.031 kB / 0.727 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1856, allocations: 0 / 0.727 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1859, allocations: 171.4 kB / 0.7272 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.186, allocations: 77.11 kB / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.186, allocations: 0 / 0.7273 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.1861, allocations: 12.27 kB / 0.7273 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.1861, allocations: 4 kB / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1861, allocations: 4 kB / 0.7273 GB, free: 15.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.1862, allocations: 91.2 kB / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1862, allocations: 0 / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002358/0.1864, allocations: 11.95 kB / 0.7274 GB, free: 15.37 MB / 0.545 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.001132/0.1876, allocations: 0.6968 MB / 0.7281 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.1879, allocations: 43.89 kB / 0.7281 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.188, allocations: 3.938 kB / 0.7281 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.188, allocations: 20.08 kB / 0.7281 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1884, allocations: 4.062 kB / 0.7281 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1891, allocations: 147.1 kB / 0.7283 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.1897, allocations: 0.6768 MB / 0.7289 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.1897, allocations: 0 / 0.7289 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1897, allocations: 11.44 kB / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.1897, allocations: 0 / 0.729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.2161, allocations: 1.42 MB / 0.7303 GB, free: 12.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.149, allocations: 0.875 kB / 0.7303 GB, free: 12.34 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.226474828785285] Failed to read output from testmodel.py, exit status != 0: 8.219988490920514 8.246752213 8.060218121 Calling exit ...