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.001441/0.001441, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001349/0.001349, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.342/1.342, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.8309/0.8309, allocations: 110.3 MB / 370.1 MB, free: 15.68 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002107/0.002107, allocations: 74.95 kB / 0.5483 GB, free: 13.28 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1544, allocations: 87.86 MB / 0.6341 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002886/0.1573, allocations: 1.561 MB / 0.6356 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.1577, allocations: 136.5 kB / 0.6358 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.1577, allocations: 0 / 0.6358 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.1577, allocations: 3.938 kB / 0.6358 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.1578, allocations: 7.938 kB / 0.6358 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.1581, allocations: 27.91 kB / 0.6358 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.1581, allocations: 43.84 kB / 0.6359 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1582, allocations: 11.98 kB / 0.6359 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.1583, allocations: 11.98 kB / 0.6359 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.1583, allocations: 11.92 kB / 0.6359 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1583, allocations: 4 kB / 0.6359 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.1584, allocations: 23.98 kB / 0.6359 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.1584, allocations: 19.91 kB / 0.6359 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.1585, allocations: 11.94 kB / 0.6359 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1586, allocations: 43.88 kB / 0.636 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1586, allocations: 4 kB / 0.636 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1586, allocations: 0 / 0.636 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1586, allocations: 0 / 0.636 GB, free: 3.34 MB / 0.5919 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.0004433/0.159, allocations: 274.2 kB / 0.6363 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1591, allocations: 15.97 kB / 0.6363 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.1591, allocations: 4.938 kB / 0.6363 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1592, allocations: 114.5 kB / 0.6364 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1592, allocations: 384 / 0.6364 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.1592, allocations: 8.312 kB / 0.6364 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1594, allocations: 66.2 kB / 0.6365 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1595, allocations: 4.125 kB / 0.6365 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1595, allocations: 3.938 kB / 0.6365 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1595, allocations: 4 kB / 0.6365 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.1597, allocations: 43.95 kB / 0.6365 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.16, allocations: 220.5 kB / 0.6367 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.1604, allocations: 58.47 kB / 0.6368 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.1605, allocations: 24.91 kB / 0.6368 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1606, allocations: 15.98 kB / 0.6368 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1606, allocations: 30.56 kB / 0.6368 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1606, allocations: 0 / 0.6368 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0003886/0.161, allocations: 109.5 kB / 0.6369 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.1611, allocations: 51.41 kB / 0.637 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.1611, allocations: 101.8 kB / 0.6371 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1612, allocations: 29.7 kB / 0.6371 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.1612, allocations: 84.09 kB / 0.6372 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1612, allocations: 11.89 kB / 0.6372 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1613, allocations: 17.7 kB / 0.6372 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1614, allocations: 318.8 kB / 0.6375 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.1615, allocations: 11.98 kB / 0.6375 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.1616, allocations: 27.97 kB / 0.6376 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1617, allocations: 49.09 kB / 0.6376 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1617, allocations: 7.922 kB / 0.6376 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002203/0.162, allocations: 77.59 kB / 0.6377 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.162, allocations: 4 kB / 0.6377 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.162, allocations: 0 / 0.6377 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.162, allocations: 0 / 0.6377 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.1621, allocations: 15.98 kB / 0.6377 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1621, allocations: 0 / 0.6377 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.1621, allocations: 8.234 kB / 0.6377 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1621, allocations: 3.938 kB / 0.6377 GB, free: 1.383 MB / 0.5919 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.391e-05/0.1622, allocations: 121.8 kB / 0.6378 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1622, allocations: 8 kB / 0.6379 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.1625, allocations: 81.27 kB / 0.6379 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1625, allocations: 0 / 0.6379 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1625, allocations: 4 kB / 0.6379 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1625, allocations: 4 kB / 0.6379 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.1627, allocations: 121.2 kB / 0.6381 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1627, allocations: 0 / 0.6381 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.648e-05/0.1627, allocations: 11.98 kB / 0.6381 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1627, allocations: 0 / 0.6381 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1627, allocations: 8 kB / 0.6381 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1627, allocations: 0 / 0.6381 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1627, allocations: 0 / 0.6381 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.163, allocations: 175.4 kB / 0.6382 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.163, allocations: 0 / 0.6382 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.163, allocations: 4 kB / 0.6382 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.1631, allocations: 7.984 kB / 0.6383 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1632, allocations: 11.92 kB / 0.6383 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1632, allocations: 4 kB / 0.6383 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.1632, allocations: 79.28 kB / 0.6383 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1632, allocations: 0 / 0.6383 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002251/0.1634, allocations: 12 kB / 0.6384 GB, free: 0.6719 MB / 0.5919 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.0001335/0.1636, allocations: 103.2 kB / 0.6385 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1638, allocations: 43.95 kB / 0.6385 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1638, allocations: 0 / 0.6385 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.1639, allocations: 19.98 kB / 0.6385 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1642, allocations: 22 kB / 0.6385 GB, free: 492 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.1645, allocations: 110 kB / 0.6386 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.1645, allocations: 67.34 kB / 0.6387 GB, free: 268 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.1646, allocations: 7.953 kB / 0.6387 GB, free: 260 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.1646, allocations: 16.5 kB / 0.6387 GB, free: 244 kB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1646, allocations: 0 / 0.6387 GB, free: 244 kB / 0.5919 GB Notification: Performance of Templates: time 0.0033/0.1679, allocations: 0.775 MB / 0.6395 GB, free: 15.47 MB / 0.6075 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 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.93808580993209] Failed to read output from testmodel.py, exit status != 0: 0.1764735309407115 0.19120488500000002 0.029638920000000003 Calling exit ...