Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001429/0.001429, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00181/0.00181, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9284/0.9284, allocations: 145 MB / 457.4 MB, free: 15.31 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: BuildSysPro 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.002216/0.002216, allocations: 66.91 kB / 0.6336 GB, free: 6.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1838, allocations: 87.9 MB / 0.7194 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003295/0.1871, allocations: 1.543 MB / 0.7209 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004931/0.1876, allocations: 176.3 kB / 0.7211 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.1876, allocations: 0 / 0.7211 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1876, allocations: 3.938 kB / 0.7211 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.1877, allocations: 7.922 kB / 0.7211 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.188, allocations: 55.88 kB / 0.7211 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.1881, allocations: 39.86 kB / 0.7212 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.1882, allocations: 11.98 kB / 0.7212 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.1882, allocations: 15.98 kB / 0.7212 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1883, allocations: 15.92 kB / 0.7212 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1883, allocations: 7.938 kB / 0.7212 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1884, allocations: 47.94 kB / 0.7213 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1884, allocations: 7.984 kB / 0.7213 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.1884, allocations: 11.94 kB / 0.7213 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1886, allocations: 71.78 kB / 0.7214 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1886, allocations: 4 kB / 0.7214 GB, free: 12.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1886, allocations: 0 / 0.7214 GB, free: 12.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1886, allocations: 3.938 kB / 0.7214 GB, free: 12.38 MB / 0.545 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.0005625/0.1892, allocations: 278.2 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1892, allocations: 8.031 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1893, allocations: 12.92 kB / 0.7217 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1894, allocations: 118.5 kB / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1894, allocations: 384 / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1894, allocations: 8.359 kB / 0.7218 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1896, allocations: 66.22 kB / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1896, allocations: 192 / 0.7218 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1896, allocations: 3.938 kB / 0.7218 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1896, allocations: 4 kB / 0.7218 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1898, allocations: 47.89 kB / 0.7219 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.1902, allocations: 208.6 kB / 0.7221 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.1905, allocations: 54.53 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.1906, allocations: 28.84 kB / 0.7222 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.1908, allocations: 19.97 kB / 0.7222 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1908, allocations: 38.5 kB / 0.7222 GB, free: 11.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1908, allocations: 0 / 0.7222 GB, free: 11.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003746/0.1912, allocations: 89.59 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1912, allocations: 59.39 kB / 0.7224 GB, free: 11.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.1913, allocations: 101.9 kB / 0.7225 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1913, allocations: 29.7 kB / 0.7225 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1914, allocations: 88.06 kB / 0.7226 GB, free: 10.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1914, allocations: 15.89 kB / 0.7226 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.1914, allocations: 17.66 kB / 0.7226 GB, free: 10.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1916, allocations: 314.8 kB / 0.7229 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.1917, allocations: 19.97 kB / 0.7229 GB, free: 10.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.1918, allocations: 23.92 kB / 0.723 GB, free: 10.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1919, allocations: 48.81 kB / 0.723 GB, free: 10.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.192, allocations: 3.938 kB / 0.723 GB, free: 10.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000218/0.1922, allocations: 77.61 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1922, allocations: 4 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1922, allocations: 0 / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1922, allocations: 7.984 kB / 0.7231 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.1923, allocations: 4 kB / 0.7231 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1923, allocations: 4 kB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.1923, allocations: 7.984 kB / 0.7231 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.1923, allocations: 4 kB / 0.7231 GB, free: 10.42 MB / 0.545 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.369e-05/0.1924, allocations: 117.7 kB / 0.7232 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1925, allocations: 4 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.1927, allocations: 77.66 kB / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1927, allocations: 7.984 kB / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1927, allocations: 0 / 0.7233 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-05/0.1928, allocations: 4.031 kB / 0.7233 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.193, allocations: 113.2 kB / 0.7234 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.193, allocations: 4 kB / 0.7234 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.193, allocations: 12.23 kB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.193, allocations: 0 / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1931, allocations: 4 kB / 0.7234 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1931, allocations: 0 / 0.7234 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1931, allocations: 0 / 0.7234 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.1933, allocations: 179.3 kB / 0.7236 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.1934, allocations: 7.984 kB / 0.7236 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1934, allocations: 4 kB / 0.7236 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.1934, allocations: 4 kB / 0.7236 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1935, allocations: 11.98 kB / 0.7236 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1935, allocations: 0 / 0.7236 GB, free: 9.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.1935, allocations: 83.27 kB / 0.7237 GB, free: 9.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1935, allocations: 0 / 0.7237 GB, free: 9.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002515/0.1938, allocations: 23.88 kB / 0.7237 GB, free: 9.707 MB / 0.545 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.0001866/0.194, allocations: 119.3 kB / 0.7238 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1942, allocations: 51.89 kB / 0.7239 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1942, allocations: 0 / 0.7239 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/0.1943, allocations: 19.98 kB / 0.7239 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1946, allocations: 18.52 kB / 0.7239 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.1949, allocations: 113.5 kB / 0.724 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.195, allocations: 63.34 kB / 0.7241 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.195, allocations: 4 kB / 0.7241 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1951, allocations: 15.44 kB / 0.7241 GB, free: 9.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1951, allocations: 0 / 0.7241 GB, free: 9.258 MB / 0.545 GB Notification: Performance of Templates: time 0.00373/0.1988, allocations: 1.011 MB / 0.7251 GB, free: 8.262 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.551283521577716] Failed to read output from testmodel.py, exit status != 0: 0.20756825618445873 0.22226606200000001 0.030573064 Calling exit ...