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.001224/0.001224, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001226/0.001226, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.237/1.237, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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 0.8003/0.8003, allocations: 143.1 MB / 434.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.5148 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3177, allocations: 82.02 MB / 0.5949 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001608/0.3193, allocations: 0.5812 MB / 0.5955 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.3196, allocations: 64.02 kB / 0.5956 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.3196, allocations: 4 kB / 0.5956 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.3196, allocations: 0 / 0.5956 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.3196, allocations: 0.5938 kB / 0.5956 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.3199, allocations: 12.98 kB / 0.5956 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.776e-05/0.3199, allocations: 31.97 kB / 0.5956 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.32, allocations: 4 kB / 0.5956 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.32, allocations: 13.14 kB / 0.5956 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.272e-05/0.32, allocations: 7.984 kB / 0.5956 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.3201, allocations: 4 kB / 0.5956 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.3201, allocations: 17.11 kB / 0.5957 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.3202, allocations: 15.92 kB / 0.5957 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.3202, allocations: 15.92 kB / 0.5957 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/0.3203, allocations: 37.3 kB / 0.5957 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3203, allocations: 4 kB / 0.5957 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3203, allocations: 0 / 0.5957 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3203, allocations: 0 / 0.5957 GB, free: 15.39 MB / 446.1 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.0002444/0.3205, allocations: 329 kB / 0.596 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3206, allocations: 8.031 kB / 0.5961 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.3206, allocations: 8.844 kB / 0.5961 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.611e-05/0.3207, allocations: 167.7 kB / 0.5962 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.3207, allocations: 4.375 kB / 0.5962 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3207, allocations: 4.375 kB / 0.5962 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3208, allocations: 70.89 kB / 0.5963 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3209, allocations: 192 / 0.5963 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3209, allocations: 6.156 kB / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3209, allocations: 0 / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.321, allocations: 105.1 kB / 0.5964 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3211, allocations: 169.6 kB / 0.5966 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.3212, allocations: 80 kB / 0.5966 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.3212, allocations: 36.78 kB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.3214, allocations: 401.5 kB / 0.5971 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.3215, allocations: 35.94 kB / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3215, allocations: 0 / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002006/0.3217, allocations: 122.4 kB / 0.5972 GB, free: 13.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.779e-05/0.3217, allocations: 52.16 kB / 0.5973 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.079e-05/0.3217, allocations: 99.36 kB / 0.5974 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.3217, allocations: 25.7 kB / 0.5974 GB, free: 13.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-06/0.3217, allocations: 80.14 kB / 0.5975 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.3218, allocations: 21.09 kB / 0.5975 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3218, allocations: 33.7 kB / 0.5975 GB, free: 13.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.3219, allocations: 314.8 kB / 0.5978 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.3219, allocations: 24.8 kB / 0.5978 GB, free: 12.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.3219, allocations: 21.62 kB / 0.5979 GB, free: 12.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.322, allocations: 62.22 kB / 0.5979 GB, free: 12.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.322, allocations: 0 / 0.5979 GB, free: 12.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001005/0.3221, allocations: 93.05 kB / 0.598 GB, free: 12.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3221, allocations: 4.938 kB / 0.598 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3221, allocations: 3.938 kB / 0.598 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3222, allocations: 0 / 0.598 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.3222, allocations: 25 kB / 0.598 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3223, allocations: 3.984 kB / 0.598 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.3223, allocations: 13.31 kB / 0.598 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3223, allocations: 4 kB / 0.5981 GB, free: 12.71 MB / 446.1 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.173e-05/0.3224, allocations: 118.5 kB / 0.5982 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.3224, allocations: 8 kB / 0.5982 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.3226, allocations: 130.9 kB / 0.5983 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3226, allocations: 5.469 kB / 0.5983 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3226, allocations: 0 / 0.5983 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3226, allocations: 0 / 0.5983 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.917e-05/0.3227, allocations: 177.5 kB / 0.5985 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3227, allocations: 0.5938 kB / 0.5985 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.3227, allocations: 23.98 kB / 0.5985 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3227, allocations: 5.469 kB / 0.5985 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3227, allocations: 7.984 kB / 0.5985 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3228, allocations: 0 / 0.5985 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3228, allocations: 0 / 0.5985 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3229, allocations: 120 kB / 0.5986 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.3229, allocations: 92.94 kB / 0.5987 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.3229, allocations: 0 / 0.5987 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.3229, allocations: 7.938 kB / 0.5987 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.323, allocations: 7.984 kB / 0.5987 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.323, allocations: 5.5 kB / 0.5987 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.879e-06/0.323, allocations: 75.28 kB / 0.5988 GB, free: 11.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.323, allocations: 0 / 0.5988 GB, free: 11.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.3232, allocations: 20 kB / 0.5988 GB, free: 11.83 MB / 446.1 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.0001411/0.3233, allocations: 112.7 kB / 0.5989 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3235, allocations: 73.28 kB / 0.599 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3235, allocations: 0 / 0.599 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.3235, allocations: 35.92 kB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3236, allocations: 7.062 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.3239, allocations: 172.1 kB / 0.5992 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.324, allocations: 0.6846 MB / 0.5999 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.324, allocations: 20.7 kB / 0.5999 GB, free: 10.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.324, allocations: 4 kB / 0.5999 GB, free: 10.67 MB / 446.1 MB Notification: Performance of Templates: time 0.001985/0.326, allocations: 0.9751 MB / 0.6009 GB, free: 9.746 MB / 446.1 MB 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)