Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000971/0.000971, allocations: 173.5 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.454/0.454, allocations: 86.28 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 348.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009616, allocations: 93.95 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004354, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.379, allocations: 71.02 MB / 0.5595 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4981, allocations: 99.45 MB / 0.6566 GB, free: 10.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.4983, allocations: 75.94 kB / 0.6567 GB, free: 10 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0017/0.5, allocations: 0.8278 MB / 0.6575 GB, free: 9.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.506e-05/0.5001, allocations: 0 / 0.6575 GB, free: 9.176 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.5001, allocations: 3.938 kB / 0.6575 GB, free: 9.172 MB / 474.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.0002461/0.5003, allocations: 333.7 kB / 0.6578 GB, free: 8.797 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.5004, allocations: 12.03 kB / 0.6578 GB, free: 8.785 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.5004, allocations: 4.844 kB / 0.6578 GB, free: 8.781 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.5005, allocations: 168.4 kB / 0.658 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.5005, allocations: 4.375 kB / 0.658 GB, free: 8.574 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.5005, allocations: 4.375 kB / 0.658 GB, free: 8.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5007, allocations: 58.23 kB / 0.658 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5007, allocations: 192 / 0.658 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5007, allocations: 3.938 kB / 0.658 GB, free: 8.504 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5007, allocations: 4 kB / 0.658 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.5008, allocations: 103.8 kB / 0.6581 GB, free: 8.398 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.501, allocations: 181.6 kB / 0.6583 GB, free: 8.172 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.5011, allocations: 70.55 kB / 0.6584 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.5012, allocations: 36.78 kB / 0.6584 GB, free: 8.055 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.5014, allocations: 397.5 kB / 0.6588 GB, free: 7.574 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5015, allocations: 38.55 kB / 0.6588 GB, free: 7.527 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.5015, allocations: 0 / 0.6588 GB, free: 7.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002192/0.5017, allocations: 125.7 kB / 0.6589 GB, free: 7.398 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.5017, allocations: 51.41 kB / 0.659 GB, free: 7.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.365e-05/0.5018, allocations: 97.86 kB / 0.6591 GB, free: 7.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5018, allocations: 25.7 kB / 0.6591 GB, free: 7.199 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.5018, allocations: 80.14 kB / 0.6592 GB, free: 7.117 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.5019, allocations: 23.66 kB / 0.6592 GB, free: 7.094 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5019, allocations: 0 / 0.6592 GB, free: 7.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.502, allocations: 322.8 kB / 0.6595 GB, free: 6.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.502, allocations: 15.98 kB / 0.6595 GB, free: 6.754 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.5021, allocations: 23.98 kB / 0.6596 GB, free: 6.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.5022, allocations: 65.42 kB / 0.6596 GB, free: 6.664 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5022, allocations: 0 / 0.6596 GB, free: 6.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001237/0.5023, allocations: 93.55 kB / 0.6597 GB, free: 6.566 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5023, allocations: 4 kB / 0.6597 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5023, allocations: 3.938 kB / 0.6597 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5023, allocations: 0 / 0.6597 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.5024, allocations: 19.98 kB / 0.6597 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5025, allocations: 0 / 0.6597 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.5025, allocations: 11.91 kB / 0.6597 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5025, allocations: 7.984 kB / 0.6598 GB, free: 6.52 MB / 474.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 () * 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 8.941e-05/0.5026, allocations: 125.8 kB / 0.6599 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.5026, allocations: 4 kB / 0.6599 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.5028, allocations: 117.5 kB / 0.66 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.5028, allocations: 0 / 0.66 GB, free: 6.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5028, allocations: 4 kB / 0.66 GB, free: 6.246 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5029, allocations: 8 kB / 0.66 GB, free: 6.238 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.503, allocations: 177.5 kB / 0.6602 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.503, allocations: 0 / 0.6602 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.503, allocations: 23.92 kB / 0.6602 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5031, allocations: 3.938 kB / 0.6602 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5031, allocations: 3.984 kB / 0.6602 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5031, allocations: 7.984 kB / 0.6602 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5031, allocations: 0 / 0.6602 GB, free: 5.977 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.5032, allocations: 125 kB / 0.6603 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.5033, allocations: 84.95 kB / 0.6604 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.5033, allocations: 4 kB / 0.6604 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.5033, allocations: 0 / 0.6604 GB, free: 5.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.5033, allocations: 11.98 kB / 0.6604 GB, free: 5.719 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.5033, allocations: 7.938 kB / 0.6604 GB, free: 5.711 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.825e-05/0.5034, allocations: 75.28 kB / 0.6605 GB, free: 5.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5034, allocations: 3.938 kB / 0.6605 GB, free: 5.633 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.5036, allocations: 23.94 kB / 0.6605 GB, free: 5.609 MB / 474.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 () * 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.0001611/0.5037, allocations: 115.2 kB / 0.6606 GB, free: 5.488 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.5039, allocations: 59.97 kB / 0.6607 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5039, allocations: 0 / 0.6607 GB, free: 5.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.5039, allocations: 39.84 kB / 0.6607 GB, free: 5.391 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.5041, allocations: 12.8 kB / 0.6607 GB, free: 5.379 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.5043, allocations: 138.7 kB / 0.6609 GB, free: 5.215 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.5045, allocations: 0.6809 MB / 0.6615 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.5046, allocations: 35.94 kB / 0.6616 GB, free: 4.473 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.5047, allocations: 19.44 kB / 0.6616 GB, free: 4.453 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5047, allocations: 0 / 0.6616 GB, free: 4.453 MB / 474.7 MB Notification: Performance of Templates: time 0.002232/0.5069, allocations: 0.573 MB / 0.6622 GB, free: 3.883 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)