Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.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.001521/0.001521, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001718/0.001718, allocations: 219.2 kB / 23.01 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.345/1.345, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002452/0.002452, allocations: 289.6 kB / 313.5 MB, free: 2.82 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.142/1.142, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [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.002778/0.002778, allocations: 106.4 kB / 0.7408 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1843, allocations: 95.38 MB / 0.834 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00181/0.1862, allocations: 0.5982 MB / 0.8346 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.1866, allocations: 116 kB / 0.8347 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1866, allocations: 0 / 0.8347 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.1866, allocations: 0 / 0.8347 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.1867, allocations: 0 / 0.8347 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1871, allocations: 43.83 kB / 0.8347 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1872, allocations: 71.86 kB / 0.8348 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.1873, allocations: 8 kB / 0.8348 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.622e-05/0.1873, allocations: 19.98 kB / 0.8348 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.1873, allocations: 27.95 kB / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1874, allocations: 4 kB / 0.8349 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1875, allocations: 47.95 kB / 0.8349 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.1875, allocations: 27.95 kB / 0.8349 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1876, allocations: 23.86 kB / 0.8349 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1877, allocations: 67.78 kB / 0.835 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1877, allocations: 0 / 0.835 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1877, allocations: 4 kB / 0.835 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1877, allocations: 0 / 0.835 GB, free: 7.098 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005401/0.1883, allocations: 299.3 kB / 0.8353 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1883, allocations: 9.344 kB / 0.8353 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1884, allocations: 4.938 kB / 0.8353 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/0.1885, allocations: 110.5 kB / 0.8354 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.1889, allocations: 0.5299 MB / 0.8359 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1889, allocations: 384 / 0.8359 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1892, allocations: 82.14 kB / 0.836 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1892, allocations: 3.938 kB / 0.836 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1892, allocations: 8 kB / 0.836 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1892, allocations: 0 / 0.836 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.1895, allocations: 139.7 kB / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1897, allocations: 152.7 kB / 0.8363 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.19, allocations: 86.53 kB / 0.8364 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.1902, allocations: 44.77 kB / 0.8364 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1902, allocations: 0 / 0.8364 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1902, allocations: 38.56 kB / 0.8365 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 8.42e-07/0.1902, allocations: 0 / 0.8365 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005299/0.1908, allocations: 150.1 kB / 0.8366 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.1908, allocations: 51.41 kB / 0.8367 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.1909, allocations: 89.86 kB / 0.8367 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1909, allocations: 29.64 kB / 0.8368 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1909, allocations: 92.12 kB / 0.8369 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.191, allocations: 35.66 kB / 0.8369 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.191, allocations: 29.7 kB / 0.8369 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1912, allocations: 318.8 kB / 0.8372 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1913, allocations: 31.97 kB / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1914, allocations: 39.97 kB / 0.8373 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1917, allocations: 68.81 kB / 0.8374 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1917, allocations: 0 / 0.8374 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003089/0.192, allocations: 113.6 kB / 0.8375 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.192, allocations: 13.48 kB / 0.8375 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.192, allocations: 4 kB / 0.8375 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.192, allocations: 0 / 0.8375 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1922, allocations: 27.92 kB / 0.8375 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1922, allocations: 0 / 0.8375 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.1922, allocations: 11.94 kB / 0.8375 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1923, allocations: 7.984 kB / 0.8375 GB, free: 4.211 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001002/0.1924, allocations: 114.5 kB / 0.8376 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1924, allocations: 7.891 kB / 0.8377 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1924, allocations: 15.89 kB / 0.8377 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1924, allocations: 4 kB / 0.8377 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1924, allocations: 3.984 kB / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1924, allocations: 0 / 0.8377 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1926, allocations: 156.7 kB / 0.8378 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1926, allocations: 0 / 0.8378 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1927, allocations: 19.98 kB / 0.8378 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1927, allocations: 7.922 kB / 0.8378 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1927, allocations: 7.938 kB / 0.8379 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1927, allocations: 0 / 0.8379 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1927, allocations: 3.938 kB / 0.8379 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1931, allocations: 145 kB / 0.838 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.1931, allocations: 7.938 kB / 0.838 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1931, allocations: 3.938 kB / 0.838 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.1931, allocations: 8 kB / 0.838 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.1932, allocations: 11.97 kB / 0.838 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.1932, allocations: 4 kB / 0.838 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.1933, allocations: 75.28 kB / 0.8381 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 4 kB / 0.8381 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002203/0.1935, allocations: 20 kB / 0.8381 GB, free: 3.527 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001976/0.1937, allocations: 119.1 kB / 0.8382 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.194, allocations: 79.94 kB / 0.8383 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.194, allocations: 0 / 0.8383 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1941, allocations: 51.83 kB / 0.8384 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1943, allocations: 12.81 kB / 0.8384 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.1947, allocations: 186.6 kB / 0.8386 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.195, allocations: 0.6846 MB / 0.8392 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.1951, allocations: 23.42 kB / 0.8392 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1951, allocations: 0 / 0.8392 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of Templates: time 0.003145/0.1982, allocations: 1.324 MB / 0.8405 GB, free: 0.9883 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.084170932881534] Failed to read output from testmodel.py, exit status != 0: 0.20538764190860093 0.220704212 0.029639463 Calling exit ...