Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001103/0.001103, allocations: 79.73 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001137/0.001137, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 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.041/1.041, allocations: 177.1 MB / 204.6 MB, free: 5.457 MB / 186.7 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.6637/0.6637, allocations: 110.3 MB / 371.3 MB, free: 12.35 MB / 346.7 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 422.5 MB, free: 9.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.088e-05, allocations: 6.312 kB / 422.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001449/0.00147, allocations: 0.6465 MB / 423.1 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.00171, allocations: 55.8 kB / 423.2 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.00173, allocations: 3.938 kB / 423.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.001766, allocations: 0 / 423.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.001773, allocations: 0 / 423.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.002046, allocations: 19.91 kB / 423.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.002123, allocations: 31.95 kB / 423.2 MB, free: 8.512 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.002158, allocations: 8 kB / 423.3 MB, free: 8.504 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.002196, allocations: 15.98 kB / 423.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.068e-05/0.002217, allocations: 7.984 kB / 423.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.002229, allocations: 0 / 423.3 MB, free: 8.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.002335, allocations: 23.97 kB / 423.3 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.002362, allocations: 19.86 kB / 423.3 MB, free: 8.438 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.002381, allocations: 11.98 kB / 423.3 MB, free: 8.426 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.002471, allocations: 31.94 kB / 423.4 MB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002473, allocations: 0 / 423.4 MB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.002474, allocations: 0 / 423.4 MB, free: 8.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.002477, allocations: 0 / 423.4 MB, free: 8.395 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002044/0.002682, allocations: 240.9 kB / 423.6 MB, free: 8.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.00271, allocations: 15.97 kB / 423.6 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.002738, allocations: 4.938 kB / 423.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.762e-05/0.002796, allocations: 105.7 kB / 423.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.002807, allocations: 8.375 kB / 423.7 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.002815, allocations: 8.312 kB / 423.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/0.002898, allocations: 50.22 kB / 423.8 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.002905, allocations: 192 / 423.8 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.002914, allocations: 4.375 kB / 423.8 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.002919, allocations: 384 / 423.8 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.002999, allocations: 75.8 kB / 423.9 MB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.0031, allocations: 79.86 kB / 423.9 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.716e-05/0.003157, allocations: 42.5 kB / 424 MB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.003178, allocations: 12.86 kB / 424 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.003301, allocations: 28.28 kB / 424 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.003328, allocations: 38.5 kB / 424.1 MB, free: 7.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.003328, allocations: 0 / 424.1 MB, free: 7.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001271/0.003456, allocations: 69.67 kB / 424.1 MB, free: 7.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.003481, allocations: 51.41 kB / 424.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.419e-05/0.003515, allocations: 93.81 kB / 424.3 MB, free: 7.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.003527, allocations: 29.7 kB / 424.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.003552, allocations: 84.14 kB / 424.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.003581, allocations: 31.77 kB / 424.4 MB, free: 7.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.00361, allocations: 29.64 kB / 424.4 MB, free: 7.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.003683, allocations: 318.8 kB / 424.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.003694, allocations: 8 kB / 424.8 MB, free: 6.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.003707, allocations: 11.98 kB / 424.8 MB, free: 6.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.929e-05/0.003757, allocations: 40.25 kB / 424.8 MB, free: 6.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.003759, allocations: 0 / 424.8 MB, free: 6.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.63e-05/0.003825, allocations: 65.61 kB / 424.9 MB, free: 6.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.003836, allocations: 4 kB / 424.9 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.00384, allocations: 0 / 424.9 MB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.003854, allocations: 8 kB / 424.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.003915, allocations: 19.92 kB / 424.9 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.003918, allocations: 4 kB / 424.9 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.00393, allocations: 0 / 424.9 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.003934, allocations: 0 / 424.9 MB, free: 6.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.752e-05/0.004002, allocations: 128.6 kB / 425 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.004011, allocations: 8 kB / 425 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.004119, allocations: 101.4 kB / 425.1 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.004122, allocations: 4 kB / 425.2 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.004123, allocations: 4 kB / 425.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.004126, allocations: 0 / 425.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.993e-05/0.004186, allocations: 77.83 kB / 425.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004187, allocations: 0 / 425.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.004226, allocations: 23.98 kB / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004227, allocations: 0 / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.004231, allocations: 0 / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004232, allocations: 0 / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004233, allocations: 0 / 425.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.004303, allocations: 96.97 kB / 425.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.00431, allocations: 7.953 kB / 425.4 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.00432, allocations: 7.938 kB / 425.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.004327, allocations: 0 / 425.4 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.00435, allocations: 7.984 kB / 425.4 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.004355, allocations: 4 kB / 425.4 MB, free: 6.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.424e-06/0.004363, allocations: 8.859 kB / 425.4 MB, free: 6.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004363, allocations: 0 / 425.4 MB, free: 6.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001082/0.004471, allocations: 11.94 kB / 425.4 MB, free: 6.145 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001149/0.004586, allocations: 92.41 kB / 425.5 MB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.623e-05/0.004662, allocations: 56.69 kB / 425.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.004664, allocations: 0 / 425.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.004689, allocations: 28.84 kB / 425.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.185e-05/0.004741, allocations: 0 / 425.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.004938, allocations: 133.9 kB / 425.7 MB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.844e-05/0.004967, allocations: 59.36 kB / 425.8 MB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.004994, allocations: 15.97 kB / 425.8 MB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.005031, allocations: 59.38 kB / 425.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005032, allocations: 4 kB / 425.8 MB, free: 5.645 MB / 394.7 MB Notification: Performance of Templates: time 0.002059/0.00709, allocations: 0.7114 MB / 426.5 MB, free: 4.934 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.347257792018354]