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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001054/0.001055, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006924/0.006924, allocations: 172.8 kB / 16.27 MB, free: 6.648 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.069/1.069, allocations: 143.4 MB / 434.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005651, allocations: 12 kB / 0.5166 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2193, allocations: 83.4 MB / 0.5981 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001024/0.2204, allocations: 315 kB / 0.5984 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.2208, allocations: 59.84 kB / 0.5985 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.2208, allocations: 0 / 0.5985 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.2209, allocations: 0 / 0.5985 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-06/0.2209, allocations: 0 / 0.5985 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.2212, allocations: 15.92 kB / 0.5985 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.2213, allocations: 31.97 kB / 0.5985 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.2214, allocations: 0 / 0.5985 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.2214, allocations: 11.98 kB / 0.5985 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.2215, allocations: 11.98 kB / 0.5985 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2215, allocations: 7.938 kB / 0.5985 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.2216, allocations: 15.98 kB / 0.5985 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.2217, allocations: 11.98 kB / 0.5986 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.2217, allocations: 33.64 kB / 0.5986 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2219, allocations: 35.89 kB / 0.5986 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2219, allocations: 0 / 0.5986 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2219, allocations: 4 kB / 0.5986 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2219, allocations: 0 / 0.5986 GB, free: 6.902 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.0003972/0.2223, allocations: 323.6 kB / 0.5989 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.2224, allocations: 12.03 kB / 0.5989 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.2224, allocations: 4.844 kB / 0.599 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2226, allocations: 168.6 kB / 0.5991 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.2226, allocations: 8.375 kB / 0.5991 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2226, allocations: 4.375 kB / 0.5991 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.2228, allocations: 70.11 kB / 0.5992 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2228, allocations: 192 / 0.5992 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2228, allocations: 7.938 kB / 0.5992 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.2229, allocations: 7.938 kB / 0.5992 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.223, allocations: 99.86 kB / 0.5993 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.2232, allocations: 173.6 kB / 0.5995 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2234, allocations: 78.47 kB / 0.5995 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.2234, allocations: 36.78 kB / 0.5996 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/0.2238, allocations: 401.5 kB / 0.6 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.2239, allocations: 38.56 kB / 0.6 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.2239, allocations: 0 / 0.6 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002795/0.2242, allocations: 121.8 kB / 0.6001 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2242, allocations: 55.41 kB / 0.6002 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.2243, allocations: 93.86 kB / 0.6003 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.2243, allocations: 25.7 kB / 0.6003 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.2244, allocations: 80.14 kB / 0.6004 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.2244, allocations: 23.66 kB / 0.6004 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.2245, allocations: 29.7 kB / 0.6004 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2246, allocations: 314.8 kB / 0.6007 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.2247, allocations: 23.92 kB / 0.6007 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.2247, allocations: 15.98 kB / 0.6007 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.2248, allocations: 64.77 kB / 0.6008 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2248, allocations: 0 / 0.6008 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001361/0.2249, allocations: 89.67 kB / 0.6009 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.225, allocations: 4 kB / 0.6009 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.225, allocations: 3.938 kB / 0.6009 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.225, allocations: 8 kB / 0.6009 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.2251, allocations: 19.92 kB / 0.6009 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2251, allocations: 4 kB / 0.6009 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.2252, allocations: 3.906 kB / 0.6009 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2252, allocations: 4 kB / 0.6009 GB, free: 4.215 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.0001621/0.2253, allocations: 119.8 kB / 0.6011 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.2254, allocations: 4 kB / 0.6011 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.2256, allocations: 138.1 kB / 0.6012 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2256, allocations: 4 kB / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2256, allocations: 0 / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2256, allocations: 3.984 kB / 0.6012 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2258, allocations: 173.6 kB / 0.6014 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2258, allocations: 0 / 0.6014 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.2259, allocations: 19.98 kB / 0.6014 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2259, allocations: 3.938 kB / 0.6014 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2259, allocations: 4 kB / 0.6014 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2259, allocations: 7.938 kB / 0.6014 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2259, allocations: 0 / 0.6014 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.2261, allocations: 125 kB / 0.6015 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.2261, allocations: 88.95 kB / 0.6016 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2261, allocations: 4 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.2262, allocations: 0 / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.2262, allocations: 7.984 kB / 0.6016 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.2262, allocations: 4 kB / 0.6016 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.2263, allocations: 79.28 kB / 0.6017 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2263, allocations: 0 / 0.6017 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001998/0.2265, allocations: 19.98 kB / 0.6017 GB, free: 3.32 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.0002301/0.2267, allocations: 115.2 kB / 0.6018 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.2269, allocations: 63.84 kB / 0.6019 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2269, allocations: 0 / 0.6019 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.2269, allocations: 39.97 kB / 0.6019 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2271, allocations: 7.938 kB / 0.6019 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.2274, allocations: 150.7 kB / 0.6021 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2276, allocations: 0.6848 MB / 0.6027 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.749e-05/0.2277, allocations: 31.95 kB / 0.6028 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.2278, allocations: 19.42 kB / 0.6028 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2278, allocations: 0 / 0.6028 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.002688/0.2305, allocations: 0.6022 MB / 0.6034 GB, free: 1.555 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)