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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001615, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.002009, allocations: 194.3 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 1.043/1.043, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2161, allocations: 82.03 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002919/0.2191, allocations: 0.6348 MB / 0.5942 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005041/0.2196, allocations: 59.84 kB / 0.5943 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.2196, allocations: 3.938 kB / 0.5943 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.422e-05/0.2197, allocations: 0 / 0.5943 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-06/0.2197, allocations: 0 / 0.5943 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.2201, allocations: 11.98 kB / 0.5943 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2202, allocations: 27.97 kB / 0.5943 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.2203, allocations: 7.984 kB / 0.5943 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.2204, allocations: 12 kB / 0.5944 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.2204, allocations: 15.91 kB / 0.5944 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.2204, allocations: 4 kB / 0.5944 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2206, allocations: 12 kB / 0.5944 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.2206, allocations: 11.98 kB / 0.5944 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.2207, allocations: 15.88 kB / 0.5944 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2208, allocations: 31.89 kB / 0.5944 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.2208, allocations: 0 / 0.5944 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2208, allocations: 0 / 0.5944 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2209, allocations: 0 / 0.5944 GB, free: 9.219 MB / 0.4981 GB 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.0007385/0.2216, allocations: 343.6 kB / 0.5948 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2217, allocations: 8.031 kB / 0.5948 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.2217, allocations: 4.844 kB / 0.5948 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.222, allocations: 172.5 kB / 0.5949 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.222, allocations: 384 / 0.5949 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.2221, allocations: 12.31 kB / 0.595 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.2223, allocations: 66.16 kB / 0.595 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2223, allocations: 4.172 kB / 0.595 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2223, allocations: 7.938 kB / 0.595 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.2223, allocations: 4 kB / 0.595 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.2226, allocations: 103.9 kB / 0.5951 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.2228, allocations: 173.6 kB / 0.5953 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.2231, allocations: 78.48 kB / 0.5954 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.588e-05/0.2232, allocations: 28.84 kB / 0.5954 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005212/0.2237, allocations: 401.5 kB / 0.5958 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.2238, allocations: 38.56 kB / 0.5958 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.2238, allocations: 4 kB / 0.5958 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0003813/0.2242, allocations: 117.8 kB / 0.5959 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.2243, allocations: 55.34 kB / 0.596 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.2243, allocations: 93.86 kB / 0.5961 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2244, allocations: 29.7 kB / 0.5961 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.2244, allocations: 84.12 kB / 0.5962 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.2245, allocations: 23.66 kB / 0.5962 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.2245, allocations: 29.7 kB / 0.5962 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2247, allocations: 318.8 kB / 0.5965 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.2248, allocations: 19.98 kB / 0.5966 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.2248, allocations: 23.92 kB / 0.5966 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.225, allocations: 60.83 kB / 0.5966 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.225, allocations: 0 / 0.5966 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001949/0.2252, allocations: 86.33 kB / 0.5967 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2252, allocations: 7.938 kB / 0.5967 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2252, allocations: 3.938 kB / 0.5967 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2253, allocations: 0 / 0.5967 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2254, allocations: 19.98 kB / 0.5968 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2254, allocations: 7.938 kB / 0.5968 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.2255, allocations: 15.84 kB / 0.5968 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2255, allocations: 0 / 0.5968 GB, free: 6.504 MB / 0.4981 GB 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 0.0002428/0.2258, allocations: 121.8 kB / 0.5969 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.2258, allocations: 4 kB / 0.5969 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.2261, allocations: 133.5 kB / 0.597 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2261, allocations: 0 / 0.597 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2261, allocations: 0 / 0.597 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2261, allocations: 4 kB / 0.597 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2263, allocations: 177.5 kB / 0.5972 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2263, allocations: 0 / 0.5972 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.6e-05/0.2264, allocations: 19.98 kB / 0.5972 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2264, allocations: 3.938 kB / 0.5972 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2265, allocations: 4 kB / 0.5972 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2265, allocations: 0 / 0.5972 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2265, allocations: 4 kB / 0.5972 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2267, allocations: 125 kB / 0.5974 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.2268, allocations: 84.95 kB / 0.5974 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.2268, allocations: 4 kB / 0.5974 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.2268, allocations: 4 kB / 0.5974 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.2269, allocations: 7.984 kB / 0.5974 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.2269, allocations: 8 kB / 0.5975 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.227, allocations: 75.28 kB / 0.5975 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.227, allocations: 4 kB / 0.5975 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003747/0.2274, allocations: 12 kB / 0.5975 GB, free: 5.617 MB / 0.4981 GB 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.0003876/0.2278, allocations: 122.5 kB / 0.5977 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.228, allocations: 63.84 kB / 0.5977 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.228, allocations: 4 kB / 0.5977 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.2281, allocations: 35.91 kB / 0.5978 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.2283, allocations: 14.47 kB / 0.5978 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.2287, allocations: 142.7 kB / 0.5979 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2291, allocations: 0.6887 MB / 0.5986 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.2293, allocations: 39.92 kB / 0.5986 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.2293, allocations: 19.42 kB / 0.5986 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2293, allocations: 0 / 0.5986 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of Templates: time 0.004049/0.2334, allocations: 0.6101 MB / 0.5992 GB, free: 3.832 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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)