Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00135/0.00135, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001509/0.001509, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002626/0.002626, allocations: 273.6 kB / 313.5 MB, free: 2.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.26/1.26, allocations: 180.6 MB / 0.5377 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002776/0.002776, allocations: 99.12 kB / 0.7404 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1863, allocations: 95.38 MB / 0.8335 GB, free: 8.66 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001824/0.1881, allocations: 0.6066 MB / 0.8341 GB, free: 8.055 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.1883, allocations: 39.88 kB / 0.8342 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.261e-05/0.1883, allocations: 0 / 0.8342 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.1884, allocations: 0 / 0.8342 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.1884, allocations: 0 / 0.8342 GB, free: 8.016 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1887, allocations: 15.92 kB / 0.8342 GB, free: 8 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.1887, allocations: 4 kB / 0.8342 GB, free: 7.996 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.1888, allocations: 4.344 kB / 0.8342 GB, free: 7.992 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.1888, allocations: 0 / 0.8342 GB, free: 7.992 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 2.917e-05/0.1888, allocations: 4 kB / 0.8342 GB, free: 7.988 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1888, allocations: 4 kB / 0.8342 GB, free: 7.984 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1889, allocations: 23.97 kB / 0.8342 GB, free: 7.961 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-06/0.1889, allocations: 0 / 0.8342 GB, free: 7.961 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.189, allocations: 0 / 0.8342 GB, free: 7.961 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 9.243e-05/0.189, allocations: 23.95 kB / 0.8342 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.189, allocations: 0 / 0.8342 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.443e-06/0.189, allocations: 0 / 0.8342 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.1891, allocations: 0 / 0.8342 GB, free: 7.938 MB / 0.5763 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.0003199/0.1894, allocations: 234.7 kB / 0.8345 GB, free: 7.676 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1894, allocations: 9.344 kB / 0.8345 GB, free: 7.668 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.747e-05/0.1894, allocations: 4.188 kB / 0.8345 GB, free: 7.664 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.1895, allocations: 38.69 kB / 0.8345 GB, free: 7.617 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1895, allocations: 0.9375 kB / 0.8345 GB, free: 7.617 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.1896, allocations: 110.5 kB / 0.8346 GB, free: 7.484 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1896, allocations: 4.375 kB / 0.8346 GB, free: 7.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.1896, allocations: 384 / 0.8346 GB, free: 7.48 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1897, allocations: 34.02 kB / 0.8347 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1897, allocations: 0 / 0.8347 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1897, allocations: 3.938 kB / 0.8347 GB, free: 7.438 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1897, allocations: 4 kB / 0.8347 GB, free: 7.434 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1897, allocations: 7.938 kB / 0.8347 GB, free: 7.426 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1899, allocations: 116.8 kB / 0.8348 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.1899, allocations: 22.52 kB / 0.8348 GB, free: 7.238 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.19, allocations: 8.953 kB / 0.8348 GB, free: 7.227 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.19, allocations: 0 / 0.8348 GB, free: 7.227 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.19, allocations: 34.5 kB / 0.8348 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.19, allocations: 4 kB / 0.8348 GB, free: 7.18 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.1901, allocations: 33.7 kB / 0.8349 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1902, allocations: 59.33 kB / 0.8349 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.1902, allocations: 89.86 kB / 0.835 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1903, allocations: 25.7 kB / 0.835 GB, free: 6.941 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.1903, allocations: 80.14 kB / 0.8351 GB, free: 6.859 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1903, allocations: 4 kB / 0.8351 GB, free: 6.855 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.1903, allocations: 13.72 kB / 0.8351 GB, free: 6.836 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1905, allocations: 315 kB / 0.8354 GB, free: 6.52 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.1905, allocations: 0 / 0.8354 GB, free: 6.52 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.1905, allocations: 4 kB / 0.8354 GB, free: 6.516 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.1905, allocations: 4.859 kB / 0.8354 GB, free: 6.508 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1905, allocations: 0 / 0.8354 GB, free: 6.508 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.8e-05/0.1906, allocations: 45.62 kB / 0.8355 GB, free: 6.457 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1906, allocations: 7.938 kB / 0.8355 GB, free: 6.449 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1906, allocations: 0 / 0.8355 GB, free: 6.449 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1906, allocations: 4.094 kB / 0.8355 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.1907, allocations: 4 kB / 0.8355 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1907, allocations: 0 / 0.8355 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.174e-05/0.1907, allocations: 0 / 0.8355 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1907, allocations: 4 kB / 0.8355 GB, free: 6.438 MB / 0.5763 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.306e-05/0.1908, allocations: 106.5 kB / 0.8356 GB, free: 6.324 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-06/0.1908, allocations: 3.938 kB / 0.8356 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.921e-05/0.1909, allocations: 48.69 kB / 0.8357 GB, free: 6.266 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1909, allocations: 0 / 0.8357 GB, free: 6.266 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1909, allocations: 4 kB / 0.8357 GB, free: 6.262 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1909, allocations: 0 / 0.8357 GB, free: 6.262 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.191, allocations: 116.8 kB / 0.8358 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.191, allocations: 3.938 kB / 0.8358 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.191, allocations: 7.938 kB / 0.8358 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.191, allocations: 3.938 kB / 0.8358 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.191, allocations: 0 / 0.8358 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.191, allocations: 4.031 kB / 0.8358 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.191, allocations: 0 / 0.8358 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.429e-05/0.1911, allocations: 61.12 kB / 0.8359 GB, free: 6.008 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-06/0.1911, allocations: 0 / 0.8359 GB, free: 6.008 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.1911, allocations: 7.875 kB / 0.8359 GB, free: 6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.1911, allocations: 4 kB / 0.8359 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-06/0.1911, allocations: 0 / 0.8359 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1911, allocations: 0 / 0.8359 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.1912, allocations: 79.31 kB / 0.8359 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1912, allocations: 0 / 0.8359 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001966/0.1914, allocations: 7.938 kB / 0.8359 GB, free: 5.91 MB / 0.5763 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.0004615/0.1918, allocations: 0.6006 MB / 0.8365 GB, free: 5.277 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.1919, allocations: 12.02 kB / 0.8365 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1919, allocations: 0 / 0.8365 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 9.527e-06/0.1919, allocations: 4 kB / 0.8366 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.192, allocations: 4 kB / 0.8366 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.1923, allocations: 108.3 kB / 0.8367 GB, free: 5.113 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1927, allocations: 0.6729 MB / 0.8373 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.1927, allocations: 4.125 kB / 0.8373 GB, free: 4.41 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1927, allocations: 15.42 kB / 0.8373 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of SimCode: time 3.2e-07/0.1927, allocations: 0 / 0.8373 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.215, allocations: 1.157 MB / 0.8385 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.99, allocations: 4.766 kB / 0.8385 GB, free: 3.383 MB / 0.5763 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.339452166983392] Failed to read output from testmodel.py, exit status != 0: 11.147659889014903 11.165114996 10.972858398 Calling exit ...