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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 189.3 kB / 22.23 MB, free: 5.133 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 251 MB, free: 13.02 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.8965/0.8965, allocations: 145 MB / 451.2 MB, free: 5.496 MB / 350.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 68.33 kB / 0.6253 GB, free: 15.49 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1744, allocations: 86.71 MB / 0.71 GB, free: 8.777 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002653/0.1771, allocations: 1.538 MB / 0.7115 GB, free: 7.23 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0004762/0.1775, allocations: 188.3 kB / 0.7117 GB, free: 7.043 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.1776, allocations: 0 / 0.7117 GB, free: 7.043 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.1776, allocations: 3.938 kB / 0.7117 GB, free: 7.039 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.1776, allocations: 3.938 kB / 0.7117 GB, free: 7.035 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.178, allocations: 51.88 kB / 0.7117 GB, free: 6.984 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.178, allocations: 43.84 kB / 0.7118 GB, free: 6.941 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.1781, allocations: 11.98 kB / 0.7118 GB, free: 6.93 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.1781, allocations: 11.98 kB / 0.7118 GB, free: 6.918 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.1782, allocations: 19.92 kB / 0.7118 GB, free: 6.898 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1782, allocations: 7.938 kB / 0.7118 GB, free: 6.891 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1783, allocations: 55.94 kB / 0.7119 GB, free: 6.836 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1783, allocations: 8 kB / 0.7119 GB, free: 6.828 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1784, allocations: 15.92 kB / 0.7119 GB, free: 6.812 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1785, allocations: 75.66 kB / 0.712 GB, free: 6.738 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1785, allocations: 0 / 0.712 GB, free: 6.738 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.243e-06/0.1785, allocations: 0 / 0.712 GB, free: 6.738 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.278e-06/0.1785, allocations: 0 / 0.712 GB, free: 6.738 MB / 0.5294 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.0004984/0.179, allocations: 282.2 kB / 0.7123 GB, free: 6.43 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1791, allocations: 12.03 kB / 0.7123 GB, free: 6.418 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.1791, allocations: 8.891 kB / 0.7123 GB, free: 6.41 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1792, allocations: 114.5 kB / 0.7124 GB, free: 6.273 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1792, allocations: 384 / 0.7124 GB, free: 6.273 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1792, allocations: 4.375 kB / 0.7124 GB, free: 6.27 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1794, allocations: 66.2 kB / 0.7124 GB, free: 6.199 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1795, allocations: 192 / 0.7124 GB, free: 6.199 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1795, allocations: 7.938 kB / 0.7125 GB, free: 6.191 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1795, allocations: 4 kB / 0.7125 GB, free: 6.188 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.1797, allocations: 47.89 kB / 0.7125 GB, free: 6.141 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.18, allocations: 251.9 kB / 0.7127 GB, free: 5.852 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1804, allocations: 50.55 kB / 0.7128 GB, free: 5.793 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1805, allocations: 32.83 kB / 0.7128 GB, free: 5.758 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.1806, allocations: 19.98 kB / 0.7128 GB, free: 5.738 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1806, allocations: 30.56 kB / 0.7129 GB, free: 5.699 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1806, allocations: 0 / 0.7129 GB, free: 5.699 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3): time 0.0003829/0.181, allocations: 97.56 kB / 0.713 GB, free: 5.598 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1811, allocations: 59.34 kB / 0.713 GB, free: 5.527 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.1812, allocations: 113.8 kB / 0.7131 GB, free: 5.406 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1812, allocations: 29.64 kB / 0.7132 GB, free: 5.371 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.1812, allocations: 84.14 kB / 0.7132 GB, free: 5.285 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1812, allocations: 7.953 kB / 0.7132 GB, free: 5.277 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1813, allocations: 17.7 kB / 0.7133 GB, free: 5.254 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001435/0.1814, allocations: 318.8 kB / 0.7136 GB, free: 4.934 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.1815, allocations: 23.92 kB / 0.7136 GB, free: 4.91 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.1816, allocations: 19.97 kB / 0.7136 GB, free: 4.891 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1818, allocations: 48.81 kB / 0.7137 GB, free: 4.84 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1818, allocations: 0 / 0.7137 GB, free: 4.84 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002317/0.182, allocations: 73.66 kB / 0.7137 GB, free: 4.762 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.182, allocations: 6.188 kB / 0.7137 GB, free: 4.758 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.182, allocations: 0 / 0.7137 GB, free: 4.758 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.182, allocations: 0 / 0.7137 GB, free: 4.758 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.1821, allocations: 15.98 kB / 0.7137 GB, free: 4.742 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1821, allocations: 3.938 kB / 0.7138 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.1822, allocations: 11.94 kB / 0.7138 GB, free: 4.727 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1822, allocations: 4 kB / 0.7138 GB, free: 4.723 MB / 0.5294 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 8.167e-05/0.1823, allocations: 117.8 kB / 0.7139 GB, free: 4.598 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.1823, allocations: 4 kB / 0.7139 GB, free: 4.594 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1826, allocations: 81.64 kB / 0.714 GB, free: 4.5 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1826, allocations: 0 / 0.714 GB, free: 4.5 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1826, allocations: 8 kB / 0.714 GB, free: 4.492 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1826, allocations: 0 / 0.714 GB, free: 4.492 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1828, allocations: 148.7 kB / 0.7141 GB, free: 4.305 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1828, allocations: 0 / 0.7141 GB, free: 4.305 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.1828, allocations: 11.98 kB / 0.7141 GB, free: 4.293 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1828, allocations: 0 / 0.7141 GB, free: 4.293 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1829, allocations: 0 / 0.7141 GB, free: 4.293 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1829, allocations: 3.938 kB / 0.7141 GB, free: 4.289 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1829, allocations: 7.984 kB / 0.7141 GB, free: 4.281 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1831, allocations: 175.4 kB / 0.7143 GB, free: 4.094 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.1831, allocations: 4 kB / 0.7143 GB, free: 4.09 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1831, allocations: 3.938 kB / 0.7143 GB, free: 4.086 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.1832, allocations: 7.984 kB / 0.7143 GB, free: 4.078 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.1833, allocations: 8.406 kB / 0.7143 GB, free: 4.07 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1833, allocations: 8 kB / 0.7143 GB, free: 4.062 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 4.414e-05/0.1833, allocations: 79.28 kB / 0.7144 GB, free: 3.984 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.1833, allocations: 0 / 0.7144 GB, free: 3.984 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002428/0.1836, allocations: 23.98 kB / 0.7144 GB, free: 3.961 MB / 0.5294 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.0001601/0.1837, allocations: 111.2 kB / 0.7145 GB, free: 3.844 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0002433/0.184, allocations: 51.88 kB / 0.7146 GB, free: 3.793 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.184, allocations: 4 kB / 0.7146 GB, free: 3.789 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1841, allocations: 27.92 kB / 0.7146 GB, free: 3.762 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1843, allocations: 7.938 kB / 0.7146 GB, free: 3.754 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.1846, allocations: 117.5 kB / 0.7147 GB, free: 3.613 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1849, allocations: 0.6807 MB / 0.7154 GB, free: 2.906 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 3.078e-05/0.1849, allocations: 7.859 kB / 0.7154 GB, free: 2.898 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.185, allocations: 11.44 kB / 0.7154 GB, free: 2.887 MB / 0.5294 GB
Notification: Performance of SimCode: time 3e-07/0.185, allocations: 0 / 0.7154 GB, free: 2.887 MB / 0.5294 GB
Notification: Performance of Templates: time 0.00347/0.1884, allocations: 1.014 MB / 0.7164 GB, free: 1.879 MB / 0.5294 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.370678313076496]
Failed to read output from testmodel.py, exit status != 0:
0.1956058656796813 0.20995502600000002 0.028485297000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f42b34dd7b0>