Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001518/0.001518, allocations: 110 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.001589/0.001589, allocations: 191.7 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.337/1.337, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 282.5 kB / 306.5 MB, free: 8.324 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 180.9 MB / 0.53 GB, free: 14.34 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 103.1 kB / 0.7309 GB, free: 39.02 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1637, allocations: 94.2 MB / 0.8229 GB, free: 1.777 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001941/0.1656, allocations: 0.5954 MB / 0.8234 GB, free: 1.188 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0004073/0.166, allocations: 108.1 kB / 0.8236 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.166, allocations: 0 / 0.8236 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.1661, allocations: 0 / 0.8236 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1661, allocations: 0 / 0.8236 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1665, allocations: 51.88 kB / 0.8236 GB, free: 1.031 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1666, allocations: 63.92 kB / 0.8237 GB, free: 0.9688 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1667, allocations: 4 kB / 0.8237 GB, free: 0.9648 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.1667, allocations: 27.92 kB / 0.8237 GB, free: 0.9375 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.1668, allocations: 19.98 kB / 0.8237 GB, free: 0.918 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1668, allocations: 0 / 0.8237 GB, free: 0.918 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.167, allocations: 55.92 kB / 0.8238 GB, free: 0.8633 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.167, allocations: 19.98 kB / 0.8238 GB, free: 0.8438 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.167, allocations: 23.91 kB / 0.8238 GB, free: 0.8203 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1672, allocations: 75.72 kB / 0.8239 GB, free: 0.7461 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1672, allocations: 0 / 0.8239 GB, free: 0.7461 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.443e-06/0.1672, allocations: 3.938 kB / 0.8239 GB, free: 0.7422 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 6.893e-06/0.1672, allocations: 4 kB / 0.8239 GB, free: 0.7383 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: 11
 * Number of variables: 11
Notification: Performance of Generate backend data structure: time 0.0005862/0.1678, allocations: 298.3 kB / 0.8242 GB, free: 424 kB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1679, allocations: 8.031 kB / 0.8242 GB, free: 416 kB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.1679, allocations: 8.938 kB / 0.8242 GB, free: 408 kB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.373e-05/0.168, allocations: 106.5 kB / 0.8243 GB, free: 276 kB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.1684, allocations: 281.6 kB / 0.8246 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1684, allocations: 4.375 kB / 0.8246 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.1686, allocations: 78.2 kB / 0.8246 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1686, allocations: 11.92 kB / 0.8246 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1686, allocations: 0 / 0.8246 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1686, allocations: 4 kB / 0.8247 GB, free: 15.83 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.169, allocations: 139.7 kB / 0.8248 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.1692, allocations: 148.6 kB / 0.8249 GB, free: 15.51 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.1695, allocations: 94.52 kB / 0.825 GB, free: 15.41 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1697, allocations: 36.84 kB / 0.8251 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1697, allocations: 7.922 kB / 0.8251 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1697, allocations: 34.56 kB / 0.8251 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1697, allocations: 0 / 0.8251 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11): time 0.0005807/0.1703, allocations: 153.8 kB / 0.8252 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1704, allocations: 55.34 kB / 0.8253 GB, free: 15.09 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.1704, allocations: 93.84 kB / 0.8254 GB, free: 14.99 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1704, allocations: 25.7 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.1705, allocations: 80.14 kB / 0.8255 GB, free: 14.88 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.1705, allocations: 39.7 kB / 0.8255 GB, free: 14.84 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.1706, allocations: 29.7 kB / 0.8255 GB, free: 14.8 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001733/0.1708, allocations: 314.8 kB / 0.8258 GB, free: 14.49 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1709, allocations: 35.97 kB / 0.8259 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.171, allocations: 27.98 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1713, allocations: 77.41 kB / 0.826 GB, free: 14.35 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1713, allocations: 0 / 0.826 GB, free: 14.35 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003604/0.1717, allocations: 125.5 kB / 0.8261 GB, free: 14.22 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1717, allocations: 11.94 kB / 0.8261 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1717, allocations: 0 / 0.8261 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1717, allocations: 0 / 0.8261 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1719, allocations: 23.98 kB / 0.8261 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1719, allocations: 0 / 0.8261 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.172, allocations: 15.92 kB / 0.8262 GB, free: 14.17 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.172, allocations: 4 kB / 0.8262 GB, free: 14.16 MB / 0.5762 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.0001031/0.1721, allocations: 118.4 kB / 0.8263 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1721, allocations: 11.88 kB / 0.8263 GB, free: 14.03 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1721, allocations: 11.91 kB / 0.8263 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.1722, allocations: 4 kB / 0.8263 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1722, allocations: 0 / 0.8263 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1722, allocations: 0 / 0.8263 GB, free: 14.01 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1723, allocations: 148.7 kB / 0.8264 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1723, allocations: 0 / 0.8264 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1724, allocations: 27.97 kB / 0.8265 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1724, allocations: 3.938 kB / 0.8265 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1725, allocations: 4 kB / 0.8265 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1725, allocations: 4 kB / 0.8265 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1725, allocations: 4 kB / 0.8265 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1728, allocations: 148.9 kB / 0.8266 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.1729, allocations: 7.938 kB / 0.8266 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1729, allocations: 3.938 kB / 0.8266 GB, free: 13.6 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.1729, allocations: 4 kB / 0.8266 GB, free: 13.6 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.173, allocations: 15.97 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.173, allocations: 4 kB / 0.8267 GB, free: 13.58 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.4e-05/0.173, allocations: 83.22 kB / 0.8267 GB, free: 13.5 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.173, allocations: 0 / 0.8267 GB, free: 13.5 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002237/0.1733, allocations: 23.98 kB / 0.8268 GB, free: 13.47 MB / 0.5762 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.0001923/0.1734, allocations: 107.2 kB / 0.8269 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0003615/0.1738, allocations: 91.8 kB / 0.8269 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1738, allocations: 0 / 0.8269 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.000169/0.174, allocations: 43.91 kB / 0.827 GB, free: 13.23 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1741, allocations: 15.94 kB / 0.827 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.1745, allocations: 156.9 kB / 0.8272 GB, free: 13.03 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.175, allocations: 0.6846 MB / 0.8278 GB, free: 12.32 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001646/0.1751, allocations: 43.92 kB / 0.8279 GB, free: 12.28 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1752, allocations: 15.42 kB / 0.8279 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of SimCode: time 6.42e-07/0.1752, allocations: 0 / 0.8279 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003664/0.1788, allocations: 1.078 MB / 0.8289 GB, free: 11.19 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.588529429398477]
Failed to read output from testmodel.py, exit status != 0:
0.18632554449141026 0.20059824 0.030453637000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe967c217b0>