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.001673/0.001673, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002172/0.002172, allocations: 216.5 kB / 22.99 MB, free: 4.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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.091/1.091, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] 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.00211/0.00211, allocations: 69.77 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1971, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.00292/0.2, allocations: 1.445 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.2003, allocations: 87.75 kB / 0.7297 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.2003, allocations: 0 / 0.7297 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.2005, allocations: 7.938 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.2005, allocations: 3.938 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.2008, allocations: 11.98 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.2008, allocations: 23.92 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.2009, allocations: 11.98 kB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.2009, allocations: 4 kB / 0.7297 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.201, allocations: 23.91 kB / 0.7297 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.201, allocations: 0 / 0.7297 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.2011, allocations: 19.98 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.2011, allocations: 3.938 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2011, allocations: 11.94 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.2013, allocations: 36.09 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.2013, allocations: 4 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2013, allocations: 0 / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2013, allocations: 0 / 0.7298 GB, free: 15.3 MB / 0.5606 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.0005841/0.2019, allocations: 266.3 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2019, allocations: 16.03 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.202, allocations: 30.75 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.202, allocations: 4.891 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2021, allocations: 110.5 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.2022, allocations: 4.375 kB / 0.7302 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2022, allocations: 4.375 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.2024, allocations: 54.17 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2024, allocations: 3.938 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2025, allocations: 0 / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2025, allocations: 0 / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.2027, allocations: 39.95 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.2031, allocations: 228 kB / 0.7305 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.2033, allocations: 46.42 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.2034, allocations: 20.91 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.2034, allocations: 8 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2035, allocations: 30.56 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.2035, allocations: 4 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005004/0.204, allocations: 89.59 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.204, allocations: 55.34 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.2042, allocations: 105.8 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2042, allocations: 25.7 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.2043, allocations: 84.14 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2043, allocations: 7.953 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.2043, allocations: 21.83 kB / 0.731 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2045, allocations: 314.8 kB / 0.7313 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.2047, allocations: 19.98 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.2048, allocations: 15.97 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.205, allocations: 44.83 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.205, allocations: 3.938 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002615/0.2053, allocations: 73.66 kB / 0.7315 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.2053, allocations: 9.875 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2053, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2053, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2054, allocations: 7.984 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2054, allocations: 3.984 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.2055, allocations: 4 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2055, allocations: 11.92 kB / 0.7315 GB, free: 13.37 MB / 0.5606 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 0.0001236/0.2056, allocations: 117.8 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.2057, allocations: 7.953 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.206, allocations: 77.22 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.206, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.206, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.206, allocations: 3.938 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2062, allocations: 132.7 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2062, allocations: 4.188 kB / 0.7318 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.2063, allocations: 16.02 kB / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.2063, allocations: 4 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2063, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2063, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2063, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2066, allocations: 167.5 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.2066, allocations: 7.984 kB / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2067, allocations: 0 / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.2067, allocations: 4.031 kB / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.2068, allocations: 7.984 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.2068, allocations: 0 / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.2068, allocations: 87.28 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2068, allocations: 0 / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002226/0.2071, allocations: 4 kB / 0.7321 GB, free: 12.66 MB / 0.5606 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.0006461/0.2077, allocations: 0.7084 MB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.2079, allocations: 40 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2079, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.208, allocations: 27.91 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.2083, allocations: 4 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.2087, allocations: 139.1 kB / 0.733 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.2088, allocations: 67.34 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.2088, allocations: 8.109 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.2088, allocations: 11.44 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.2088, allocations: 0 / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2394, allocations: 1.942 MB / 0.735 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.45, allocations: 2.828 kB / 0.735 GB, free: 9.773 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.663514158222824] Failed to read output from testmodel.py, exit status != 0: 11.563353038392961 11.58580263 11.381357206 Calling exit ...