Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00182/0.00182, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002298/0.002298, allocations: 213.2 kB / 22.99 MB, free: 4.605 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9536/0.9536, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.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.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.002099/0.002099, allocations: 63.03 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2113, allocations: 89.18 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001759/0.213, allocations: 0.5773 MB / 0.7288 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.2133, allocations: 27.95 kB / 0.7288 GB, free: 448 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.2133, allocations: 3.938 kB / 0.7288 GB, free: 444 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.2133, allocations: 0 / 0.7288 GB, free: 444 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.2133, allocations: 0 / 0.7288 GB, free: 444 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.2136, allocations: 15.92 kB / 0.7288 GB, free: 428 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.221e-05/0.2137, allocations: 8 kB / 0.7288 GB, free: 420 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.2137, allocations: 0 / 0.7288 GB, free: 420 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.427e-05/0.2137, allocations: 0 / 0.7288 GB, free: 420 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.835e-05/0.2137, allocations: 11.92 kB / 0.7288 GB, free: 408 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2138, allocations: 0 / 0.7288 GB, free: 408 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2139, allocations: 15.98 kB / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.286e-06/0.2139, allocations: 0 / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.2139, allocations: 0 / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.101e-05/0.214, allocations: 11.97 kB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.214, allocations: 0 / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.214, allocations: 0 / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.214, allocations: 0 / 0.7288 GB, free: 380 kB / 0.545 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.0003477/0.2143, allocations: 246.7 kB / 0.7291 GB, free: 100 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2144, allocations: 12.03 kB / 0.7291 GB, free: 88 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.2144, allocations: 30.75 kB / 0.7291 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.2144, allocations: 0.9375 kB / 0.7291 GB, free: 48 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2146, allocations: 106.5 kB / 0.7292 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2146, allocations: 4.375 kB / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2146, allocations: 384 / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2147, allocations: 30.25 kB / 0.7293 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2147, allocations: 3.938 kB / 0.7293 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2147, allocations: 4 kB / 0.7293 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2147, allocations: 8 kB / 0.7293 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.2147, allocations: 0 / 0.7293 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.2149, allocations: 112.8 kB / 0.7294 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.2149, allocations: 22.52 kB / 0.7294 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.2149, allocations: 4.859 kB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.215, allocations: 12 kB / 0.7294 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.215, allocations: 30.56 kB / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.215, allocations: 0 / 0.7294 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.2152, allocations: 41.62 kB / 0.7295 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.2152, allocations: 51.53 kB / 0.7295 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.2153, allocations: 93.86 kB / 0.7296 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2153, allocations: 29.64 kB / 0.7297 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2153, allocations: 80.14 kB / 0.7297 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2153, allocations: 3.953 kB / 0.7297 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.2154, allocations: 17.72 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2155, allocations: 310.8 kB / 0.73 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.2155, allocations: 3.984 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.2155, allocations: 8 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.2156, allocations: 4.859 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2156, allocations: 12 kB / 0.7301 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.505e-05/0.2156, allocations: 29.7 kB / 0.7301 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2156, allocations: 4 kB / 0.7301 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2157, allocations: 3.938 kB / 0.7301 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2157, allocations: 4 kB / 0.7301 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.2157, allocations: 3.938 kB / 0.7301 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2157, allocations: 3.984 kB / 0.7301 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.2157, allocations: 0 / 0.7301 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2158, allocations: 4 kB / 0.7301 GB, free: 14.86 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 (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 7.995e-05/0.2158, allocations: 109.8 kB / 0.7302 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.2159, allocations: 4.031 kB / 0.7302 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.216, allocations: 44.62 kB / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.216, allocations: 0 / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.216, allocations: 0 / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.216, allocations: 0 / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.825e-05/0.2161, allocations: 116.8 kB / 0.7304 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2161, allocations: 4 kB / 0.7304 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.2161, allocations: 0 / 0.7304 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2161, allocations: 4.031 kB / 0.7304 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2161, allocations: 3.938 kB / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2161, allocations: 0 / 0.7304 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.2161, allocations: 11.92 kB / 0.7304 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.242e-05/0.2162, allocations: 57.08 kB / 0.7305 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.2162, allocations: 4 kB / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.2162, allocations: 3.938 kB / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-06/0.2162, allocations: 0 / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.2162, allocations: 3.984 kB / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.2162, allocations: 4 kB / 0.7305 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.2163, allocations: 79.31 kB / 0.7306 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2163, allocations: 0 / 0.7306 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001803/0.2165, allocations: 0 / 0.7306 GB, free: 14.34 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 (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.0004771/0.2169, allocations: 0.5968 MB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.217, allocations: 4 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.217, allocations: 0 / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-06/0.217, allocations: 4 kB / 0.7311 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2172, allocations: 1.25 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2175, allocations: 120.2 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.435e-05/0.2176, allocations: 59.34 kB / 0.7313 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.2176, allocations: 7.938 kB / 0.7313 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.2176, allocations: 15.38 kB / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2176, allocations: 0 / 0.7313 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.2468, allocations: 1.499 MB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.49, allocations: 13.31 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.410736175253987] Failed to read output from testmodel.py, exit status != 0: 11.5894151260145 11.606742728 11.389409116 Calling exit ...