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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8182/0.8182, allocations: 127.4 MB / 134.9 MB, free: 3.492 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.001016/0.001016, allocations: 175.2 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.2 MB / 399.5 MB, free: 13.5 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.001154/0.001154, allocations: 91.81 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.961e-05, allocations: 8.906 kB / 0.5466 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1394, allocations: 76.77 MB / 0.6215 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.2626, allocations: 101.2 MB / 0.7203 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.2629, allocations: 87.88 kB / 0.7204 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002025/0.2649, allocations: 0.9021 MB / 0.7213 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.203e-06/0.265, allocations: 4 kB / 0.7213 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.265, allocations: 0 / 0.7213 GB, free: 4.734 MB / 0.4948 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.0002363/0.2652, allocations: 327.1 kB / 0.7216 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2653, allocations: 12.03 kB / 0.7216 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.2653, allocations: 3.953 kB / 0.7216 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.2654, allocations: 163 kB / 0.7218 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2654, allocations: 4 kB / 0.7218 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2654, allocations: 4 kB / 0.7218 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/0.2656, allocations: 95.88 kB / 0.7219 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2657, allocations: 57.67 kB / 0.722 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2658, allocations: 0 / 0.722 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2658, allocations: 0 / 0.722 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2658, allocations: 4 kB / 0.722 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.266, allocations: 158 kB / 0.7221 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.2661, allocations: 70.5 kB / 0.7222 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.2661, allocations: 24.84 kB / 0.7222 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.2664, allocations: 405.5 kB / 0.7226 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2665, allocations: 34.56 kB / 0.7226 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.2665, allocations: 3.938 kB / 0.7226 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003163/0.2668, allocations: 93.92 kB / 0.7227 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.2669, allocations: 51.41 kB / 0.7228 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.2669, allocations: 92.91 kB / 0.7228 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2669, allocations: 25.7 kB / 0.7229 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.267, allocations: 80.33 kB / 0.7229 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.267, allocations: 15.81 kB / 0.723 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.267, allocations: 4 kB / 0.723 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2671, allocations: 314.8 kB / 0.7233 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.2672, allocations: 19.94 kB / 0.7233 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.2672, allocations: 19.98 kB / 0.7233 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.2674, allocations: 35.86 kB / 0.7233 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2674, allocations: 0 / 0.7233 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002246/0.2676, allocations: 89.58 kB / 0.7234 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2676, allocations: 4 kB / 0.7234 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2676, allocations: 0 / 0.7234 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2677, allocations: 8 kB / 0.7234 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.2678, allocations: 19.92 kB / 0.7235 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2678, allocations: 4 kB / 0.7235 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.2678, allocations: 0 / 0.7235 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.2678, allocations: 4 kB / 0.7235 GB, free: 2.238 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 () * 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 7.801e-05/0.2679, allocations: 116.9 kB / 0.7236 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2679, allocations: 3.906 kB / 0.7236 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.2682, allocations: 118.9 kB / 0.7237 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2682, allocations: 7.938 kB / 0.7237 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2682, allocations: 0 / 0.7237 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2682, allocations: 3.984 kB / 0.7237 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.2684, allocations: 150.1 kB / 0.7238 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2684, allocations: 0 / 0.7238 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/0.2684, allocations: 27.92 kB / 0.7239 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2684, allocations: 3.953 kB / 0.7239 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2685, allocations: 4 kB / 0.7239 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2685, allocations: 0 / 0.7239 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2685, allocations: 8 kB / 0.7239 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.2687, allocations: 117.5 kB / 0.724 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.2688, allocations: 81.02 kB / 0.7241 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2688, allocations: 7.953 kB / 0.7241 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.412e-05/0.2688, allocations: 0 / 0.7241 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.2688, allocations: 7.984 kB / 0.7241 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.2688, allocations: 0 / 0.7241 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.2689, allocations: 83.28 kB / 0.7242 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2689, allocations: 0 / 0.7242 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001847/0.2691, allocations: 11.94 kB / 0.7242 GB, free: 1.418 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 () * 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.0001928/0.2693, allocations: 130.1 kB / 0.7243 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.2694, allocations: 47.98 kB / 0.7244 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2694, allocations: 0 / 0.7244 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/0.2695, allocations: 35.92 kB / 0.7244 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.248e-05/0.2696, allocations: 6.625 kB / 0.7244 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.2698, allocations: 95.91 kB / 0.7245 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2701, allocations: 0.6807 MB / 0.7252 GB, free: 380 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.032e-05/0.2702, allocations: 35.94 kB / 0.7252 GB, free: 344 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2702, allocations: 15.44 kB / 0.7252 GB, free: 328 kB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.2702, allocations: 3.938 kB / 0.7252 GB, free: 324 kB / 0.4948 GB Notification: Performance of Templates: time 0.00223/0.2724, allocations: 0.5828 MB / 0.7258 GB, free: 15.73 MB / 0.5105 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)