Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.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.001242/0.001242, allocations: 110.2 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.001442/0.001442, allocations: 192 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.368/1.368, allocations: 225.6 MB / 251 MB, free: 13.01 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.8998/0.8998, allocations: 145 MB / 451.2 MB, free: 5.457 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.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.14 kB / 0.6253 GB, free: 15.48 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1704, allocations: 86.7 MB / 0.71 GB, free: 8.758 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002881/0.1733, allocations: 1.523 MB / 0.7115 GB, free: 7.227 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.000406/0.1737, allocations: 132.5 kB / 0.7116 GB, free: 7.094 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.1737, allocations: 0 / 0.7116 GB, free: 7.094 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.1738, allocations: 0 / 0.7116 GB, free: 7.094 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.1738, allocations: 7.938 kB / 0.7116 GB, free: 7.086 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1741, allocations: 23.91 kB / 0.7116 GB, free: 7.062 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.1741, allocations: 31.92 kB / 0.7117 GB, free: 7.031 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1742, allocations: 11.98 kB / 0.7117 GB, free: 7.02 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.1743, allocations: 8 kB / 0.7117 GB, free: 7.012 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.1743, allocations: 19.91 kB / 0.7117 GB, free: 6.992 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1744, allocations: 4 kB / 0.7117 GB, free: 6.988 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/0.1744, allocations: 19.92 kB / 0.7117 GB, free: 6.969 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1744, allocations: 4 kB / 0.7117 GB, free: 6.965 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.1745, allocations: 7.938 kB / 0.7117 GB, free: 6.957 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1746, allocations: 43.81 kB / 0.7118 GB, free: 6.914 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1746, allocations: 8 kB / 0.7118 GB, free: 6.906 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.1746, allocations: 0 / 0.7118 GB, free: 6.906 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.091e-06/0.1746, allocations: 0 / 0.7118 GB, free: 6.906 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004788/0.1751, allocations: 270.2 kB / 0.7121 GB, free: 6.609 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1751, allocations: 8.031 kB / 0.7121 GB, free: 6.602 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1752, allocations: 8.875 kB / 0.7121 GB, free: 6.594 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1753, allocations: 110.5 kB / 0.7122 GB, free: 6.461 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1753, allocations: 4.375 kB / 0.7122 GB, free: 6.457 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1753, allocations: 4.375 kB / 0.7122 GB, free: 6.453 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1755, allocations: 58.23 kB / 0.7122 GB, free: 6.391 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1755, allocations: 192 / 0.7122 GB, free: 6.391 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1755, allocations: 3.938 kB / 0.7122 GB, free: 6.387 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1755, allocations: 3.938 kB / 0.7122 GB, free: 6.383 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.1757, allocations: 43.95 kB / 0.7123 GB, free: 6.34 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1761, allocations: 232 kB / 0.7125 GB, free: 6.07 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.1764, allocations: 58.48 kB / 0.7126 GB, free: 6.004 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.1765, allocations: 24.89 kB / 0.7126 GB, free: 5.977 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/0.1766, allocations: 7.938 kB / 0.7126 GB, free: 5.969 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1766, allocations: 34.56 kB / 0.7126 GB, free: 5.926 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1766, allocations: 4 kB / 0.7126 GB, free: 5.922 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3): time 0.0003966/0.177, allocations: 89.62 kB / 0.7127 GB, free: 5.828 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1771, allocations: 51.41 kB / 0.7128 GB, free: 5.766 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.1772, allocations: 105.8 kB / 0.7129 GB, free: 5.652 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1772, allocations: 25.7 kB / 0.7129 GB, free: 5.621 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.1772, allocations: 88.14 kB / 0.713 GB, free: 5.531 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1772, allocations: 7.953 kB / 0.713 GB, free: 5.523 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1773, allocations: 17.72 kB / 0.713 GB, free: 5.5 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001311/0.1774, allocations: 314.8 kB / 0.7133 GB, free: 5.184 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.1775, allocations: 23.92 kB / 0.7133 GB, free: 5.16 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.1776, allocations: 15.97 kB / 0.7133 GB, free: 5.145 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1778, allocations: 48.83 kB / 0.7134 GB, free: 5.094 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1778, allocations: 7.938 kB / 0.7134 GB, free: 5.086 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.000224/0.178, allocations: 78.11 kB / 0.7135 GB, free: 5.004 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.178, allocations: 4 kB / 0.7135 GB, free: 5 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.178, allocations: 0 / 0.7135 GB, free: 5 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.178, allocations: 0 / 0.7135 GB, free: 5 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.1781, allocations: 11.98 kB / 0.7135 GB, free: 4.988 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1781, allocations: 0 / 0.7135 GB, free: 4.988 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.1782, allocations: 7.938 kB / 0.7135 GB, free: 4.98 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1782, allocations: 15.91 kB / 0.7135 GB, free: 4.965 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 (rea2Int.y,fac.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.964e-05/0.1783, allocations: 129.7 kB / 0.7136 GB, free: 4.828 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1783, allocations: 3.953 kB / 0.7136 GB, free: 4.824 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.1786, allocations: 81.33 kB / 0.7137 GB, free: 4.73 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1786, allocations: 0 / 0.7137 GB, free: 4.73 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1786, allocations: 0 / 0.7137 GB, free: 4.73 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1786, allocations: 3.938 kB / 0.7137 GB, free: 4.727 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1787, allocations: 144.7 kB / 0.7139 GB, free: 4.543 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1787, allocations: 0 / 0.7139 GB, free: 4.543 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.517e-05/0.1788, allocations: 11.98 kB / 0.7139 GB, free: 4.531 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1788, allocations: 0 / 0.7139 GB, free: 4.531 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1788, allocations: 0 / 0.7139 GB, free: 4.531 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1788, allocations: 0 / 0.7139 GB, free: 4.531 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1788, allocations: 3.938 kB / 0.7139 GB, free: 4.527 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1791, allocations: 175.5 kB / 0.714 GB, free: 4.34 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.1791, allocations: 3.984 kB / 0.714 GB, free: 4.336 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1791, allocations: 4 kB / 0.714 GB, free: 4.332 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.1792, allocations: 4 kB / 0.7141 GB, free: 4.328 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.1793, allocations: 7.984 kB / 0.7141 GB, free: 4.32 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1793, allocations: 0 / 0.7141 GB, free: 4.32 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 4.58e-05/0.1793, allocations: 83.27 kB / 0.7141 GB, free: 4.238 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 9e-08/0.1793, allocations: 0 / 0.7141 GB, free: 4.238 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002199/0.1795, allocations: 16 kB / 0.7142 GB, free: 4.223 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 (fac.y,rea2Int.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.0001419/0.1797, allocations: 99.23 kB / 0.7142 GB, free: 4.113 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0002421/0.1799, allocations: 47.89 kB / 0.7143 GB, free: 4.066 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1799, allocations: 0 / 0.7143 GB, free: 4.066 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.18, allocations: 23.97 kB / 0.7143 GB, free: 4.043 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1803, allocations: 7.938 kB / 0.7143 GB, free: 4.035 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1806, allocations: 117.5 kB / 0.7144 GB, free: 3.895 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1809, allocations: 0.6768 MB / 0.7151 GB, free: 3.191 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 4.26e-05/0.1809, allocations: 4 kB / 0.7151 GB, free: 3.188 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.1809, allocations: 7.438 kB / 0.7151 GB, free: 3.18 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.2e-07/0.1809, allocations: 3.938 kB / 0.7151 GB, free: 3.176 MB / 0.5294 GB
Notification: Performance of Templates: time 0.00317/0.1841, allocations: 0.744 MB / 0.7158 GB, free: 2.438 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.407011547125876]
Failed to read output from testmodel.py, exit status != 0:
0.1914809038862586 0.20668556500000002 0.028963794
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe95a3297b0>