Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001347/0.001347, 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.002175/0.002175, allocations: 192.4 kB / 22.23 MB, free: 5.156 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.528/1.528, allocations: 225.6 MB / 251 MB, free: 13 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.9279/0.9279, allocations: 145 MB / 451.2 MB, free: 5.453 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 68.58 kB / 0.6254 GB, free: 15.45 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2169, allocations: 86.71 MB / 0.71 GB, free: 8.754 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00165/0.2186, allocations: 0.5876 MB / 0.7106 GB, free: 8.168 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0002469/0.2188, allocations: 48.27 kB / 0.7107 GB, free: 8.121 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.2189, allocations: 0 / 0.7107 GB, free: 8.121 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.2189, allocations: 0 / 0.7107 GB, free: 8.121 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.2189, allocations: 0 / 0.7107 GB, free: 8.121 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.2191, allocations: 15.92 kB / 0.7107 GB, free: 8.105 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 4.181e-05/0.2191, allocations: 11.98 kB / 0.7107 GB, free: 8.094 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.2192, allocations: 0 / 0.7107 GB, free: 8.094 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.2192, allocations: 0 / 0.7107 GB, free: 8.094 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.585e-05/0.2192, allocations: 11.94 kB / 0.7107 GB, free: 8.082 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.2192, allocations: 0 / 0.7107 GB, free: 8.082 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.2193, allocations: 11.98 kB / 0.7107 GB, free: 8.07 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.2193, allocations: 0 / 0.7107 GB, free: 8.07 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.2193, allocations: 3.938 kB / 0.7107 GB, free: 8.066 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.2194, allocations: 7.984 kB / 0.7107 GB, free: 8.059 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2194, allocations: 0 / 0.7107 GB, free: 8.059 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.723e-06/0.2194, allocations: 0 / 0.7107 GB, free: 8.059 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.929e-06/0.2194, allocations: 4 kB / 0.7107 GB, free: 8.055 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: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0003204/0.2197, allocations: 250.4 kB / 0.711 GB, free: 7.777 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2198, allocations: 8.031 kB / 0.711 GB, free: 7.77 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2198, allocations: 0.9375 kB / 0.711 GB, free: 7.77 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.902e-05/0.2199, allocations: 106.5 kB / 0.7111 GB, free: 7.641 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2199, allocations: 384 / 0.7111 GB, free: 7.641 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.2199, allocations: 384 / 0.7111 GB, free: 7.641 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.22, allocations: 42.19 kB / 0.7111 GB, free: 7.594 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.22, allocations: 4.125 kB / 0.7111 GB, free: 7.59 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.22, allocations: 7.938 kB / 0.7111 GB, free: 7.582 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.22, allocations: 0 / 0.7111 GB, free: 7.582 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.2201, allocations: 4 kB / 0.7111 GB, free: 7.578 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.2202, allocations: 120.8 kB / 0.7112 GB, free: 7.418 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/0.2203, allocations: 22.61 kB / 0.7113 GB, free: 7.387 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.2203, allocations: 4.859 kB / 0.7113 GB, free: 7.379 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2204, allocations: 8.047 kB / 0.7113 GB, free: 7.371 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.2204, allocations: 42.5 kB / 0.7113 GB, free: 7.32 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2204, allocations: 0 / 0.7113 GB, free: 7.32 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2): time 0.0001359/0.2206, allocations: 37.64 kB / 0.7114 GB, free: 7.277 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2206, allocations: 55.41 kB / 0.7114 GB, free: 7.211 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.2207, allocations: 101.8 kB / 0.7115 GB, free: 7.102 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.2207, allocations: 25.7 kB / 0.7115 GB, free: 7.07 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.2207, allocations: 80.14 kB / 0.7116 GB, free: 6.988 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2207, allocations: 0 / 0.7116 GB, free: 6.988 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.2208, allocations: 17.84 kB / 0.7116 GB, free: 6.965 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001346/0.2209, allocations: 310.8 kB / 0.7119 GB, free: 6.652 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/0.2209, allocations: 4 kB / 0.7119 GB, free: 6.648 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.2209, allocations: 7.938 kB / 0.7119 GB, free: 6.641 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.221, allocations: 12.84 kB / 0.7119 GB, free: 6.625 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.221, allocations: 0 / 0.7119 GB, free: 6.625 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 6.982e-05/0.221, allocations: 37.7 kB / 0.712 GB, free: 6.582 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.221, allocations: 12.09 kB / 0.712 GB, free: 6.57 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2211, allocations: 0 / 0.712 GB, free: 6.57 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2211, allocations: 3.938 kB / 0.712 GB, free: 6.566 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.909e-05/0.2211, allocations: 4 kB / 0.712 GB, free: 6.562 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2211, allocations: 0 / 0.712 GB, free: 6.562 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.2211, allocations: 3.984 kB / 0.712 GB, free: 6.559 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2211, allocations: 0 / 0.712 GB, free: 6.559 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 (n,fac)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * 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 7.326e-05/0.2212, allocations: 109.8 kB / 0.7121 GB, free: 6.441 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.2212, allocations: 7.938 kB / 0.7121 GB, free: 6.434 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.2213, allocations: 56.77 kB / 0.7122 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2213, allocations: 0 / 0.7122 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2213, allocations: 0 / 0.7122 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.2213, allocations: 0 / 0.7122 GB, free: 6.367 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.937e-05/0.2214, allocations: 120.7 kB / 0.7123 GB, free: 6.207 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2214, allocations: 8 kB / 0.7123 GB, free: 6.199 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.2214, allocations: 3.984 kB / 0.7123 GB, free: 6.195 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2215, allocations: 0 / 0.7123 GB, free: 6.195 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2215, allocations: 7.938 kB / 0.7123 GB, free: 6.188 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2215, allocations: 0 / 0.7123 GB, free: 6.188 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2215, allocations: 8.016 kB / 0.7123 GB, free: 6.18 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.971e-05/0.2216, allocations: 69.02 kB / 0.7124 GB, free: 6.094 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.2216, allocations: 0 / 0.7124 GB, free: 6.094 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2216, allocations: 7.938 kB / 0.7124 GB, free: 6.086 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.2216, allocations: 0 / 0.7124 GB, free: 6.086 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.2216, allocations: 0 / 0.7124 GB, free: 6.086 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.2216, allocations: 0 / 0.7124 GB, free: 6.086 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 3.561e-05/0.2216, allocations: 79.31 kB / 0.7125 GB, free: 6.008 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 8e-08/0.2216, allocations: 0 / 0.7125 GB, free: 6.008 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0001863/0.2218, allocations: 7.938 kB / 0.7125 GB, free: 6 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,n)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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.0001558/0.222, allocations: 107.2 kB / 0.7126 GB, free: 5.883 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 7.445e-05/0.2221, allocations: 8 kB / 0.7126 GB, free: 5.875 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2221, allocations: 0 / 0.7126 GB, free: 5.875 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.2221, allocations: 7.938 kB / 0.7126 GB, free: 5.867 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.2222, allocations: 4.125 kB / 0.7126 GB, free: 5.863 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.2224, allocations: 92.84 kB / 0.7127 GB, free: 5.746 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2227, allocations: 0.669 MB / 0.7133 GB, free: 5.051 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 1.598e-05/0.2227, allocations: 4 kB / 0.7133 GB, free: 5.047 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.2227, allocations: 7.438 kB / 0.7133 GB, free: 5.039 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.2e-07/0.2227, allocations: 0 / 0.7133 GB, free: 5.039 MB / 0.5294 GB
Notification: Performance of Templates: time 0.00256/0.2253, allocations: 331.6 kB / 0.7137 GB, free: 4.719 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.8279162151739]
Failed to read output from testmodel.py, exit status != 0:
0.2328302627429366 0.24804291999999994 0.025580078000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f57dace17b0>