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.001388/0.001388, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00161/0.00161, allocations: 215.4 kB / 23.78 MB, free: 4.523 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 / 257.5 MB, free: 7.781 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.9604/0.9604, allocations: 150 MB / 464 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",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.002039/0.002039, allocations: 63.44 kB / 0.642 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1882, allocations: 89.18 MB / 0.7291 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002097/0.1903, allocations: 0.5818 MB / 0.7297 GB, free: 168 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000251/0.1906, allocations: 15.97 kB / 0.7297 GB, free: 152 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.1906, allocations: 0 / 0.7297 GB, free: 152 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.1906, allocations: 3.938 kB / 0.7297 GB, free: 148 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-06/0.1906, allocations: 8 kB / 0.7297 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1909, allocations: 8 kB / 0.7297 GB, free: 132 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.191, allocations: 11.97 kB / 0.7297 GB, free: 120 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.191, allocations: 0 / 0.7297 GB, free: 120 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.191, allocations: 4 kB / 0.7297 GB, free: 116 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.582e-05/0.1911, allocations: 0 / 0.7297 GB, free: 116 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1911, allocations: 0 / 0.7297 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.1912, allocations: 15.98 kB / 0.7297 GB, free: 100 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1912, allocations: 7.922 kB / 0.7297 GB, free: 92 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.1912, allocations: 0 / 0.7297 GB, free: 92 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.1913, allocations: 15.92 kB / 0.7297 GB, free: 76 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1913, allocations: 0 / 0.7297 GB, free: 76 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1913, allocations: 4 kB / 0.7297 GB, free: 72 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.1913, allocations: 0 / 0.7297 GB, free: 72 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.0003891/0.1917, allocations: 234.7 kB / 0.73 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1918, allocations: 8.031 kB / 0.73 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.084e-05/0.1918, allocations: 4.188 kB / 0.73 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.1918, allocations: 34.73 kB / 0.73 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1919, allocations: 4.938 kB / 0.73 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.733e-05/0.1919, allocations: 106.5 kB / 0.7301 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.192, allocations: 384 / 0.7301 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.192, allocations: 4.375 kB / 0.7301 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1921, allocations: 38.02 kB / 0.7302 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1921, allocations: 0 / 0.7302 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1921, allocations: 0 / 0.7302 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.1921, allocations: 0 / 0.7302 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.1921, allocations: 4 kB / 0.7302 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1923, allocations: 120.8 kB / 0.7303 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7e-05/0.1924, allocations: 22.55 kB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.1924, allocations: 4.859 kB / 0.7303 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.1925, allocations: 0 / 0.7303 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.1925, allocations: 42.56 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.1925, allocations: 0 / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001787/0.1927, allocations: 33.7 kB / 0.7304 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1927, allocations: 55.39 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.1928, allocations: 93.8 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1928, allocations: 29.64 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.1928, allocations: 84.14 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1929, allocations: 3.953 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1929, allocations: 9.719 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1931, allocations: 314.8 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.1931, allocations: 4.125 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.1931, allocations: 4 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.1931, allocations: 8.859 kB / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1931, allocations: 0 / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.124e-05/0.1932, allocations: 33.69 kB / 0.731 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1932, allocations: 11.94 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1932, allocations: 0 / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1933, allocations: 0 / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.1933, allocations: 7.938 kB / 0.731 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1933, allocations: 4.094 kB / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.1933, allocations: 0 / 0.731 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.1934, allocations: 3.938 kB / 0.731 GB, free: 14.57 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.209e-05/0.1934, allocations: 105.8 kB / 0.7311 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1935, allocations: 11.92 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.1936, allocations: 36.7 kB / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1936, allocations: 0 / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1936, allocations: 0 / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1936, allocations: 8.031 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1937, allocations: 116.8 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1937, allocations: 0 / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.1937, allocations: 4 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.1937, allocations: 7.922 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1938, allocations: 0 / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1938, allocations: 0 / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1938, allocations: 3.938 kB / 0.7313 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.1938, allocations: 65.12 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-06/0.1938, allocations: 0 / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1939, allocations: 7.969 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.1939, allocations: 0 / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.1939, allocations: 4 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1939, allocations: 3.938 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.1939, allocations: 75.28 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1939, allocations: 0 / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002178/0.1941, allocations: 8 kB / 0.7315 GB, free: 14.04 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.0005163/0.1947, allocations: 0.6006 MB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.886e-05/0.1947, allocations: 12.02 kB / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1948, allocations: 0 / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.1948, allocations: 0 / 0.7321 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1949, allocations: 4 kB / 0.7321 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.1953, allocations: 106.6 kB / 0.7322 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.1953, allocations: 59.34 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.1953, allocations: 4.062 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1954, allocations: 11.44 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.1954, allocations: 0 / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.2184, allocations: 1.16 MB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.5, allocations: 8.047 kB / 0.7334 GB, free: 12.14 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.364752887981012] Failed to read output from testmodel.py, exit status != 0: 11.66275069292169 11.682019461 11.487594878 Calling exit ...