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.7082/0.7082, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 172.9 kB / 169.7 MB, free: 1.75 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.697/1.697, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.0009083/0.0009082, allocations: 90.17 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.258e-05, allocations: 8 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 76.75 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5004/0.6613, allocations: 101.8 MB / 0.7276 GB, free: 11.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.6616, allocations: 77.08 kB / 0.7277 GB, free: 11.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002111/0.6637, allocations: 0.9068 MB / 0.7286 GB, free: 10.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6637, allocations: 7.938 kB / 0.7286 GB, free: 10.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.6637, allocations: 0 / 0.7286 GB, free: 10.64 MB / 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.0002954/0.664, allocations: 331.6 kB / 0.7289 GB, free: 10.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6641, allocations: 8.031 kB / 0.7289 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.6641, allocations: 8.578 kB / 0.7289 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.6642, allocations: 163.1 kB / 0.7291 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6643, allocations: 3.438 kB / 0.7291 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.6643, allocations: 4 kB / 0.7291 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.6644, allocations: 68.48 kB / 0.7291 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6645, allocations: 4 kB / 0.7291 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6645, allocations: 3.688 kB / 0.7291 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6645, allocations: 0 / 0.7291 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.6646, allocations: 98.81 kB / 0.7292 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.6648, allocations: 180.1 kB / 0.7294 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.665, allocations: 76.36 kB / 0.7295 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.665, allocations: 28.67 kB / 0.7295 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/0.6654, allocations: 404.3 kB / 0.7299 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.6654, allocations: 37.06 kB / 0.7299 GB, free: 9.066 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.6654, allocations: 0 / 0.7299 GB, free: 9.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001986/0.6656, allocations: 87.12 kB / 0.73 GB, free: 8.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6657, allocations: 51.41 kB / 0.7301 GB, free: 8.922 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.6657, allocations: 96.27 kB / 0.7302 GB, free: 8.824 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6657, allocations: 29.7 kB / 0.7302 GB, free: 8.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.6658, allocations: 84.2 kB / 0.7303 GB, free: 8.703 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.6658, allocations: 15.75 kB / 0.7303 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.6658, allocations: 7.438 kB / 0.7303 GB, free: 8.684 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6659, allocations: 314.8 kB / 0.7306 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.666, allocations: 20.73 kB / 0.7306 GB, free: 8.352 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.977e-05/0.666, allocations: 22.81 kB / 0.7306 GB, free: 8.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.6661, allocations: 29.78 kB / 0.7307 GB, free: 8.309 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6661, allocations: 0 / 0.7307 GB, free: 8.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001311/0.6662, allocations: 91.56 kB / 0.7307 GB, free: 8.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6662, allocations: 4 kB / 0.7308 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6663, allocations: 0 / 0.7308 GB, free: 8.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.6663, allocations: 4 kB / 0.7308 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6664, allocations: 23.36 kB / 0.7308 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6664, allocations: 0 / 0.7308 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.6664, allocations: 4 kB / 0.7308 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.6664, allocations: 0 / 0.7308 GB, free: 8.191 MB / 490.7 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 (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 8.513e-05/0.6665, allocations: 130.4 kB / 0.7309 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.6665, allocations: 7.891 kB / 0.7309 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.6668, allocations: 127 kB / 0.731 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6668, allocations: 4 kB / 0.731 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6668, allocations: 0 / 0.731 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6668, allocations: 0 / 0.731 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.6669, allocations: 177.4 kB / 0.7312 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6669, allocations: 0 / 0.7312 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.667, allocations: 19.94 kB / 0.7312 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.667, allocations: 0 / 0.7312 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.667, allocations: 11.55 kB / 0.7312 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.667, allocations: 0 / 0.7312 GB, free: 7.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6671, allocations: 6.438 kB / 0.7312 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.6672, allocations: 117.6 kB / 0.7314 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.6673, allocations: 85 kB / 0.7314 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.6673, allocations: 3.875 kB / 0.7314 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.6673, allocations: 4 kB / 0.7314 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.6673, allocations: 7.984 kB / 0.7315 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.6673, allocations: 2.375 kB / 0.7315 GB, free: 7.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.989e-05/0.6674, allocations: 79.28 kB / 0.7315 GB, free: 7.383 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6674, allocations: 3.938 kB / 0.7315 GB, free: 7.379 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.6676, allocations: 23.06 kB / 0.7316 GB, free: 7.359 MB / 490.7 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 () * 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.0001985/0.6678, allocations: 122.6 kB / 0.7317 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.6679, allocations: 50.86 kB / 0.7317 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6679, allocations: 0 / 0.7317 GB, free: 7.191 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.668, allocations: 38.61 kB / 0.7318 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.491e-05/0.6681, allocations: 9.5 kB / 0.7318 GB, free: 7.152 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.6683, allocations: 106.5 kB / 0.7319 GB, free: 7.039 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.6685, allocations: 0.6905 MB / 0.7325 GB, free: 6.324 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.6686, allocations: 31.95 kB / 0.7326 GB, free: 6.293 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.6686, allocations: 15.42 kB / 0.7326 GB, free: 6.277 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6687, allocations: 0 / 0.7326 GB, free: 6.277 MB / 490.7 MB Notification: Performance of Templates: time 0.002278/0.6709, allocations: 0.5896 MB / 0.7332 GB, free: 5.699 MB / 490.7 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)