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.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.001471/0.001471, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001633/0.001633, allocations: 213 kB / 23 MB, free: 4.566 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.8564/0.8564, allocations: 145 MB / 458.2 MB, free: 15.51 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.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: 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.00195/0.00195, allocations: 66.62 kB / 0.6344 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1534, allocations: 87.88 MB / 0.7202 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002628/0.156, allocations: 1.558 MB / 0.7217 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003553/0.1563, allocations: 148.3 kB / 0.7219 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.1564, allocations: 0 / 0.7219 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.1564, allocations: 0 / 0.7219 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.1564, allocations: 3.938 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1567, allocations: 35.91 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.353e-05/0.1568, allocations: 31.92 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1569, allocations: 15.97 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.157, allocations: 15.94 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.157, allocations: 23.92 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.157, allocations: 4 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-05/0.1571, allocations: 27.91 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.1571, allocations: 7.984 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.1572, allocations: 15.88 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1573, allocations: 51.8 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1573, allocations: 0 / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1573, allocations: 0 / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1573, allocations: 0 / 0.7221 GB, free: 12.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004978/0.1578, allocations: 274.3 kB / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1578, allocations: 11.97 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1579, allocations: 4.938 kB / 0.7224 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.158, allocations: 114.5 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.158, allocations: 4.375 kB / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.158, allocations: 384 / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.1582, allocations: 62.23 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1582, allocations: 192 / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1582, allocations: 7.922 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1582, allocations: 4 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1584, allocations: 43.95 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1588, allocations: 255.8 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1591, allocations: 50.55 kB / 0.7229 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.1591, allocations: 36.83 kB / 0.7229 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1593, allocations: 19.98 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1593, allocations: 34.5 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1593, allocations: 0 / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003716/0.1597, allocations: 93.58 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1597, allocations: 55.41 kB / 0.7231 GB, free: 11.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.1598, allocations: 113.8 kB / 0.7232 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1598, allocations: 25.7 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.1598, allocations: 84.14 kB / 0.7233 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.1599, allocations: 12.02 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.1599, allocations: 17.7 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.1601, allocations: 318.8 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.1602, allocations: 19.98 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.1602, allocations: 19.97 kB / 0.7237 GB, free: 11.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1604, allocations: 52.75 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1604, allocations: 0 / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002082/0.1606, allocations: 77.61 kB / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1606, allocations: 4 kB / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1606, allocations: 4 kB / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1606, allocations: 0 / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1607, allocations: 11.98 kB / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1607, allocations: 0 / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.1608, allocations: 11.92 kB / 0.7239 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1608, allocations: 8.328 kB / 0.7239 GB, free: 10.98 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 (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.067e-05/0.1609, allocations: 113.8 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1609, allocations: 7.984 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.1611, allocations: 85.89 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1611, allocations: 0 / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1611, allocations: 0 / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1611, allocations: 4 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1613, allocations: 144.6 kB / 0.7242 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1613, allocations: 0 / 0.7242 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.1614, allocations: 11.98 kB / 0.7242 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1614, allocations: 0 / 0.7242 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1614, allocations: 7.938 kB / 0.7242 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1614, allocations: 0 / 0.7242 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1614, allocations: 3.984 kB / 0.7242 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.1616, allocations: 175.4 kB / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.1617, allocations: 4 kB / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1617, allocations: 0 / 0.7244 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.1618, allocations: 11.98 kB / 0.7244 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1618, allocations: 3.984 kB / 0.7244 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1618, allocations: 4 kB / 0.7244 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.1618, allocations: 87.27 kB / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1618, allocations: 0 / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002171/0.1621, allocations: 19.89 kB / 0.7245 GB, free: 10.23 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 (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.0001286/0.1622, allocations: 103.2 kB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1624, allocations: 47.89 kB / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1624, allocations: 0 / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.1625, allocations: 27.97 kB / 0.7247 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.1628, allocations: 7.938 kB / 0.7247 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1631, allocations: 143.2 kB / 0.7248 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1634, allocations: 0.6768 MB / 0.7255 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.1634, allocations: 19.44 kB / 0.7255 GB, free: 9.148 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.1634, allocations: 0 / 0.7255 GB, free: 9.148 MB / 0.545 GB Notification: Performance of Templates: time 0.002411/0.1658, allocations: 0.8136 MB / 0.7263 GB, free: 8.34 MB / 0.545 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: 7.125241480069235] Failed to read output from testmodel.py, exit status != 0: 0.17393168504349887 0.188002375 0.027746884000000003 Calling exit ...