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.001303/0.001303, allocations: 119 kB / 19.69 MB, free: 2.199 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.001416/0.001416, allocations: 225.2 kB / 23.01 MB, free: 5.047 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.004/1.004, allocations: 150 MB / 463.2 MB, free: 10.54 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.002401/0.002401, allocations: 77.23 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.183, allocations: 89.17 MB / 0.7284 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001949/0.185, allocations: 0.5836 MB / 0.729 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002554/0.1852, allocations: 23.95 kB / 0.729 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.1852, allocations: 3.938 kB / 0.729 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1852, allocations: 3.938 kB / 0.729 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.1853, allocations: 3.938 kB / 0.729 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1856, allocations: 15.98 kB / 0.729 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.548e-05/0.1856, allocations: 4 kB / 0.729 GB, free: 0.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1857, allocations: 4 kB / 0.729 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.1857, allocations: 3.984 kB / 0.729 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.36e-05/0.1857, allocations: 0 / 0.729 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.1857, allocations: 0 / 0.729 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.1858, allocations: 19.97 kB / 0.729 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.1858, allocations: 0 / 0.729 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.607e-05/0.1858, allocations: 0 / 0.729 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.569e-05/0.1859, allocations: 11.98 kB / 0.729 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1859, allocations: 3.984 kB / 0.7291 GB, free: 0.625 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1859, allocations: 0 / 0.7291 GB, free: 0.625 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1859, allocations: 4 kB / 0.7291 GB, free: 0.6211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003398/0.1863, allocations: 238.7 kB / 0.7293 GB, free: 364 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1863, allocations: 8.031 kB / 0.7293 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1863, allocations: 30.75 kB / 0.7293 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1864, allocations: 4.938 kB / 0.7293 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.1865, allocations: 110.5 kB / 0.7294 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1865, allocations: 384 / 0.7294 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1865, allocations: 4.312 kB / 0.7294 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1866, allocations: 38.25 kB / 0.7295 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1866, allocations: 3.938 kB / 0.7295 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.1866, allocations: 0 / 0.7295 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1866, allocations: 0 / 0.7295 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.1867, allocations: 4 kB / 0.7295 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.1868, allocations: 116.8 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.04e-05/0.1869, allocations: 22.5 kB / 0.7296 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.1869, allocations: 8.953 kB / 0.7296 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1869, allocations: 4 kB / 0.7296 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1869, allocations: 34.56 kB / 0.7297 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1869, allocations: 0 / 0.7297 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.1871, allocations: 37.64 kB / 0.7297 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1871, allocations: 51.41 kB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.1872, allocations: 89.86 kB / 0.7298 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1872, allocations: 25.7 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.1872, allocations: 80.27 kB / 0.7299 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1873, allocations: 15.88 kB / 0.7299 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1873, allocations: 17.72 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1875, allocations: 310.8 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-06/0.1875, allocations: 3.938 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.1875, allocations: 0 / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.1875, allocations: 8.859 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1875, allocations: 0 / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.185e-05/0.1876, allocations: 41.75 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1876, allocations: 6.5 kB / 0.7303 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1876, allocations: 3.938 kB / 0.7303 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1876, allocations: 0 / 0.7303 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.1877, allocations: 4 kB / 0.7303 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1877, allocations: 3.938 kB / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.1877, allocations: 0 / 0.7303 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1877, allocations: 4 kB / 0.7303 GB, free: 15.12 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.247e-05/0.1878, allocations: 113.8 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.1878, allocations: 4.031 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1879, allocations: 40.62 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1879, allocations: 0 / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1879, allocations: 7.938 kB / 0.7305 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1879, allocations: 0 / 0.7305 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.188, allocations: 120.8 kB / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.188, allocations: 0 / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.188, allocations: 8.031 kB / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.188, allocations: 0 / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.188, allocations: 3.938 kB / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.188, allocations: 0 / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.188, allocations: 0 / 0.7306 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.76e-05/0.1881, allocations: 61.06 kB / 0.7307 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.1881, allocations: 4 kB / 0.7307 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1881, allocations: 3.938 kB / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.1881, allocations: 4.031 kB / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.1882, allocations: 4 kB / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1882, allocations: 0 / 0.7307 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.1882, allocations: 75.28 kB / 0.7308 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1882, allocations: 0 / 0.7308 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000191/0.1884, allocations: 4 kB / 0.7308 GB, free: 14.6 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.0004389/0.1888, allocations: 0.6006 MB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.965e-05/0.1889, allocations: 4 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1889, allocations: 0 / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.1889, allocations: 7.984 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.189, allocations: 0 / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.1893, allocations: 114.5 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1896, allocations: 0.673 MB / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.1897, allocations: 4 kB / 0.7321 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1897, allocations: 11.42 kB / 0.7321 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1897, allocations: 3.938 kB / 0.7321 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.2171, allocations: 1.103 MB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.46, allocations: 12.28 kB / 0.7332 GB, free: 12.11 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.332719614030793] Failed to read output from testmodel.py, exit status != 0: 11.571691489778459 11.602985818 11.411643318 Calling exit ...