Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001432/0.001432, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001472/0.001472, allocations: 215 kB / 23.74 MB, free: 4.445 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.556/1.556, allocations: 230.6 MB / 257.5 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 0.9424/0.9424, allocations: 149.9 MB / 463.8 MB, free: 10.34 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") [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.002098/0.002098, allocations: 76.14 kB / 0.6423 GB, free: 9.586 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1827, allocations: 89.17 MB / 0.7294 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001713/0.1844, allocations: 0.5853 MB / 0.73 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.1848, allocations: 95.69 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.1848, allocations: 0 / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.1848, allocations: 8 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.1848, allocations: 0 / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1852, allocations: 39.88 kB / 0.7301 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.1853, allocations: 63.92 kB / 0.7302 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.1853, allocations: 8 kB / 0.7302 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.1854, allocations: 23.92 kB / 0.7302 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.1854, allocations: 23.95 kB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1854, allocations: 4 kB / 0.7302 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1856, allocations: 47.95 kB / 0.7303 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.1856, allocations: 23.97 kB / 0.7303 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.1857, allocations: 19.86 kB / 0.7303 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1858, allocations: 75.78 kB / 0.7304 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1858, allocations: 3.984 kB / 0.7304 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1858, allocations: 0 / 0.7304 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.1858, allocations: 4 kB / 0.7304 GB, free: 15.46 MB / 0.5606 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.0005113/0.1863, allocations: 294.3 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1864, allocations: 15.91 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1864, allocations: 4.938 kB / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.281e-05/0.1865, allocations: 110.5 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004975/0.187, allocations: 0.5299 MB / 0.7313 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.187, allocations: 384 / 0.7313 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.1872, allocations: 86.19 kB / 0.7314 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1872, allocations: 7.922 kB / 0.7314 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1873, allocations: 4 kB / 0.7314 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1873, allocations: 0 / 0.7314 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.1876, allocations: 127.8 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1878, allocations: 129.2 kB / 0.7317 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.1881, allocations: 90.52 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1882, allocations: 40.83 kB / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1882, allocations: 336 / 0.7318 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1882, allocations: 34.5 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.1882, allocations: 8 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005311/0.1888, allocations: 146.6 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.1888, allocations: 55.41 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.1889, allocations: 93.86 kB / 0.7321 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1889, allocations: 25.7 kB / 0.7322 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.1889, allocations: 80.14 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.189, allocations: 35.69 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.189, allocations: 29.7 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1892, allocations: 314.8 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1894, allocations: 35.91 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1895, allocations: 37.5 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1898, allocations: 76.81 kB / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1898, allocations: 0 / 0.7327 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003258/0.1901, allocations: 115 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1901, allocations: 11.94 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1901, allocations: 0 / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1901, allocations: 3.938 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1903, allocations: 23.97 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1903, allocations: 7.938 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.1903, allocations: 11.94 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1904, allocations: 0 / 0.7329 GB, free: 12.62 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: 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 9.871e-05/0.1905, allocations: 121.8 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1905, allocations: 7.953 kB / 0.733 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.1905, allocations: 15.84 kB / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1905, allocations: 0 / 0.733 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1905, allocations: 4 kB / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1905, allocations: 0 / 0.733 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1907, allocations: 117.3 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1907, allocations: 0 / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1908, allocations: 27.97 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1908, allocations: 4 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1908, allocations: 0 / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.1908, allocations: 7.938 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1908, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.1911, allocations: 152.9 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.1912, allocations: 0 / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1912, allocations: 0 / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.1912, allocations: 15.92 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.1913, allocations: 7.984 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1913, allocations: 7.984 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.1913, allocations: 79.28 kB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1913, allocations: 0 / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002306/0.1916, allocations: 27.94 kB / 0.7335 GB, free: 11.98 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: 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.0001861/0.1917, allocations: 115.2 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.1921, allocations: 87.42 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1921, allocations: 4 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.1922, allocations: 35.97 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1924, allocations: 8 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.1928, allocations: 194.4 kB / 0.7339 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.1929, allocations: 67.34 kB / 0.734 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.1929, allocations: 19.42 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1929, allocations: 0 / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.003075/0.196, allocations: 1.33 MB / 0.7353 GB, free: 10.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.418605003971606] Failed to read output from testmodel.py, exit status != 0: 0.20473206788301468 0.225239457 0.035262767 Calling exit ...