Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.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.001245/0.001245, 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.001297/0.001297, allocations: 191.5 kB / 22.23 MB, free: 5.137 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
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.002239/0.002239, allocations: 292.6 kB / 306.6 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.172/1.172, allocations: 180.9 MB / 0.53 GB, free: 14.44 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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 103.7 kB / 0.7309 GB, free: 38.78 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1557, allocations: 94.21 MB / 0.8229 GB, free: 1.77 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001617/0.1573, allocations: 0.5764 MB / 0.8234 GB, free: 1.195 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.000255/0.1576, allocations: 60.17 kB / 0.8235 GB, free: 1.137 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.1576, allocations: 4 kB / 0.8235 GB, free: 1.133 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.1576, allocations: 3.938 kB / 0.8235 GB, free: 1.129 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.1576, allocations: 4 kB / 0.8235 GB, free: 1.125 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1579, allocations: 11.98 kB / 0.8235 GB, free: 1.113 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.158, allocations: 31.97 kB / 0.8235 GB, free: 1.082 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.158, allocations: 4 kB / 0.8236 GB, free: 1.078 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.158, allocations: 11.98 kB / 0.8236 GB, free: 1.066 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.768e-05/0.1581, allocations: 11.98 kB / 0.8236 GB, free: 1.055 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1581, allocations: 0 / 0.8236 GB, free: 1.055 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.1582, allocations: 31.91 kB / 0.8236 GB, free: 1.023 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.1582, allocations: 11.98 kB / 0.8236 GB, free: 1.012 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1582, allocations: 11.94 kB / 0.8236 GB, free: 1 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 9.508e-05/0.1583, allocations: 39.77 kB / 0.8237 GB, free: 0.9609 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1583, allocations: 7.938 kB / 0.8237 GB, free: 0.9531 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.442e-06/0.1583, allocations: 0 / 0.8237 GB, free: 0.9531 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 4.538e-06/0.1583, allocations: 0 / 0.8237 GB, free: 0.9531 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.0003184/0.1586, allocations: 262.3 kB / 0.8239 GB, free: 0.6641 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1587, allocations: 12.03 kB / 0.8239 GB, free: 0.6523 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1587, allocations: 0.9375 kB / 0.8239 GB, free: 0.6523 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.1588, allocations: 114.5 kB / 0.824 GB, free: 0.5156 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1588, allocations: 4.359 kB / 0.8241 GB, free: 0.5117 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1588, allocations: 4.375 kB / 0.8241 GB, free: 0.5078 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.159, allocations: 66.17 kB / 0.8241 GB, free: 448 kB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.159, allocations: 192 / 0.8241 GB, free: 448 kB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.159, allocations: 15.94 kB / 0.8241 GB, free: 432 kB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.159, allocations: 0 / 0.8241 GB, free: 432 kB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1591, allocations: 107.8 kB / 0.8242 GB, free: 324 kB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1593, allocations: 148.6 kB / 0.8244 GB, free: 132 kB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1594, allocations: 66.53 kB / 0.8244 GB, free: 56 kB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.1595, allocations: 28.84 kB / 0.8245 GB, free: 24 kB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.1596, allocations: 23.98 kB / 0.8245 GB, free: 0 / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1597, allocations: 30.56 kB / 0.8245 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.1597, allocations: 0 / 0.8245 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11): time 0.0002432/0.1599, allocations: 117.8 kB / 0.8246 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1599, allocations: 51.41 kB / 0.8247 GB, free: 15.78 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.16, allocations: 105.8 kB / 0.8248 GB, free: 15.66 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.16, allocations: 25.7 kB / 0.8248 GB, free: 15.63 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.16, allocations: 80.14 kB / 0.8249 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1601, allocations: 19.91 kB / 0.8249 GB, free: 15.53 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1601, allocations: 33.7 kB / 0.8249 GB, free: 15.49 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000122/0.1602, allocations: 314.8 kB / 0.8252 GB, free: 15.18 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.1603, allocations: 19.98 kB / 0.8253 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.1603, allocations: 19.98 kB / 0.8253 GB, free: 15.14 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.1604, allocations: 65.36 kB / 0.8253 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1604, allocations: 0 / 0.8253 GB, free: 15.07 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001369/0.1605, allocations: 97.56 kB / 0.8254 GB, free: 14.97 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1606, allocations: 4 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1606, allocations: 7.938 kB / 0.8254 GB, free: 14.96 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1606, allocations: 4 kB / 0.8254 GB, free: 14.95 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.1607, allocations: 15.98 kB / 0.8255 GB, free: 14.94 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1607, allocations: 4 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1607, allocations: 3.938 kB / 0.8255 GB, free: 14.93 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1607, allocations: 7.938 kB / 0.8255 GB, free: 14.92 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1])
 * 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.0001143/0.1608, allocations: 126.4 kB / 0.8256 GB, free: 14.79 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1608, allocations: 11.89 kB / 0.8256 GB, free: 14.78 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.161, allocations: 121.5 kB / 0.8257 GB, free: 14.65 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1611, allocations: 7.984 kB / 0.8257 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1611, allocations: 0 / 0.8257 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1611, allocations: 0 / 0.8257 GB, free: 14.64 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1612, allocations: 144.7 kB / 0.8259 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1612, allocations: 0 / 0.8259 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.1612, allocations: 23.92 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1613, allocations: 3.938 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1613, allocations: 4 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1613, allocations: 4 kB / 0.8259 GB, free: 14.42 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1613, allocations: 0 / 0.8259 GB, free: 14.42 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.1614, allocations: 117 kB / 0.826 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.1614, allocations: 15.83 kB / 0.826 GB, free: 14.27 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1614, allocations: 4 kB / 0.826 GB, free: 14.27 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.1614, allocations: 8 kB / 0.826 GB, free: 14.26 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1615, allocations: 7.969 kB / 0.826 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1615, allocations: 8 kB / 0.8261 GB, free: 14.25 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.308e-05/0.1615, allocations: 79.28 kB / 0.8261 GB, free: 14.17 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1615, allocations: 0 / 0.8261 GB, free: 14.17 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002009/0.1617, allocations: 12 kB / 0.8261 GB, free: 14.16 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],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.0001502/0.1619, allocations: 111.2 kB / 0.8262 GB, free: 14.04 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001414/0.162, allocations: 59.89 kB / 0.8263 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.162, allocations: 0 / 0.8263 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.1621, allocations: 31.92 kB / 0.8263 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1622, allocations: 13.89 kB / 0.8263 GB, free: 13.94 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.1624, allocations: 140.9 kB / 0.8265 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1627, allocations: 0.6846 MB / 0.8272 GB, free: 13.06 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 8.016e-05/0.1628, allocations: 39.92 kB / 0.8272 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.1628, allocations: 11.44 kB / 0.8272 GB, free: 13.01 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.81e-07/0.1628, allocations: 0 / 0.8272 GB, free: 13.01 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002854/0.1657, allocations: 0.6518 MB / 0.8278 GB, free: 12.37 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.612153632566333]
Failed to read output from testmodel.py, exit status != 0:
0.17248864844441414 0.185937988 0.0249091
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6998c117b0>