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.001227/0.001227, allocations: 106.3 kB / 16.37 MB, free: 6.453 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.001249/0.001249, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.19 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.9175/0.9175, allocations: 143.1 MB / 434.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.89 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.439, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00159/0.4407, allocations: 0.5823 MB / 0.5963 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.4409, allocations: 63.02 kB / 0.5963 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.441, allocations: 0 / 0.5963 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.441, allocations: 4 kB / 0.5963 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-06/0.441, allocations: 1.438 kB / 0.5963 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.4413, allocations: 15.92 kB / 0.5964 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.4414, allocations: 35.95 kB / 0.5964 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.4414, allocations: 4 kB / 0.5964 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.4414, allocations: 8.625 kB / 0.5964 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.431e-05/0.4415, allocations: 8.953 kB / 0.5964 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.4415, allocations: 7.984 kB / 0.5964 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.4416, allocations: 15.98 kB / 0.5964 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.4416, allocations: 15 kB / 0.5964 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.4416, allocations: 11.94 kB / 0.5965 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.417e-05/0.4417, allocations: 35.89 kB / 0.5965 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4417, allocations: 4 kB / 0.5965 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4417, allocations: 0 / 0.5965 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.4417, allocations: 0 / 0.5965 GB, free: 15.38 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.0002396/0.442, allocations: 331.6 kB / 0.5968 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.442, allocations: 9.375 kB / 0.5968 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.442, allocations: 8.844 kB / 0.5968 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.702e-05/0.4421, allocations: 164.2 kB / 0.597 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4421, allocations: 9.719 kB / 0.597 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.4421, allocations: 384 / 0.597 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4423, allocations: 74.09 kB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4423, allocations: 1.406 kB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4423, allocations: 3.938 kB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4423, allocations: 0 / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4424, allocations: 106 kB / 0.5972 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.4425, allocations: 170.6 kB / 0.5973 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.4426, allocations: 72.05 kB / 0.5974 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.4426, allocations: 36.78 kB / 0.5974 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.4428, allocations: 406.8 kB / 0.5978 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.4429, allocations: 34.56 kB / 0.5979 GB, free: 13.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4429, allocations: 0 / 0.5979 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000189/0.4431, allocations: 119 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.4431, allocations: 51.41 kB / 0.598 GB, free: 13.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.036e-05/0.4431, allocations: 103.3 kB / 0.5981 GB, free: 13.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.4431, allocations: 25.7 kB / 0.5981 GB, free: 13.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-06/0.4431, allocations: 80.14 kB / 0.5982 GB, free: 13.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4432, allocations: 21.55 kB / 0.5982 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.4432, allocations: 34.92 kB / 0.5983 GB, free: 13.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.4433, allocations: 310.8 kB / 0.5986 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.4433, allocations: 24.64 kB / 0.5986 GB, free: 12.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.4433, allocations: 21.36 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.4434, allocations: 67.5 kB / 0.5987 GB, free: 12.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4434, allocations: 0 / 0.5987 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001002/0.4435, allocations: 85.67 kB / 0.5988 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.4435, allocations: 5.344 kB / 0.5988 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4435, allocations: 7.938 kB / 0.5988 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4436, allocations: 4 kB / 0.5988 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.4436, allocations: 25.45 kB / 0.5988 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4437, allocations: 4 kB / 0.5988 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.4437, allocations: 7.844 kB / 0.5988 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4437, allocations: 4 kB / 0.5988 GB, free: 12.7 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 7.221e-05/0.4438, allocations: 119.2 kB / 0.5989 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.4438, allocations: 9.297 kB / 0.5989 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.4439, allocations: 129.4 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.444, allocations: 7.984 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.444, allocations: 1.344 kB / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.444, allocations: 0 / 0.5991 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.398e-05/0.444, allocations: 173.5 kB / 0.5992 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.444, allocations: 0.9062 kB / 0.5992 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.4441, allocations: 19.98 kB / 0.5993 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4441, allocations: 3.938 kB / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4441, allocations: 9.281 kB / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4441, allocations: 0 / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4441, allocations: 0 / 0.5993 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.4442, allocations: 124.2 kB / 0.5994 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.4443, allocations: 88.95 kB / 0.5995 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.4443, allocations: 1.438 kB / 0.5995 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.506e-05/0.4443, allocations: 7.984 kB / 0.5995 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.4443, allocations: 4 kB / 0.5995 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.4443, allocations: 4.656 kB / 0.5995 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.083e-05/0.4444, allocations: 84.27 kB / 0.5996 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4444, allocations: 0 / 0.5996 GB, free: 11.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000184/0.4445, allocations: 16 kB / 0.5996 GB, free: 11.82 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.0001235/0.4447, allocations: 113.9 kB / 0.5997 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.4448, allocations: 67.83 kB / 0.5998 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4448, allocations: 0 / 0.5998 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.4449, allocations: 31.98 kB / 0.5998 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.000123/0.445, allocations: 4.781 kB / 0.5998 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.4452, allocations: 151.9 kB / 0.5999 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.4453, allocations: 0.6807 MB / 0.6006 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.986e-05/0.4454, allocations: 33.23 kB / 0.6006 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.4454, allocations: 17.33 kB / 0.6007 GB, free: 10.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4454, allocations: 0 / 0.6007 GB, free: 10.68 MB / 446.1 MB Notification: Performance of Templates: time 0.01259/0.458, allocations: 0.6223 MB / 0.6013 GB, free: 10.12 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)