Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.001833/0.001833, allocations: 105 kB / 20.45 MB, free: 1.5 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.0024/0.0024, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.012/1.012, allocations: 150 MB / 463.9 MB, free: 10.5 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.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.002055/0.002055, allocations: 78.23 kB / 0.6425 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1803, allocations: 89.18 MB / 0.7296 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002914/0.1832, allocations: 1.556 MB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005211/0.1837, allocations: 191.4 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.259e-05/0.1838, allocations: 0 / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.1838, allocations: 3.938 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.1838, allocations: 7.938 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1842, allocations: 51.88 kB / 0.7313 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.1843, allocations: 31.92 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1844, allocations: 15.97 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.1844, allocations: 15.94 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.1845, allocations: 15.92 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1845, allocations: 8 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1846, allocations: 55.94 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.1847, allocations: 7.984 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.1847, allocations: 15.88 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1849, allocations: 67.78 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1849, allocations: 0 / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1849, allocations: 0 / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.1849, allocations: 0 / 0.7316 GB, free: 14.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005126/0.1854, allocations: 286.1 kB / 0.7318 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1854, allocations: 12.03 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1854, allocations: 8.891 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1856, allocations: 114.5 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1856, allocations: 384 / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1856, allocations: 8.312 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1858, allocations: 66.2 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1858, allocations: 192 / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1858, allocations: 3.938 kB / 0.732 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1858, allocations: 3.984 kB / 0.732 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.186, allocations: 51.89 kB / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.1864, allocations: 251.8 kB / 0.7323 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1868, allocations: 58.53 kB / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.1869, allocations: 24.91 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.187, allocations: 11.98 kB / 0.7324 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1871, allocations: 42.5 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1871, allocations: 0 / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003899/0.1874, allocations: 89.62 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1875, allocations: 51.41 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.1876, allocations: 125.8 kB / 0.7327 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1876, allocations: 25.7 kB / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.1877, allocations: 80.14 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.1877, allocations: 7.953 kB / 0.7328 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1877, allocations: 17.7 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1879, allocations: 322.8 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.188, allocations: 15.97 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.014e-05/0.188, allocations: 23.98 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1882, allocations: 52.75 kB / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1882, allocations: 0 / 0.7332 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002117/0.1884, allocations: 73.66 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1884, allocations: 4 kB / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1884, allocations: 0 / 0.7333 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1884, allocations: 4 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.1885, allocations: 11.98 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1885, allocations: 0 / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.1886, allocations: 7.984 kB / 0.7333 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1886, allocations: 0 / 0.7333 GB, free: 12.73 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.695e-05/0.1887, allocations: 125.7 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1887, allocations: 3.953 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.189, allocations: 85.64 kB / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.189, allocations: 0 / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.189, allocations: 0 / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.189, allocations: 0 / 0.7335 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1892, allocations: 144.7 kB / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1892, allocations: 4 kB / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.1892, allocations: 4.375 kB / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1892, allocations: 7.984 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1893, allocations: 3.938 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1893, allocations: 8 kB / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1893, allocations: 0 / 0.7337 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1895, allocations: 179.3 kB / 0.7339 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.1895, allocations: 7.938 kB / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1896, allocations: 7.984 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.1896, allocations: 4 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.1897, allocations: 7.984 kB / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1897, allocations: 0 / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.705e-05/0.1898, allocations: 91.34 kB / 0.734 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1898, allocations: 0 / 0.734 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002428/0.19, allocations: 16 kB / 0.734 GB, free: 11.96 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001762/0.1902, allocations: 119.1 kB / 0.7341 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1904, allocations: 55.89 kB / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1904, allocations: 0 / 0.7342 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.1905, allocations: 15.98 kB / 0.7342 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1908, allocations: 15.92 kB / 0.7342 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.1912, allocations: 139.2 kB / 0.7343 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.1916, allocations: 0.6807 MB / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.1916, allocations: 19.38 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1916, allocations: 4 kB / 0.735 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.002857/0.1945, allocations: 0.9787 MB / 0.736 GB, free: 9.879 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.959452263079584] Failed to read output from testmodel.py, exit status != 0: 0.2031249338760972 0.219883252 0.03165822 Calling exit ...