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.001653/0.001653, 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.001734/0.001734, allocations: 210.8 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.53/1.53, 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.041/1.041, allocations: 149.9 MB / 463 MB, free: 10.38 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.002215/0.002215, allocations: 64.16 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2052, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002255/0.2075, allocations: 0.5914 MB / 0.7288 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002566/0.2077, allocations: 19.97 kB / 0.7288 GB, free: 416 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.2078, allocations: 0 / 0.7288 GB, free: 416 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.2078, allocations: 0 / 0.7288 GB, free: 416 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.2078, allocations: 0 / 0.7288 GB, free: 416 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.2081, allocations: 19.92 kB / 0.7288 GB, free: 396 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.021e-05/0.2081, allocations: 7.984 kB / 0.7288 GB, free: 388 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.2082, allocations: 4 kB / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.2082, allocations: 0 / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.2082, allocations: 4 kB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2083, allocations: 0 / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.2083, allocations: 23.91 kB / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.2084, allocations: 0 / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.2084, allocations: 0 / 0.7288 GB, free: 356 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.175e-05/0.2085, allocations: 7.984 kB / 0.7289 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.2085, allocations: 0 / 0.7289 GB, free: 348 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2085, allocations: 0 / 0.7289 GB, free: 348 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2085, allocations: 0 / 0.7289 GB, free: 348 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.0003139/0.2088, allocations: 242.7 kB / 0.7291 GB, free: 72 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2088, allocations: 12.03 kB / 0.7291 GB, free: 60 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.2089, allocations: 34.73 kB / 0.7291 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.169e-05/0.2089, allocations: 0.9375 kB / 0.7291 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.209, allocations: 102.5 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.209, allocations: 384 / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.209, allocations: 4.375 kB / 0.7292 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.402e-05/0.2091, allocations: 30.2 kB / 0.7293 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2091, allocations: 3.938 kB / 0.7293 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.2091, allocations: 0 / 0.7293 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2091, allocations: 0 / 0.7293 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.2092, allocations: 8 kB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2093, allocations: 120.8 kB / 0.7294 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.2094, allocations: 18.61 kB / 0.7294 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.2094, allocations: 12.8 kB / 0.7294 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.2094, allocations: 4.062 kB / 0.7294 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2095, allocations: 30.56 kB / 0.7295 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2095, allocations: 0 / 0.7295 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.2096, allocations: 41.62 kB / 0.7295 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.2097, allocations: 59.34 kB / 0.7295 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.2097, allocations: 97.92 kB / 0.7296 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2097, allocations: 25.7 kB / 0.7297 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.2098, allocations: 80.14 kB / 0.7297 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.2098, allocations: 7.938 kB / 0.7298 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.2098, allocations: 13.72 kB / 0.7298 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.21, allocations: 310.8 kB / 0.7301 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.21, allocations: 0 / 0.7301 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-06/0.21, allocations: 7.938 kB / 0.7301 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.2101, allocations: 8.859 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2101, allocations: 0 / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.51e-05/0.2101, allocations: 41.75 kB / 0.7301 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2101, allocations: 4 kB / 0.7301 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2101, allocations: 3.938 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2102, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.2102, allocations: 4 kB / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2102, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.2102, allocations: 0 / 0.7301 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2103, allocations: 0 / 0.7301 GB, free: 14.84 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 9.386e-05/0.2104, allocations: 113.8 kB / 0.7302 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.2104, allocations: 3.984 kB / 0.7302 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.2105, allocations: 48.67 kB / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2105, allocations: 0 / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2105, allocations: 0 / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2105, allocations: 0 / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.2106, allocations: 116.8 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2106, allocations: 3.984 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.2106, allocations: 4 kB / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2106, allocations: 0 / 0.7304 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.2106, allocations: 7.969 kB / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2106, allocations: 0 / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2106, allocations: 0 / 0.7304 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.872e-05/0.2107, allocations: 65.06 kB / 0.7305 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.2107, allocations: 4 kB / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2108, allocations: 3.938 kB / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.2108, allocations: 0 / 0.7305 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.2108, allocations: 4 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2108, allocations: 3.938 kB / 0.7305 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.2108, allocations: 79.28 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2108, allocations: 4.031 kB / 0.7306 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001937/0.211, allocations: 0 / 0.7306 GB, free: 14.31 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.0004758/0.2115, allocations: 0.6045 MB / 0.7312 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.751e-05/0.2116, allocations: 7.984 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2116, allocations: 0 / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.2116, allocations: 4 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.2117, allocations: 1.406 kB / 0.7312 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.2121, allocations: 110.7 kB / 0.7313 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.42e-05/0.2121, allocations: 63.34 kB / 0.7313 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.2122, allocations: 0 / 0.7313 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.2122, allocations: 7.438 kB / 0.7313 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2122, allocations: 0 / 0.7313 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.2413, allocations: 1.504 MB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.42, allocations: 10.62 kB / 0.7328 GB, free: 12.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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.312878326978534] Failed to read output from testmodel.py, exit status != 0: 11.528993853833526 11.559322053 11.345237353 Calling exit ...