Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001327/0.001327, 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.001518/0.001518, allocations: 216.8 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9341/0.9341, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002274/0.002274, allocations: 70.75 kB / 0.6331 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1799, allocations: 87.89 MB / 0.7189 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.003177/0.1831, allocations: 1.444 MB / 0.7203 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.1834, allocations: 92.66 kB / 0.7204 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1835, allocations: 4 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.1836, allocations: 3.938 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.1836, allocations: 3.938 kB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1839, allocations: 19.97 kB / 0.7205 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.184, allocations: 23.88 kB / 0.7205 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1841, allocations: 11.92 kB / 0.7205 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.1841, allocations: 8 kB / 0.7205 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.1841, allocations: 15.91 kB / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1841, allocations: 0 / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1843, allocations: 19.97 kB / 0.7205 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1843, allocations: 12 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1843, allocations: 3.938 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1845, allocations: 43.77 kB / 0.7206 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1845, allocations: 0 / 0.7206 GB, free: 13.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1845, allocations: 0 / 0.7206 GB, free: 13.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1845, allocations: 4 kB / 0.7206 GB, free: 13.16 MB / 0.545 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.000527/0.185, allocations: 268.5 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1851, allocations: 8.031 kB / 0.7209 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1851, allocations: 34.75 kB / 0.7209 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.1851, allocations: 8.922 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1853, allocations: 114.5 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1853, allocations: 384 / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1853, allocations: 4.375 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1855, allocations: 54.22 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1855, allocations: 3.938 kB / 0.7211 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1855, allocations: 0 / 0.7211 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1855, allocations: 0 / 0.7211 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1857, allocations: 43.89 kB / 0.7211 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.186, allocations: 224.1 kB / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1862, allocations: 42.5 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.1863, allocations: 16.91 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.1863, allocations: 11.92 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1863, allocations: 34.56 kB / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1863, allocations: 0 / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003549/0.1867, allocations: 89.58 kB / 0.7215 GB, free: 12.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.1867, allocations: 51.41 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1868, allocations: 109.8 kB / 0.7217 GB, free: 11.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1869, allocations: 29.7 kB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1869, allocations: 80.14 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.1869, allocations: 3.953 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.187, allocations: 17.72 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1871, allocations: 314.8 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.1872, allocations: 19.98 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.1873, allocations: 20.11 kB / 0.7221 GB, free: 11.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1874, allocations: 48.75 kB / 0.7222 GB, free: 11.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1874, allocations: 3.938 kB / 0.7222 GB, free: 11.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.1876, allocations: 69.62 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1877, allocations: 11.92 kB / 0.7222 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1877, allocations: 4.344 kB / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1877, allocations: 0 / 0.7223 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.1878, allocations: 12 kB / 0.7223 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1878, allocations: 0 / 0.7223 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1878, allocations: 11.92 kB / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1878, allocations: 0 / 0.7223 GB, free: 11.23 MB / 0.545 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.35e-05/0.1879, allocations: 117.8 kB / 0.7224 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1879, allocations: 0 / 0.7224 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1882, allocations: 81.2 kB / 0.7225 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1882, allocations: 0 / 0.7225 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1882, allocations: 4 kB / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1882, allocations: 0 / 0.7225 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1884, allocations: 128.7 kB / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1884, allocations: 0 / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1884, allocations: 15.98 kB / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1884, allocations: 0 / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1884, allocations: 0 / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1884, allocations: 0 / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1884, allocations: 8.031 kB / 0.7226 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1887, allocations: 171.3 kB / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.1887, allocations: 4 kB / 0.7228 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1887, allocations: 4 kB / 0.7228 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1888, allocations: 7.984 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1889, allocations: 0 / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1889, allocations: 0 / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.1889, allocations: 91.27 kB / 0.7229 GB, free: 10.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1889, allocations: 4.031 kB / 0.7229 GB, free: 10.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002231/0.1891, allocations: 8 kB / 0.7229 GB, free: 10.52 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.0006037/0.1897, allocations: 0.6968 MB / 0.7236 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.19, allocations: 43.89 kB / 0.7236 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.19, allocations: 0 / 0.7236 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/0.1901, allocations: 24.08 kB / 0.7236 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.1903, allocations: 6.031 kB / 0.7236 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.1908, allocations: 154.3 kB / 0.7238 GB, free: 9.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.16e-05/0.1909, allocations: 63.34 kB / 0.7239 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.1909, allocations: 4 kB / 0.7239 GB, free: 9.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1909, allocations: 7.438 kB / 0.7239 GB, free: 9.445 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1909, allocations: 3.938 kB / 0.7239 GB, free: 9.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.2206, allocations: 1.98 MB / 0.7258 GB, free: 7.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.13, allocations: 2.234 kB / 0.7258 GB, free: 7.598 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.039271259214729] Failed to read output from testmodel.py, exit status != 0: 11.232234556693584 11.24725363 11.059656741 Calling exit ...