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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6633/0.6633, allocations: 117.9 MB / 133.9 MB, free: 4.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 186.5 kB / 161.7 MB, free: 2.727 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 394.8 MB, free: 20.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007667, allocations: 97.28 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004177, allocations: 19.94 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3632, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4932, allocations: 100.8 MB / 0.7136 GB, free: 1.148 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4935, allocations: 79.94 kB / 0.7137 GB, free: 1.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002255/0.4958, allocations: 0.9134 MB / 0.7146 GB, free: 160 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4958, allocations: 0 / 0.7146 GB, free: 160 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4959, allocations: 4 kB / 0.7146 GB, free: 156 kB / 490.7 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.0003432/0.4962, allocations: 333.6 kB / 0.7149 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4963, allocations: 8.031 kB / 0.7149 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.4963, allocations: 4.938 kB / 0.7149 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4964, allocations: 172.3 kB / 0.7151 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4965, allocations: 4.375 kB / 0.7151 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4965, allocations: 4.375 kB / 0.7151 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4967, allocations: 62.22 kB / 0.7151 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.4967, allocations: 4.125 kB / 0.7151 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.4967, allocations: 11.94 kB / 0.7151 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4967, allocations: 0 / 0.7151 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.4969, allocations: 99.86 kB / 0.7152 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.497, allocations: 173.6 kB / 0.7154 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4972, allocations: 74.23 kB / 0.7155 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.4972, allocations: 32.84 kB / 0.7155 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.4976, allocations: 409.5 kB / 0.7159 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4976, allocations: 30.56 kB / 0.7159 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.4976, allocations: 0 / 0.7159 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002711/0.4979, allocations: 121.7 kB / 0.716 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.498, allocations: 55.41 kB / 0.7161 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.596e-05/0.498, allocations: 101.8 kB / 0.7162 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.498, allocations: 25.7 kB / 0.7162 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.4981, allocations: 80.14 kB / 0.7163 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.4981, allocations: 19.72 kB / 0.7163 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.4981, allocations: 4 kB / 0.7163 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4983, allocations: 314.8 kB / 0.7166 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.4983, allocations: 23.92 kB / 0.7166 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.4984, allocations: 20.42 kB / 0.7167 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.4985, allocations: 60.98 kB / 0.7167 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4985, allocations: 4 kB / 0.7167 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001342/0.4986, allocations: 89.61 kB / 0.7168 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4986, allocations: 11.92 kB / 0.7168 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4987, allocations: 3.938 kB / 0.7168 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4987, allocations: 4 kB / 0.7168 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.4988, allocations: 12 kB / 0.7168 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4988, allocations: 4 kB / 0.7168 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.4988, allocations: 7.906 kB / 0.7168 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.4988, allocations: 7.984 kB / 0.7168 GB, free: 13.5 MB / 0.4948 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.4989, allocations: 117.8 kB / 0.717 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.499, allocations: 4 kB / 0.717 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.4992, allocations: 133.3 kB / 0.7171 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4992, allocations: 0 / 0.7171 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4992, allocations: 4 kB / 0.7171 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4992, allocations: 0 / 0.7171 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.4994, allocations: 169.7 kB / 0.7173 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4994, allocations: 4 kB / 0.7173 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.4994, allocations: 16 kB / 0.7173 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4995, allocations: 7.875 kB / 0.7173 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.4995, allocations: 7.984 kB / 0.7173 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4995, allocations: 4 kB / 0.7173 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4995, allocations: 0 / 0.7173 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.4997, allocations: 120.9 kB / 0.7174 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.4997, allocations: 85.03 kB / 0.7175 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.4997, allocations: 8 kB / 0.7175 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.4998, allocations: 11.98 kB / 0.7175 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.4998, allocations: 4 kB / 0.7175 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4998, allocations: 7.984 kB / 0.7175 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.4998, allocations: 75.28 kB / 0.7176 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4999, allocations: 0 / 0.7176 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002183/0.5001, allocations: 19.94 kB / 0.7176 GB, free: 12.61 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.5003, allocations: 128.3 kB / 0.7177 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5004, allocations: 63.91 kB / 0.7178 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5004, allocations: 0 / 0.7178 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.5005, allocations: 35.92 kB / 0.7178 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.5006, allocations: 10.59 kB / 0.7178 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.5009, allocations: 146.7 kB / 0.718 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.5012, allocations: 0.6888 MB / 0.7187 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.693e-05/0.5013, allocations: 35.94 kB / 0.7187 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.5013, allocations: 15.44 kB / 0.7187 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.5013, allocations: 0 / 0.7187 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.002436/0.5038, allocations: 0.5892 MB / 0.7193 GB, free: 10.84 MB / 0.4948 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)