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.001467/0.001467, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001653/0.001653, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.8447/0.8447, allocations: 145 MB / 458.2 MB, free: 15.54 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.002433/0.002433, allocations: 74.84 kB / 0.6344 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1645, allocations: 87.89 MB / 0.7202 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002695/0.1672, allocations: 1.557 MB / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.1676, allocations: 192.2 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.1677, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.616e-05/0.1677, allocations: 3.938 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.1677, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.168, allocations: 55.81 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.1681, allocations: 35.92 kB / 0.722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.1682, allocations: 11.98 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.1682, allocations: 11.94 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.1683, allocations: 27.92 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1683, allocations: 3.984 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1684, allocations: 51.94 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.1684, allocations: 11.94 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.1685, allocations: 23.86 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1686, allocations: 63.78 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1686, allocations: 0 / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1686, allocations: 0 / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1686, allocations: 0 / 0.7222 GB, free: 12.87 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.0004583/0.1691, allocations: 290.2 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1691, allocations: 11.97 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.1691, allocations: 0.9375 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1692, allocations: 110.5 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1693, allocations: 4.375 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1693, allocations: 4.375 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1695, allocations: 66.16 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1695, allocations: 192 / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1695, allocations: 7.938 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1695, allocations: 4 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1697, allocations: 43.95 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.17, allocations: 239.9 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1703, allocations: 62.47 kB / 0.723 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.1704, allocations: 28.91 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1706, allocations: 16.06 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1706, allocations: 38.53 kB / 0.7231 GB, free: 11.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1706, allocations: 0 / 0.7231 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003855/0.171, allocations: 97.53 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.171, allocations: 59.41 kB / 0.7233 GB, free: 11.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.1711, allocations: 113.8 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1711, allocations: 25.7 kB / 0.7234 GB, free: 11.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.1712, allocations: 92.12 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1712, allocations: 7.891 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1712, allocations: 17.72 kB / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1714, allocations: 314.8 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.1715, allocations: 27.97 kB / 0.7238 GB, free: 11.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.1715, allocations: 19.98 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1717, allocations: 40.81 kB / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1717, allocations: 0 / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002038/0.1719, allocations: 81.55 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1719, allocations: 4 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1719, allocations: 4 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1719, allocations: 3.984 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.077e-05/0.172, allocations: 8 kB / 0.724 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.172, allocations: 7.938 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.1721, allocations: 7.984 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1721, allocations: 3.938 kB / 0.724 GB, free: 10.85 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 7.759e-05/0.1721, allocations: 113.8 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1722, allocations: 4 kB / 0.7241 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.1724, allocations: 93.56 kB / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1724, allocations: 4 kB / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1724, allocations: 0 / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1724, allocations: 0 / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1726, allocations: 140.6 kB / 0.7243 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1726, allocations: 0 / 0.7243 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.1727, allocations: 11.98 kB / 0.7244 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1727, allocations: 4 kB / 0.7244 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1727, allocations: 0 / 0.7244 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1727, allocations: 0 / 0.7244 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1727, allocations: 0 / 0.7244 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1729, allocations: 175.4 kB / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.173, allocations: 4.422 kB / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.173, allocations: 0 / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.1731, allocations: 8 kB / 0.7245 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.1731, allocations: 11.98 kB / 0.7246 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1731, allocations: 0 / 0.7246 GB, free: 10.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.1732, allocations: 91.2 kB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 4 kB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002348/0.1734, allocations: 19.89 kB / 0.7247 GB, free: 10.1 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.0001515/0.1735, allocations: 111.2 kB / 0.7248 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1738, allocations: 47.95 kB / 0.7248 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1738, allocations: 0 / 0.7248 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.1739, allocations: 27.97 kB / 0.7248 GB, free: 9.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1741, allocations: 15.88 kB / 0.7249 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.1744, allocations: 143.2 kB / 0.725 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1747, allocations: 0.6846 MB / 0.7257 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.1747, allocations: 11.42 kB / 0.7257 GB, free: 9 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1747, allocations: 4 kB / 0.7257 GB, free: 8.996 MB / 0.545 GB Notification: Performance of Templates: time 0.002434/0.1772, allocations: 0.9951 MB / 0.7266 GB, free: 8.004 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: 7.1442421758547425] Failed to read output from testmodel.py, exit status != 0: 0.18857460794970393 0.19889640899999994 0.027445268000000002 Calling exit ...