Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001406/0.001406, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001811/0.001811, allocations: 190.6 kB / 22.98 MB, free: 5.062 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.544/1.544, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9552/0.9552, allocations: 149.6 MB / 456.6 MB, free: 1.164 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial")
translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 68.73 kB / 0.6329 GB, free: 8.906 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2516, allocations: 87.88 MB / 0.7187 GB, free: 0.9609 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001981/0.2536, allocations: 0.5889 MB / 0.7193 GB, free: 388 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0003129/0.2539, allocations: 64.27 kB / 0.7193 GB, free: 324 kB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.2539, allocations: 0 / 0.7193 GB, free: 324 kB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.254, allocations: 3.938 kB / 0.7193 GB, free: 320 kB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.254, allocations: 0 / 0.7193 GB, free: 320 kB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2543, allocations: 15.98 kB / 0.7194 GB, free: 304 kB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.2544, allocations: 27.97 kB / 0.7194 GB, free: 276 kB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.2544, allocations: 11.98 kB / 0.7194 GB, free: 264 kB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.2545, allocations: 8 kB / 0.7194 GB, free: 256 kB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.2545, allocations: 19.97 kB / 0.7194 GB, free: 236 kB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.2545, allocations: 0 / 0.7194 GB, free: 236 kB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.2546, allocations: 19.98 kB / 0.7194 GB, free: 216 kB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.2546, allocations: 15.94 kB / 0.7195 GB, free: 200 kB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.2547, allocations: 15.91 kB / 0.7195 GB, free: 184 kB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.2548, allocations: 31.89 kB / 0.7195 GB, free: 152 kB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2548, allocations: 3.938 kB / 0.7195 GB, free: 148 kB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.2548, allocations: 0 / 0.7195 GB, free: 148 kB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.762e-06/0.2548, allocations: 0 / 0.7195 GB, free: 148 kB / 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.0004254/0.2553, allocations: 262.3 kB / 0.7198 GB, free: 15.86 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2553, allocations: 8.625 kB / 0.7198 GB, free: 15.85 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.2553, allocations: 4.891 kB / 0.7198 GB, free: 15.84 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.2554, allocations: 114.5 kB / 0.7199 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2555, allocations: 384 / 0.7199 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.2555, allocations: 8.375 kB / 0.7199 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.2557, allocations: 58.23 kB / 0.7199 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2557, allocations: 192 / 0.7199 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2557, allocations: 11.88 kB / 0.7199 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2557, allocations: 0 / 0.7199 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.2559, allocations: 107.8 kB / 0.7201 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.2561, allocations: 144.6 kB / 0.7202 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2562, allocations: 74.53 kB / 0.7203 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.2563, allocations: 24.84 kB / 0.7203 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.2565, allocations: 19.98 kB / 0.7203 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2565, allocations: 30.56 kB / 0.7203 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.2565, allocations: 0 / 0.7203 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11): time 0.0002818/0.2568, allocations: 125.8 kB / 0.7205 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.2568, allocations: 55.41 kB / 0.7205 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.2569, allocations: 97.84 kB / 0.7206 GB, free: 14.87 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2569, allocations: 29.7 kB / 0.7206 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.257, allocations: 84.12 kB / 0.7207 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.257, allocations: 23.8 kB / 0.7207 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.257, allocations: 29.7 kB / 0.7208 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001543/0.2572, allocations: 314.8 kB / 0.7211 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.2572, allocations: 19.98 kB / 0.7211 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.2573, allocations: 19.98 kB / 0.7211 GB, free: 14.33 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2574, allocations: 73.36 kB / 0.7212 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2574, allocations: 3.938 kB / 0.7212 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001489/0.2575, allocations: 85.67 kB / 0.7213 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2576, allocations: 4 kB / 0.7213 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2576, allocations: 7.938 kB / 0.7213 GB, free: 14.15 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2576, allocations: 0 / 0.7213 GB, free: 14.15 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2577, allocations: 19.98 kB / 0.7213 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2577, allocations: 0 / 0.7213 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.2577, allocations: 3.953 kB / 0.7213 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2577, allocations: 8 kB / 0.7213 GB, free: 14.12 MB / 0.545 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.0001685/0.2579, allocations: 129.8 kB / 0.7214 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.2579, allocations: 0 / 0.7214 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.2582, allocations: 125.4 kB / 0.7215 GB, free: 13.85 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2582, allocations: 4 kB / 0.7215 GB, free: 13.85 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2582, allocations: 0 / 0.7215 GB, free: 13.85 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2582, allocations: 7.969 kB / 0.7215 GB, free: 13.84 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2583, allocations: 140.7 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2583, allocations: 4 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/0.2584, allocations: 23.92 kB / 0.7217 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2584, allocations: 7.938 kB / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.2584, allocations: 4 kB / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2584, allocations: 0 / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2584, allocations: 0 / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.2586, allocations: 132.9 kB / 0.7218 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.2586, allocations: 3.938 kB / 0.7219 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.2586, allocations: 0 / 0.7219 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.2587, allocations: 8 kB / 0.7219 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.2587, allocations: 7.984 kB / 0.7219 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2587, allocations: 7.984 kB / 0.7219 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 3.622e-05/0.2587, allocations: 75.28 kB / 0.7219 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.2587, allocations: 0 / 0.7219 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002079/0.2589, allocations: 16 kB / 0.722 GB, free: 13.36 MB / 0.545 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.0002031/0.2591, allocations: 111.1 kB / 0.7221 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001718/0.2593, allocations: 63.95 kB / 0.7221 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2593, allocations: 0 / 0.7221 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 6.075e-05/0.2594, allocations: 39.86 kB / 0.7222 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2595, allocations: 4 kB / 0.7222 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.2599, allocations: 145.7 kB / 0.7223 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2602, allocations: 0.6846 MB / 0.723 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 8.22e-05/0.2603, allocations: 31.97 kB / 0.723 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.2603, allocations: 19.42 kB / 0.723 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of SimCode: time 2.8e-07/0.2603, allocations: 0 / 0.723 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of Templates: time 0.003432/0.2638, allocations: 0.6368 MB / 0.7236 GB, free: 11.57 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.0587678933516145]
Failed to read output from testmodel.py, exit status != 0:
0.27515920903533697 0.289986303 0.030539559
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f43304a97b0>