Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.002004/0.002004, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001576/0.001576, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.37/1.37, allocations: 225.6 MB / 251 MB, free: 13 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.878/0.878, allocations: 145 MB / 451.2 MB, free: 5.469 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 69.03 kB / 0.6254 GB, free: 15.42 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1896, allocations: 86.7 MB / 0.71 GB, free: 8.715 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001914/0.1915, allocations: 0.5953 MB / 0.7106 GB, free: 8.121 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0004285/0.192, allocations: 108 kB / 0.7107 GB, free: 8.016 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.192, allocations: 4 kB / 0.7107 GB, free: 8.012 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.192, allocations: 0 / 0.7107 GB, free: 8.012 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.192, allocations: 0 / 0.7107 GB, free: 8.012 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.1924, allocations: 43.89 kB / 0.7108 GB, free: 7.969 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1925, allocations: 63.94 kB / 0.7108 GB, free: 7.906 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.1926, allocations: 0 / 0.7108 GB, free: 7.906 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.1926, allocations: 27.97 kB / 0.7109 GB, free: 7.879 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.1927, allocations: 27.91 kB / 0.7109 GB, free: 7.852 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1927, allocations: 4 kB / 0.7109 GB, free: 7.848 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.1929, allocations: 51.94 kB / 0.7109 GB, free: 7.797 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.1929, allocations: 23.97 kB / 0.711 GB, free: 7.773 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.193, allocations: 23.91 kB / 0.711 GB, free: 7.75 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1931, allocations: 71.78 kB / 0.7111 GB, free: 7.68 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1932, allocations: 0 / 0.7111 GB, free: 7.68 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.763e-06/0.1932, allocations: 0 / 0.7111 GB, free: 7.68 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.673e-06/0.1932, allocations: 0 / 0.7111 GB, free: 7.68 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0005828/0.1937, allocations: 298.2 kB / 0.7113 GB, free: 7.355 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/0.1938, allocations: 16.02 kB / 0.7114 GB, free: 7.34 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.1939, allocations: 4.938 kB / 0.7114 GB, free: 7.336 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.194, allocations: 110.4 kB / 0.7115 GB, free: 7.203 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.1943, allocations: 285.6 kB / 0.7117 GB, free: 6.863 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1943, allocations: 4.375 kB / 0.7117 GB, free: 6.859 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1946, allocations: 82.19 kB / 0.7118 GB, free: 6.773 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1946, allocations: 3.938 kB / 0.7118 GB, free: 6.77 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1946, allocations: 0 / 0.7118 GB, free: 6.77 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1946, allocations: 3.938 kB / 0.7118 GB, free: 6.766 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.195, allocations: 135.8 kB / 0.712 GB, free: 6.633 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.1952, allocations: 148.7 kB / 0.7121 GB, free: 6.445 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1956, allocations: 94.52 kB / 0.7122 GB, free: 6.344 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1957, allocations: 41.16 kB / 0.7122 GB, free: 6.301 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1957, allocations: 7.922 kB / 0.7122 GB, free: 6.293 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1958, allocations: 38.55 kB / 0.7123 GB, free: 6.246 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1958, allocations: 0 / 0.7123 GB, free: 6.246 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=11): time 0.000578/0.1963, allocations: 149.5 kB / 0.7124 GB, free: 6.094 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1964, allocations: 55.41 kB / 0.7125 GB, free: 6.027 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.1964, allocations: 93.86 kB / 0.7126 GB, free: 5.926 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1965, allocations: 25.7 kB / 0.7126 GB, free: 5.895 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1965, allocations: 80.14 kB / 0.7127 GB, free: 5.812 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1966, allocations: 35.69 kB / 0.7127 GB, free: 5.777 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.1966, allocations: 29.7 kB / 0.7127 GB, free: 5.742 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001543/0.1968, allocations: 314.8 kB / 0.713 GB, free: 5.426 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1969, allocations: 35.91 kB / 0.7131 GB, free: 5.391 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1971, allocations: 32.41 kB / 0.7131 GB, free: 5.359 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1973, allocations: 80.97 kB / 0.7132 GB, free: 5.277 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1974, allocations: 0 / 0.7132 GB, free: 5.277 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.000376/0.1977, allocations: 121.5 kB / 0.7133 GB, free: 5.152 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1977, allocations: 7.938 kB / 0.7133 GB, free: 5.145 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1977, allocations: 0 / 0.7133 GB, free: 5.145 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1978, allocations: 4 kB / 0.7133 GB, free: 5.141 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1979, allocations: 23.97 kB / 0.7133 GB, free: 5.117 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1979, allocations: 0 / 0.7133 GB, free: 5.117 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.559e-05/0.198, allocations: 7.938 kB / 0.7133 GB, free: 5.109 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.198, allocations: 12 kB / 0.7133 GB, free: 5.098 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: 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 0.0001051/0.1981, allocations: 117.8 kB / 0.7134 GB, free: 4.973 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1981, allocations: 11.89 kB / 0.7135 GB, free: 4.961 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.1982, allocations: 11.91 kB / 0.7135 GB, free: 4.945 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1982, allocations: 0 / 0.7135 GB, free: 4.945 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1982, allocations: 0 / 0.7135 GB, free: 4.945 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1982, allocations: 0 / 0.7135 GB, free: 4.945 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1984, allocations: 152.7 kB / 0.7136 GB, free: 4.754 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1984, allocations: 4 kB / 0.7136 GB, free: 4.75 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1985, allocations: 23.98 kB / 0.7136 GB, free: 4.727 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.1985, allocations: 7.938 kB / 0.7136 GB, free: 4.719 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1985, allocations: 7.984 kB / 0.7137 GB, free: 4.711 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1985, allocations: 3.938 kB / 0.7137 GB, free: 4.707 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1985, allocations: 0 / 0.7137 GB, free: 4.707 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.1989, allocations: 144.9 kB / 0.7138 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.1989, allocations: 7.938 kB / 0.7138 GB, free: 4.539 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1989, allocations: 3.938 kB / 0.7138 GB, free: 4.535 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.199, allocations: 11.98 kB / 0.7138 GB, free: 4.523 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.199, allocations: 11.98 kB / 0.7138 GB, free: 4.512 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.199, allocations: 7.984 kB / 0.7138 GB, free: 4.504 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 3.357e-05/0.1991, allocations: 75.28 kB / 0.7139 GB, free: 4.43 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.1991, allocations: 0 / 0.7139 GB, free: 4.43 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002219/0.1993, allocations: 20 kB / 0.7139 GB, free: 4.41 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: 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.0002081/0.1995, allocations: 115.2 kB / 0.714 GB, free: 4.289 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.000353/0.1999, allocations: 87.81 kB / 0.7141 GB, free: 4.203 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1999, allocations: 4 kB / 0.7141 GB, free: 4.199 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2, allocations: 39.97 kB / 0.7142 GB, free: 4.16 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2002, allocations: 8 kB / 0.7142 GB, free: 4.152 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.2006, allocations: 164.7 kB / 0.7143 GB, free: 3.965 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.2009, allocations: 0.6846 MB / 0.715 GB, free: 3.254 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0001593/0.2011, allocations: 39.94 kB / 0.715 GB, free: 3.215 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.2011, allocations: 15.42 kB / 0.715 GB, free: 3.199 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.71e-07/0.2011, allocations: 0 / 0.715 GB, free: 3.199 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003692/0.2048, allocations: 1.108 MB / 0.7161 GB, free: 2.094 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.362491372041404]
Failed to read output from testmodel.py, exit status != 0:
0.21259154472500086 0.22727851200000002 0.031169650000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0b5bd3d7b0>