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.001901/0.001901, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.002387/0.002387, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9732/0.9732, allocations: 150 MB / 459.5 MB, free: 5.27 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.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.00208/0.00208, allocations: 76.16 kB / 0.6362 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1905, allocations: 89.13 MB / 0.7232 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001961/0.1924, allocations: 0.5853 MB / 0.7238 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.1927, allocations: 27.89 kB / 0.7238 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.318e-05/0.1927, allocations: 0 / 0.7238 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1927, allocations: 0 / 0.7238 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.1927, allocations: 0 / 0.7238 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.193, allocations: 15.98 kB / 0.7238 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.193, allocations: 7.984 kB / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.1931, allocations: 0 / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.1931, allocations: 0 / 0.7238 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.1931, allocations: 4 kB / 0.7238 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1931, allocations: 0 / 0.7238 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.1932, allocations: 15.98 kB / 0.7238 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.1932, allocations: 0 / 0.7238 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.1933, allocations: 0 / 0.7238 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.1933, allocations: 11.97 kB / 0.7239 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1933, allocations: 0 / 0.7239 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1933, allocations: 0 / 0.7239 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1934, allocations: 3.938 kB / 0.7239 GB, free: 3.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003814/0.1937, allocations: 315.8 kB / 0.7242 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1938, allocations: 16.06 kB / 0.7242 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1938, allocations: 34.69 kB / 0.7242 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.1938, allocations: 0.9375 kB / 0.7242 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.194, allocations: 164.4 kB / 0.7244 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.194, allocations: 384 / 0.7244 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-06/0.194, allocations: 384 / 0.7244 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/0.1941, allocations: 30.27 kB / 0.7244 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1941, allocations: 3.938 kB / 0.7244 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.1941, allocations: 0 / 0.7244 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1941, allocations: 3.938 kB / 0.7244 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.1941, allocations: 8 kB / 0.7244 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.1943, allocations: 149.7 kB / 0.7246 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/0.1944, allocations: 18.52 kB / 0.7246 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.1944, allocations: 8.953 kB / 0.7246 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.1944, allocations: 0 / 0.7246 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1944, allocations: 30.56 kB / 0.7246 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1944, allocations: 0 / 0.7246 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.1946, allocations: 41.64 kB / 0.7247 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1946, allocations: 63.33 kB / 0.7247 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.1947, allocations: 89.86 kB / 0.7248 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1947, allocations: 25.7 kB / 0.7248 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.1947, allocations: 80.14 kB / 0.7249 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1948, allocations: 3.953 kB / 0.7249 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1948, allocations: 13.72 kB / 0.7249 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.195, allocations: 315.4 kB / 0.7252 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.195, allocations: 0 / 0.7252 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.195, allocations: 4 kB / 0.7252 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.195, allocations: 12.86 kB / 0.7252 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.195, allocations: 0 / 0.7252 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.407e-05/0.1951, allocations: 37.69 kB / 0.7253 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1951, allocations: 7.938 kB / 0.7253 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1951, allocations: 3.938 kB / 0.7253 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1951, allocations: 96 / 0.7253 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.1952, allocations: 11.94 kB / 0.7253 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1952, allocations: 0 / 0.7253 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.1952, allocations: 0 / 0.7253 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1952, allocations: 4 kB / 0.7253 GB, free: 1.617 MB / 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 (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.304e-05/0.1953, allocations: 105.8 kB / 0.7254 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.1953, allocations: 0 / 0.7254 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.1954, allocations: 52.75 kB / 0.7254 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1954, allocations: 0 / 0.7254 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1954, allocations: 0 / 0.7254 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1954, allocations: 0 / 0.7254 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1956, allocations: 145.7 kB / 0.7256 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1956, allocations: 0 / 0.7256 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.1956, allocations: 4 kB / 0.7256 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1956, allocations: 7.922 kB / 0.7256 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1956, allocations: 3.938 kB / 0.7256 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1956, allocations: 0 / 0.7256 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1956, allocations: 0 / 0.7256 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.278e-05/0.1957, allocations: 65.16 kB / 0.7257 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1957, allocations: 81.05 kB / 0.7257 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1957, allocations: 3.938 kB / 0.7257 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.1958, allocations: 0 / 0.7257 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.1958, allocations: 0 / 0.7257 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1958, allocations: 4 kB / 0.7257 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.1958, allocations: 79.31 kB / 0.7258 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1958, allocations: 0 / 0.7258 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001965/0.196, allocations: 4 kB / 0.7258 GB, free: 0.9727 MB / 0.5294 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.0004927/0.1965, allocations: 0.6007 MB / 0.7264 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.1966, allocations: 12.02 kB / 0.7264 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1966, allocations: 0 / 0.7264 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-05/0.1966, allocations: 8 kB / 0.7264 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1967, allocations: 1.406 kB / 0.7264 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.1971, allocations: 110.5 kB / 0.7265 GB, free: 176 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.1975, allocations: 0.6729 MB / 0.7272 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.1976, allocations: 8.125 kB / 0.7272 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.1976, allocations: 15.38 kB / 0.7272 GB, free: 15.45 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1976, allocations: 0 / 0.7272 GB, free: 15.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2251, allocations: 0.9971 MB / 0.7282 GB, free: 14.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.348, allocations: 10.22 kB / 0.7282 GB, free: 14.55 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.367621268844232] Failed to read output from testmodel.py, exit status != 0: 8.415273354854435 8.4365313 8.239242677 Calling exit ...