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.001592/0.001592, allocations: 88.39 kB / 20.24 MB, free: 4.172 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.001692/0.001692, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 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.604/1.604, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.9075/0.9075, allocations: 110.2 MB / 370.6 MB, free: 12.46 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.252e-06/1.252e-06, allocations: 0 / 474.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.086e-05, allocations: 3.281 kB / 474.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001263/0.001284, allocations: 0.585 MB / 475.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.001524, allocations: 59.14 kB / 475.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.001545, allocations: 0.7812 kB / 475.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.001584, allocations: 0 / 475.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.155e-05/0.001596, allocations: 1.875 kB / 475.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.001857, allocations: 19.7 kB / 475.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.767e-05/0.001925, allocations: 34.59 kB / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.001955, allocations: 2.625 kB / 475.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.001988, allocations: 19.09 kB / 475.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.002011, allocations: 9.359 kB / 475.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.002024, allocations: 0 / 475.2 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.002103, allocations: 22.69 kB / 475.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.002125, allocations: 12.48 kB / 475.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.002154, allocations: 9.984 kB / 475.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.649e-05/0.002241, allocations: 39.2 kB / 475.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.002242, allocations: 0.5 kB / 475.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002243, allocations: 0 / 475.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.002246, allocations: 10.03 kB / 475.3 MB, free: 14.8 MB / 410.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.000223/0.002469, allocations: 263 kB / 475.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.002496, allocations: 6.625 kB / 475.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.00255, allocations: 10.39 kB / 475.6 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.245e-05/0.002593, allocations: 104.7 kB / 475.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.002606, allocations: 4.375 kB / 475.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.002616, allocations: 3.312 kB / 475.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.00273, allocations: 62.91 kB / 475.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.002738, allocations: 192 / 475.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.002746, allocations: 3 kB / 475.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.00275, allocations: 3 kB / 475.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.002869, allocations: 108.9 kB / 475.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.002978, allocations: 115.8 kB / 476 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.328e-05/0.003072, allocations: 68.38 kB / 476.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.003112, allocations: 30.56 kB / 476.1 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.003279, allocations: 23.69 kB / 476.1 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.0033, allocations: 34.19 kB / 476.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.003302, allocations: 0 / 476.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002597/0.003561, allocations: 125 kB / 476.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.697e-05/0.003578, allocations: 54.03 kB / 476.3 MB, free: 13.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.169e-05/0.0036, allocations: 89.86 kB / 476.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.003609, allocations: 33.39 kB / 476.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.00362, allocations: 84.08 kB / 476.5 MB, free: 13.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.003644, allocations: 25.75 kB / 476.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.003679, allocations: 29.34 kB / 476.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.003969, allocations: 317.5 kB / 476.9 MB, free: 29.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.004002, allocations: 20.22 kB / 476.9 MB, free: 29.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.004031, allocations: 23.53 kB / 476.9 MB, free: 29.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.004113, allocations: 64.78 kB / 477 MB, free: 29.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.004115, allocations: 2.625 kB / 477 MB, free: 29.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001233/0.004239, allocations: 92.58 kB / 477.1 MB, free: 29.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.00425, allocations: 8.531 kB / 477.1 MB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.004254, allocations: 0.6562 kB / 477.1 MB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.004271, allocations: 2.625 kB / 477.1 MB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.004363, allocations: 25.61 kB / 477.1 MB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.004378, allocations: 0 / 477.1 MB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.004401, allocations: 7.875 kB / 477.1 MB, free: 29.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.004408, allocations: 2.625 kB / 477.1 MB, free: 29.31 MB / 426.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 8.82e-05/0.004496, allocations: 124.8 kB / 477.3 MB, free: 29.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.004511, allocations: 15.33 kB / 477.3 MB, free: 29.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.004682, allocations: 118.7 kB / 477.4 MB, free: 29.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.004685, allocations: 2.625 kB / 477.4 MB, free: 29.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.004688, allocations: 0 / 477.4 MB, free: 29.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.004691, allocations: 3.938 kB / 477.4 MB, free: 29.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.947e-05/0.00475, allocations: 119.2 kB / 477.5 MB, free: 28.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004751, allocations: 0 / 477.5 MB, free: 28.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.004815, allocations: 22.08 kB / 477.5 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.004816, allocations: 1.719 kB / 477.5 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.004824, allocations: 6.75 kB / 477.5 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.004826, allocations: 4 kB / 477.5 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004827, allocations: 0 / 477.5 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.004944, allocations: 132.9 kB / 477.7 MB, free: 28.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.00495, allocations: 3.125 kB / 477.7 MB, free: 28.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.004962, allocations: 6.406 kB / 477.7 MB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.508e-05/0.004977, allocations: 2.625 kB / 477.7 MB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.005011, allocations: 10.47 kB / 477.7 MB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.005016, allocations: 2.688 kB / 477.7 MB, free: 28.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.125e-05/0.005057, allocations: 75.28 kB / 477.8 MB, free: 28.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005057, allocations: 0 / 477.8 MB, free: 28.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.005246, allocations: 18.59 kB / 477.8 MB, free: 28.8 MB / 426.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.0001382/0.005384, allocations: 116.6 kB / 477.9 MB, free: 28.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.005498, allocations: 56.56 kB / 478 MB, free: 28.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005499, allocations: 0 / 478 MB, free: 28.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.005541, allocations: 40.42 kB / 478 MB, free: 28.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.005669, allocations: 7.969 kB / 478 MB, free: 28.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.005883, allocations: 146.3 kB / 478.2 MB, free: 28.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.252e-05/0.005915, allocations: 66.62 kB / 478.2 MB, free: 28.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.005982, allocations: 44.23 kB / 478.3 MB, free: 28.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.006007, allocations: 16.06 kB / 478.3 MB, free: 28.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.006007, allocations: 0 / 478.3 MB, free: 28.47 MB / 426.7 MB Notification: Performance of Templates: time 0.002738/0.008745, allocations: 0.6236 MB / 478.9 MB, free: 28.42 MB / 426.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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.453687853063457]