Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001484/0.001484, 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.001644/0.001644, allocations: 192.3 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.335/1.335, 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/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.002465/0.002465, allocations: 292.1 kB / 306.6 MB, free: 8.316 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.157/1.157, allocations: 180.9 MB / 0.53 GB, free: 14.32 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial")
translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002619/0.002619, allocations: 106.5 kB / 0.7308 GB, free: 38.9 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1475, allocations: 94.19 MB / 0.8228 GB, free: 1.906 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002632/0.1501, allocations: 1.562 MB / 0.8244 GB, free: 344 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0004473/0.1505, allocations: 180.3 kB / 0.8245 GB, free: 160 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.1506, allocations: 0 / 0.8245 GB, free: 160 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.1506, allocations: 3.938 kB / 0.8245 GB, free: 156 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.1507, allocations: 7.875 kB / 0.8245 GB, free: 148 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1509, allocations: 55.88 kB / 0.8246 GB, free: 92 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.151, allocations: 35.92 kB / 0.8246 GB, free: 56 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.1511, allocations: 15.98 kB / 0.8246 GB, free: 40 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.1511, allocations: 19.91 kB / 0.8247 GB, free: 20 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.1512, allocations: 15.92 kB / 0.8247 GB, free: 4 kB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1512, allocations: 4 kB / 0.8247 GB, free: 0 / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1513, allocations: 55.94 kB / 0.8247 GB, free: 15.95 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1513, allocations: 8 kB / 0.8247 GB, free: 15.94 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.1514, allocations: 15.92 kB / 0.8248 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.1515, allocations: 67.73 kB / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1515, allocations: 0 / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.152e-06/0.1515, allocations: 0 / 0.8248 GB, free: 15.86 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.645e-06/0.1515, allocations: 0 / 0.8248 GB, free: 15.86 MB / 0.5762 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.0004431/0.152, allocations: 286.2 kB / 0.8251 GB, free: 15.54 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.152, allocations: 12.03 kB / 0.8251 GB, free: 15.53 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.152, allocations: 4.891 kB / 0.8251 GB, free: 15.53 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1521, allocations: 110.5 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1522, allocations: 4.375 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1522, allocations: 4.375 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1524, allocations: 62.22 kB / 0.8253 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1524, allocations: 8.125 kB / 0.8253 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1524, allocations: 3.938 kB / 0.8253 GB, free: 15.31 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1524, allocations: 4 kB / 0.8253 GB, free: 15.3 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1526, allocations: 43.95 kB / 0.8253 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.153, allocations: 259.7 kB / 0.8256 GB, free: 14.96 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1533, allocations: 62.53 kB / 0.8256 GB, free: 14.89 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1534, allocations: 26.41 kB / 0.8257 GB, free: 14.87 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.1535, allocations: 15.97 kB / 0.8257 GB, free: 14.85 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1535, allocations: 30.56 kB / 0.8257 GB, free: 14.81 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1535, allocations: 0 / 0.8257 GB, free: 14.81 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.0003916/0.1539, allocations: 101.5 kB / 0.8258 GB, free: 14.71 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.154, allocations: 59.39 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.1541, allocations: 101.9 kB / 0.826 GB, free: 14.53 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1541, allocations: 25.7 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.1541, allocations: 88.12 kB / 0.8261 GB, free: 14.41 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.1541, allocations: 7.953 kB / 0.8261 GB, free: 14.4 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.1542, allocations: 17.72 kB / 0.8261 GB, free: 14.38 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000146/0.1543, allocations: 322.8 kB / 0.8264 GB, free: 14.05 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.1544, allocations: 19.98 kB / 0.8264 GB, free: 14.03 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.1545, allocations: 15.98 kB / 0.8264 GB, free: 14.02 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1547, allocations: 49.09 kB / 0.8265 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1547, allocations: 0 / 0.8265 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002266/0.1549, allocations: 85.56 kB / 0.8266 GB, free: 13.88 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1549, allocations: 4 kB / 0.8266 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1549, allocations: 0 / 0.8266 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1549, allocations: 0 / 0.8266 GB, free: 13.87 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.155, allocations: 15.98 kB / 0.8266 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.155, allocations: 0 / 0.8266 GB, free: 13.86 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.1551, allocations: 7.953 kB / 0.8266 GB, free: 13.85 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1551, allocations: 4 kB / 0.8266 GB, free: 13.84 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: 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.026e-05/0.1552, allocations: 118.4 kB / 0.8267 GB, free: 13.72 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1552, allocations: 4 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.1555, allocations: 85.58 kB / 0.8268 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1555, allocations: 0 / 0.8268 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1555, allocations: 8 kB / 0.8268 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1555, allocations: 0 / 0.8268 GB, free: 13.61 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1556, allocations: 140.7 kB / 0.8269 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1556, allocations: 0 / 0.8269 GB, free: 13.43 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.1557, allocations: 19.92 kB / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1557, allocations: 0 / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1557, allocations: 0 / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1557, allocations: 0 / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1557, allocations: 3.938 kB / 0.827 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.156, allocations: 179.3 kB / 0.8271 GB, free: 13.21 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.156, allocations: 11.94 kB / 0.8271 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.156, allocations: 0 / 0.8271 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.1561, allocations: 7.984 kB / 0.8272 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1561, allocations: 4 kB / 0.8272 GB, free: 13.19 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1561, allocations: 4 kB / 0.8272 GB, free: 13.19 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.859e-05/0.1562, allocations: 91.56 kB / 0.8273 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 5e-08/0.1562, allocations: 0 / 0.8273 GB, free: 13.1 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002307/0.1564, allocations: 16 kB / 0.8273 GB, free: 13.08 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: 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.0001583/0.1566, allocations: 123.2 kB / 0.8274 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002355/0.1568, allocations: 39.95 kB / 0.8274 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1568, allocations: 0 / 0.8274 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1569, allocations: 31.91 kB / 0.8275 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1572, allocations: 7.938 kB / 0.8275 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.1575, allocations: 113.7 kB / 0.8276 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1578, allocations: 0.6807 MB / 0.8282 GB, free: 12.03 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.055e-05/0.1578, allocations: 7.984 kB / 0.8282 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1578, allocations: 7.438 kB / 0.8282 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.71e-07/0.1578, allocations: 0 / 0.8282 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003398/0.1612, allocations: 1.005 MB / 0.8292 GB, free: 11.02 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.599171042442322]
Failed to read output from testmodel.py, exit status != 0:
0.16740614362061024 0.181565839 0.027133793000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7feaae8757b0>