Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6113/0.6113, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.513/1.513, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001149/0.001149, allocations: 99.2 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 16 kB / 0.4983 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, allocations: 72.3 MB / 0.5689 GB, free: 1.93 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/0.7201, allocations: 101.9 MB / 0.6684 GB, free: 2.547 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.7204, allocations: 71.97 kB / 0.6685 GB, free: 2.477 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003092/0.7235, allocations: 1.065 MB / 0.6695 GB, free: 1.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7235, allocations: 0 / 0.6695 GB, free: 1.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.7235, allocations: 4 kB / 0.6695 GB, free: 1.422 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000441/0.7239, allocations: 355.9 kB / 0.6698 GB, free: 1.027 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.724, allocations: 8.031 kB / 0.6699 GB, free: 1.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.724, allocations: 11.86 kB / 0.6699 GB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.7242, allocations: 167 kB / 0.67 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.7242, allocations: 4 kB / 0.67 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.7242, allocations: 0 / 0.67 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.7244, allocations: 73.66 kB / 0.6701 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7245, allocations: 0 / 0.6701 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7245, allocations: 3.938 kB / 0.6701 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7245, allocations: 0 / 0.6701 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.7247, allocations: 63.89 kB / 0.6702 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.7251, allocations: 280.8 kB / 0.6704 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.7254, allocations: 66.48 kB / 0.6705 GB, free: 264 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.7258, allocations: 405.6 kB / 0.6709 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7258, allocations: 30.56 kB / 0.6709 GB, free: 15.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7258, allocations: 0 / 0.6709 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004253/0.7263, allocations: 117.6 kB / 0.671 GB, free: 15.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.7263, allocations: 51.41 kB / 0.6711 GB, free: 15.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.7264, allocations: 97 kB / 0.6712 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.7264, allocations: 29.7 kB / 0.6712 GB, free: 15.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.7265, allocations: 92.06 kB / 0.6713 GB, free: 15.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.7265, allocations: 3.906 kB / 0.6713 GB, free: 15.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.7265, allocations: 4 kB / 0.6713 GB, free: 15.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7266, allocations: 318.8 kB / 0.6716 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.7267, allocations: 27.97 kB / 0.6716 GB, free: 14.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.7268, allocations: 15.98 kB / 0.6716 GB, free: 14.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.7269, allocations: 31.92 kB / 0.6717 GB, free: 14.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7269, allocations: 0 / 0.6717 GB, free: 14.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002191/0.7272, allocations: 93.55 kB / 0.6718 GB, free: 14.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7272, allocations: 4 kB / 0.6718 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7272, allocations: 4 kB / 0.6718 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7272, allocations: 3.953 kB / 0.6718 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.7273, allocations: 15.98 kB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7273, allocations: 320 / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.7274, allocations: 4 kB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.7274, allocations: 7.984 kB / 0.6718 GB, free: 14.78 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.541e-05/0.7275, allocations: 117.8 kB / 0.6719 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.7275, allocations: 4 kB / 0.6719 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.7278, allocations: 93.53 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7279, allocations: 0 / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7279, allocations: 3.953 kB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7279, allocations: 4 kB / 0.672 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.7281, allocations: 169.6 kB / 0.6722 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.7281, allocations: 3.375 kB / 0.6722 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.208e-05/0.7282, allocations: 15.98 kB / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7282, allocations: 0 / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.7282, allocations: 0 / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7282, allocations: 0 / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7282, allocations: 0 / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.7285, allocations: 199.7 kB / 0.6724 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.7285, allocations: 77.16 kB / 0.6724 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.7285, allocations: 3.984 kB / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.7286, allocations: 11.98 kB / 0.6725 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.7287, allocations: 7.984 kB / 0.6725 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.7287, allocations: 7.938 kB / 0.6725 GB, free: 13.97 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.7288, allocations: 91.17 kB / 0.6726 GB, free: 13.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7288, allocations: 0 / 0.6726 GB, free: 13.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.729, allocations: 16 kB / 0.6726 GB, free: 13.87 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001842/0.7292, allocations: 108.4 kB / 0.6727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.7294, allocations: 59.89 kB / 0.6727 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7294, allocations: 0 / 0.6727 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.7295, allocations: 31.97 kB / 0.6728 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.7297, allocations: 4 kB / 0.6728 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.7301, allocations: 125.2 kB / 0.6729 GB, free: 13.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.7304, allocations: 0.6848 MB / 0.6736 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.7304, allocations: 7.797 kB / 0.6736 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.7304, allocations: 11.44 kB / 0.6736 GB, free: 12.78 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7305, allocations: 4 kB / 0.6736 GB, free: 12.78 MB / 474.7 MB Notification: Performance of Templates: time 0.002654/0.7331, allocations: 0.6353 MB / 0.6742 GB, free: 12.15 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)