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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 213.8 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.043 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.9348/0.9348, allocations: 145 MB / 457.4 MB, free: 15.34 MB / 366.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 66.27 kB / 0.6336 GB, free: 6.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1675, allocations: 87.89 MB / 0.7194 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.0017/0.1692, allocations: 0.5748 MB / 0.72 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00027/0.1694, allocations: 51.88 kB / 0.72 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1695, allocations: 0 / 0.72 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.668e-06/0.1695, allocations: 4 kB / 0.72 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-06/0.1695, allocations: 3.938 kB / 0.7201 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1697, allocations: 15.97 kB / 0.7201 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.048e-05/0.1697, allocations: 0 / 0.7201 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.1698, allocations: 4 kB / 0.7201 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.244e-05/0.1698, allocations: 0 / 0.7201 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.13e-05/0.1698, allocations: 4 kB / 0.7201 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.447e-06/0.1698, allocations: 3.938 kB / 0.7201 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.1699, allocations: 11.98 kB / 0.7201 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.1699, allocations: 0 / 0.7201 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.1699, allocations: 7.984 kB / 0.7201 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.68e-05/0.17, allocations: 11.98 kB / 0.7201 GB, free: 13.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.17, allocations: 0 / 0.7201 GB, free: 13.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.17, allocations: 0 / 0.7201 GB, free: 13.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.17, allocations: 0 / 0.7201 GB, free: 13.69 MB / 0.545 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.0003004/0.1703, allocations: 238.4 kB / 0.7203 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1703, allocations: 12.03 kB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.1704, allocations: 0.9375 kB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.1705, allocations: 110.5 kB / 0.7205 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1705, allocations: 384 / 0.7205 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1705, allocations: 4.375 kB / 0.7205 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.1706, allocations: 34.27 kB / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1706, allocations: 192 / 0.7205 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1706, allocations: 3.938 kB / 0.7205 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1706, allocations: 0 / 0.7205 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.1706, allocations: 15.92 kB / 0.7205 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.1708, allocations: 97.33 kB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.1709, allocations: 26.55 kB / 0.7206 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.1709, allocations: 8.922 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.171, allocations: 7.984 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.171, allocations: 30.56 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.171, allocations: 4 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001635/0.1712, allocations: 45.64 kB / 0.7207 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1712, allocations: 51.41 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.1713, allocations: 97.78 kB / 0.7209 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1713, allocations: 25.7 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.1714, allocations: 80.14 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1714, allocations: 3.938 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1714, allocations: 17.72 kB / 0.721 GB, free: 12.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1716, allocations: 310.8 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.1716, allocations: 4 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.1716, allocations: 4.125 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.1716, allocations: 20.84 kB / 0.7213 GB, free: 12.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1716, allocations: 0 / 0.7213 GB, free: 12.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.493e-05/0.1717, allocations: 37.66 kB / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1717, allocations: 4 kB / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1717, allocations: 0 / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1717, allocations: 0 / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.1718, allocations: 11.88 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1718, allocations: 7.969 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.1718, allocations: 8.094 kB / 0.7214 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1718, allocations: 4 kB / 0.7214 GB, free: 12.21 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: 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 9.579e-05/0.1719, allocations: 109.8 kB / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.1719, allocations: 0 / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.172, allocations: 44.84 kB / 0.7215 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.172, allocations: 3.938 kB / 0.7215 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.172, allocations: 0 / 0.7215 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.172, allocations: 3.984 kB / 0.7215 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.1721, allocations: 97.33 kB / 0.7216 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1721, allocations: 0 / 0.7216 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.1722, allocations: 8.031 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1722, allocations: 7.875 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1722, allocations: 0 / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1722, allocations: 3.984 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.1722, allocations: 3.938 kB / 0.7216 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.946e-05/0.1723, allocations: 61.14 kB / 0.7217 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-06/0.1723, allocations: 0 / 0.7217 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1723, allocations: 7.984 kB / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.015e-05/0.1723, allocations: 0 / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.1723, allocations: 7.938 kB / 0.7217 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1723, allocations: 8.031 kB / 0.7217 GB, free: 11.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.1724, allocations: 75.28 kB / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.1724, allocations: 0 / 0.7218 GB, free: 11.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001978/0.1726, allocations: 4 kB / 0.7218 GB, free: 11.71 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: 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.0001734/0.1728, allocations: 103.2 kB / 0.7219 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.1728, allocations: 11.94 kB / 0.7219 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1728, allocations: 0 / 0.7219 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/0.1729, allocations: 8 kB / 0.7219 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.173, allocations: 12.06 kB / 0.7219 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.1732, allocations: 88.84 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6e-05/0.1733, allocations: 55.36 kB / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.226e-05/0.1733, allocations: 0 / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.1733, allocations: 7.438 kB / 0.7221 GB, free: 11.37 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1733, allocations: 0 / 0.7221 GB, free: 11.37 MB / 0.545 GB Notification: Performance of Templates: time 0.002493/0.1758, allocations: 317.6 kB / 0.7224 GB, free: 11.06 MB / 0.545 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.396182604134083] Failed to read output from testmodel.py, exit status != 0: 0.18468051590025425 0.199059765 0.025966895 Calling exit ...