Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001238/0.001238, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001514/0.001514, allocations: 189 kB / 22.22 MB, free: 5.105 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.377/1.377, 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/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.8927/0.8927, allocations: 145 MB / 451.3 MB, free: 5.473 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 72.2 kB / 0.6253 GB, free: 15.52 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1795, allocations: 86.71 MB / 0.71 GB, free: 8.809 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002607/0.1821, allocations: 1.549 MB / 0.7115 GB, free: 7.254 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0003437/0.1824, allocations: 136.4 kB / 0.7116 GB, free: 7.117 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.1825, allocations: 0 / 0.7116 GB, free: 7.117 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.1825, allocations: 7.922 kB / 0.7117 GB, free: 7.109 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.1825, allocations: 7.984 kB / 0.7117 GB, free: 7.102 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1828, allocations: 31.91 kB / 0.7117 GB, free: 7.07 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.1829, allocations: 39.86 kB / 0.7117 GB, free: 7.031 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.651e-05/0.183, allocations: 8 kB / 0.7117 GB, free: 7.023 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.183, allocations: 19.91 kB / 0.7118 GB, free: 7.004 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.183, allocations: 19.92 kB / 0.7118 GB, free: 6.984 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.183, allocations: 4 kB / 0.7118 GB, free: 6.98 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.211e-05/0.1831, allocations: 19.98 kB / 0.7118 GB, free: 6.961 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1831, allocations: 11.98 kB / 0.7118 GB, free: 6.949 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1832, allocations: 15.92 kB / 0.7118 GB, free: 6.934 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1833, allocations: 51.75 kB / 0.7119 GB, free: 6.883 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1833, allocations: 0 / 0.7119 GB, free: 6.883 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.172e-06/0.1833, allocations: 0 / 0.7119 GB, free: 6.883 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.318e-06/0.1833, allocations: 0 / 0.7119 GB, free: 6.883 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004423/0.1837, allocations: 274.2 kB / 0.7121 GB, free: 6.582 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.1838, allocations: 12.03 kB / 0.7121 GB, free: 6.57 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.1838, allocations: 4.891 kB / 0.7122 GB, free: 6.566 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.1839, allocations: 118.5 kB / 0.7123 GB, free: 6.426 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1839, allocations: 4.375 kB / 0.7123 GB, free: 6.422 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-06/0.1839, allocations: 8.375 kB / 0.7123 GB, free: 6.414 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1841, allocations: 58.23 kB / 0.7123 GB, free: 6.352 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1841, allocations: 192 / 0.7123 GB, free: 6.352 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1841, allocations: 7.938 kB / 0.7123 GB, free: 6.344 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1841, allocations: 3.984 kB / 0.7123 GB, free: 6.34 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1843, allocations: 47.89 kB / 0.7124 GB, free: 6.293 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1847, allocations: 251.9 kB / 0.7126 GB, free: 6.004 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.185, allocations: 54.55 kB / 0.7127 GB, free: 5.941 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1851, allocations: 32.89 kB / 0.7127 GB, free: 5.906 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1852, allocations: 15.98 kB / 0.7127 GB, free: 5.891 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1852, allocations: 38.5 kB / 0.7128 GB, free: 5.844 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1852, allocations: 4 kB / 0.7128 GB, free: 5.84 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3): time 0.0003784/0.1856, allocations: 97.58 kB / 0.7129 GB, free: 5.738 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1857, allocations: 51.41 kB / 0.7129 GB, free: 5.676 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.1857, allocations: 109.8 kB / 0.713 GB, free: 5.559 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1858, allocations: 29.64 kB / 0.713 GB, free: 5.523 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.1858, allocations: 92.08 kB / 0.7131 GB, free: 5.43 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.1858, allocations: 7.953 kB / 0.7131 GB, free: 5.422 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1858, allocations: 17.72 kB / 0.7132 GB, free: 5.398 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001235/0.186, allocations: 318.8 kB / 0.7135 GB, free: 5.078 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.1861, allocations: 19.98 kB / 0.7135 GB, free: 5.059 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.1862, allocations: 23.97 kB / 0.7135 GB, free: 5.035 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.1863, allocations: 48.77 kB / 0.7136 GB, free: 4.984 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1863, allocations: 0 / 0.7136 GB, free: 4.984 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002199/0.1866, allocations: 73.64 kB / 0.7136 GB, free: 4.906 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1866, allocations: 8 kB / 0.7136 GB, free: 4.898 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.1866, allocations: 0 / 0.7136 GB, free: 4.898 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1866, allocations: 0 / 0.7136 GB, free: 4.898 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.1867, allocations: 15.98 kB / 0.7136 GB, free: 4.883 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1867, allocations: 0 / 0.7136 GB, free: 4.883 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.1867, allocations: 19.88 kB / 0.7137 GB, free: 4.863 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1868, allocations: 0 / 0.7137 GB, free: 4.863 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: 2 (falFac.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.903e-05/0.1868, allocations: 117.7 kB / 0.7138 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1869, allocations: 0 / 0.7138 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1871, allocations: 85.64 kB / 0.7139 GB, free: 4.641 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1871, allocations: 0 / 0.7139 GB, free: 4.641 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1871, allocations: 0 / 0.7139 GB, free: 4.641 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1871, allocations: 4 kB / 0.7139 GB, free: 4.637 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.1873, allocations: 144.7 kB / 0.714 GB, free: 4.453 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1873, allocations: 0 / 0.714 GB, free: 4.453 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.1874, allocations: 12.36 kB / 0.714 GB, free: 4.441 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1874, allocations: 0 / 0.714 GB, free: 4.441 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1874, allocations: 0 / 0.714 GB, free: 4.441 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1874, allocations: 4 kB / 0.714 GB, free: 4.438 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1874, allocations: 0 / 0.714 GB, free: 4.438 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1877, allocations: 187.3 kB / 0.7142 GB, free: 4.238 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.1877, allocations: 0 / 0.7142 GB, free: 4.238 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1877, allocations: 0 / 0.7142 GB, free: 4.238 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.1878, allocations: 7.984 kB / 0.7142 GB, free: 4.23 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.1878, allocations: 11.98 kB / 0.7142 GB, free: 4.219 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1878, allocations: 0 / 0.7142 GB, free: 4.219 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 4.958e-05/0.1879, allocations: 87.28 kB / 0.7143 GB, free: 4.133 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.1879, allocations: 3.938 kB / 0.7143 GB, free: 4.129 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002201/0.1881, allocations: 12 kB / 0.7143 GB, free: 4.117 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: 2 (rea2Int.y,falFac.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.0001239/0.1882, allocations: 99.23 kB / 0.7144 GB, free: 4.012 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.000237/0.1885, allocations: 51.89 kB / 0.7145 GB, free: 3.961 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1885, allocations: 0 / 0.7145 GB, free: 3.961 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1886, allocations: 27.91 kB / 0.7145 GB, free: 3.934 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.1888, allocations: 11.94 kB / 0.7145 GB, free: 3.922 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.1891, allocations: 125.5 kB / 0.7146 GB, free: 3.773 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1893, allocations: 0.6807 MB / 0.7153 GB, free: 3.066 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 3.016e-05/0.1894, allocations: 7.859 kB / 0.7153 GB, free: 3.059 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.1894, allocations: 15.42 kB / 0.7153 GB, free: 3.043 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.1e-07/0.1894, allocations: 0 / 0.7153 GB, free: 3.043 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003097/0.1925, allocations: 0.7817 MB / 0.7161 GB, free: 2.262 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.395005956292152]
Failed to read output from testmodel.py, exit status != 0:
0.19949446432292461 0.213425724 0.027321795000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4159e617b0>