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.0013/0.0013, allocations: 105.4 kB / 16.37 MB, free: 6.469 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.001339/0.001339, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.2 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.8253/0.8253, allocations: 143.1 MB / 434.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 63.91 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.343, allocations: 82.04 MB / 0.5957 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001617/0.3446, allocations: 0.5785 MB / 0.5963 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002352/0.3449, allocations: 59.03 kB / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.3449, allocations: 0 / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.3449, allocations: 3.938 kB / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.345, allocations: 1.125 kB / 0.5963 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3452, allocations: 15.98 kB / 0.5963 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.3453, allocations: 31.97 kB / 0.5964 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.3454, allocations: 1.125 kB / 0.5964 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.3454, allocations: 11.98 kB / 0.5964 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.516e-05/0.3454, allocations: 15.92 kB / 0.5964 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3454, allocations: 0.625 kB / 0.5964 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.3455, allocations: 19.11 kB / 0.5964 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.3455, allocations: 15.98 kB / 0.5964 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.3456, allocations: 15.92 kB / 0.5965 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.95e-05/0.3457, allocations: 39.83 kB / 0.5965 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3457, allocations: 0 / 0.5965 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3457, allocations: 0 / 0.5965 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3457, allocations: 0 / 0.5965 GB, free: 15.51 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.0002624/0.346, allocations: 327.6 kB / 0.5968 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.346, allocations: 13.47 kB / 0.5968 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.346, allocations: 4.844 kB / 0.5968 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.566e-05/0.3461, allocations: 166.2 kB / 0.597 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3461, allocations: 9.25 kB / 0.597 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3461, allocations: 4.375 kB / 0.597 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3462, allocations: 63.39 kB / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3463, allocations: 192 / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3463, allocations: 3.938 kB / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3463, allocations: 5.344 kB / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.3464, allocations: 110 kB / 0.5972 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.3465, allocations: 169.6 kB / 0.5973 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.3466, allocations: 76.06 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.3467, allocations: 36.84 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.3469, allocations: 406.8 kB / 0.5978 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3469, allocations: 34.56 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.3469, allocations: 0 / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002014/0.3471, allocations: 127 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.3471, allocations: 55.41 kB / 0.598 GB, free: 13.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.082e-05/0.3472, allocations: 95.08 kB / 0.5981 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.3472, allocations: 25.7 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-06/0.3472, allocations: 80.14 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3472, allocations: 20.5 kB / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.3473, allocations: 33.7 kB / 0.5983 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.3473, allocations: 320.1 kB / 0.5986 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.3473, allocations: 15.98 kB / 0.5986 GB, free: 13.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.3474, allocations: 25.45 kB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.217e-05/0.3474, allocations: 66.69 kB / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3474, allocations: 0 / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.972e-05/0.3475, allocations: 87 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.3476, allocations: 8 kB / 0.5988 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3476, allocations: 3.938 kB / 0.5988 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3476, allocations: 0 / 0.5988 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.3477, allocations: 21.44 kB / 0.5988 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3477, allocations: 3.984 kB / 0.5988 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.3477, allocations: 7.844 kB / 0.5988 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3477, allocations: 4 kB / 0.5988 GB, free: 12.83 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 6.694e-05/0.3478, allocations: 131.1 kB / 0.5989 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.3478, allocations: 0.9375 kB / 0.5989 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.348, allocations: 127.1 kB / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.348, allocations: 1.031 kB / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.348, allocations: 0 / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.348, allocations: 1.531 kB / 0.5991 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.288e-05/0.3481, allocations: 181.5 kB / 0.5992 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3481, allocations: 0 / 0.5992 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.3482, allocations: 15.94 kB / 0.5993 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3482, allocations: 9.281 kB / 0.5993 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3482, allocations: 7.984 kB / 0.5993 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3482, allocations: 0 / 0.5993 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3482, allocations: 0 / 0.5993 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3483, allocations: 118.5 kB / 0.5994 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.3483, allocations: 88.94 kB / 0.5995 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3483, allocations: 1.438 kB / 0.5995 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.3484, allocations: 8 kB / 0.5995 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.3484, allocations: 7.984 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.3484, allocations: 0.6875 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.238e-05/0.3484, allocations: 80.34 kB / 0.5996 GB, free: 11.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3484, allocations: 4 kB / 0.5996 GB, free: 11.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.3486, allocations: 12 kB / 0.5996 GB, free: 11.96 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.0001501/0.3488, allocations: 125.7 kB / 0.5997 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.3489, allocations: 57.77 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3489, allocations: 4 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.349, allocations: 33.14 kB / 0.5998 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.3491, allocations: 8 kB / 0.5998 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.3493, allocations: 141.6 kB / 0.5999 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3495, allocations: 0.6856 MB / 0.6006 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.3495, allocations: 36.98 kB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.3495, allocations: 15.44 kB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3496, allocations: 1.812 kB / 0.6007 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002385/0.3519, allocations: 0.6296 MB / 0.6013 GB, free: 10.24 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)