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.0009001/0.0009002, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.472/0.472, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008395, allocations: 95.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.565e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5416, allocations: 101.2 MB / 0.6524 GB, free: 9.055 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5419, allocations: 72.77 kB / 0.6524 GB, free: 9.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002803/0.5447, allocations: 1.047 MB / 0.6534 GB, free: 8.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5447, allocations: 0 / 0.6534 GB, free: 8.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.5447, allocations: 4 kB / 0.6535 GB, free: 8.086 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.000337/0.5451, allocations: 350.3 kB / 0.6538 GB, free: 7.703 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5451, allocations: 15.97 kB / 0.6538 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.5451, allocations: 11.14 kB / 0.6538 GB, free: 7.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5453, allocations: 165.4 kB / 0.654 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.5453, allocations: 0 / 0.654 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.5453, allocations: 4 kB / 0.654 GB, free: 7.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.721e-05/0.5454, allocations: 22.19 kB / 0.654 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.931e-05/0.5455, allocations: 40.81 kB / 0.654 GB, free: 7.418 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.5455, allocations: 3.984 kB / 0.654 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5455, allocations: 0 / 0.654 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5455, allocations: 7.953 kB / 0.654 GB, free: 7.406 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.5458, allocations: 257.1 kB / 0.6543 GB, free: 7.133 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.5461, allocations: 48.92 kB / 0.6543 GB, free: 7.082 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.5461, allocations: 12.05 kB / 0.6543 GB, free: 7.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.5464, allocations: 401.7 kB / 0.6547 GB, free: 6.586 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.5464, allocations: 34.56 kB / 0.6548 GB, free: 6.543 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5464, allocations: 0 / 0.6548 GB, free: 6.543 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001765/0.5466, allocations: 52.58 kB / 0.6548 GB, free: 6.492 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.5466, allocations: 55.41 kB / 0.6549 GB, free: 6.426 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.5467, allocations: 96.23 kB / 0.655 GB, free: 6.328 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.5467, allocations: 25.7 kB / 0.655 GB, free: 6.297 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.5468, allocations: 87.3 kB / 0.6551 GB, free: 6.211 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.5468, allocations: 7.906 kB / 0.6551 GB, free: 6.203 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.5468, allocations: 0 / 0.6551 GB, free: 6.203 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.5469, allocations: 321.8 kB / 0.6554 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.5469, allocations: 6.875 kB / 0.6554 GB, free: 5.879 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.5469, allocations: 10.92 kB / 0.6554 GB, free: 5.871 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.363e-05/0.547, allocations: 4 kB / 0.6554 GB, free: 5.867 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.547, allocations: 0 / 0.6554 GB, free: 5.867 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.528e-05/0.5471, allocations: 51.88 kB / 0.6555 GB, free: 5.816 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5471, allocations: 5.094 kB / 0.6555 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5471, allocations: 0 / 0.6555 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5471, allocations: 0 / 0.6555 GB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.5472, allocations: 19.98 kB / 0.6555 GB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5472, allocations: 3.953 kB / 0.6555 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.5473, allocations: 17.67 kB / 0.6555 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5473, allocations: 0 / 0.6555 GB, free: 5.773 MB / 458.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 () * 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 6.083e-05/0.5474, allocations: 101 kB / 0.6556 GB, free: 5.668 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.5474, allocations: 7.906 kB / 0.6556 GB, free: 5.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.5475, allocations: 67.42 kB / 0.6557 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.5476, allocations: 0 / 0.6557 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5476, allocations: 0 / 0.6557 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5476, allocations: 3.953 kB / 0.6557 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.5477, allocations: 145.2 kB / 0.6558 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5477, allocations: 0 / 0.6558 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.5478, allocations: 11.98 kB / 0.6558 GB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5478, allocations: 4 kB / 0.6558 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.5478, allocations: 2.688 kB / 0.6558 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5478, allocations: 0.5469 kB / 0.6558 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5478, allocations: 4 kB / 0.6558 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.548, allocations: 154.6 kB / 0.656 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.548, allocations: 77.11 kB / 0.656 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.548, allocations: 0 / 0.656 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.5481, allocations: 11.98 kB / 0.6561 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.5482, allocations: 7.172 kB / 0.6561 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.5482, allocations: 8 kB / 0.6561 GB, free: 5.117 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.5482, allocations: 86.66 kB / 0.6562 GB, free: 5.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5482, allocations: 0 / 0.6562 GB, free: 5.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.5484, allocations: 23.78 kB / 0.6562 GB, free: 5.012 MB / 458.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 () * 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.0001421/0.5486, allocations: 108.9 kB / 0.6563 GB, free: 4.898 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.858e-05/0.5487, allocations: 18.5 kB / 0.6563 GB, free: 4.887 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5487, allocations: 0 / 0.6563 GB, free: 4.887 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.5487, allocations: 15.12 kB / 0.6563 GB, free: 4.875 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.5489, allocations: 11.94 kB / 0.6563 GB, free: 4.863 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.5491, allocations: 63 kB / 0.6564 GB, free: 4.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.5493, allocations: 0.6807 MB / 0.6571 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.041e-05/0.5493, allocations: 7.984 kB / 0.6571 GB, free: 4.066 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.5494, allocations: 18.55 kB / 0.6571 GB, free: 4.051 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5494, allocations: 0 / 0.6571 GB, free: 4.051 MB / 458.7 MB Notification: Performance of Templates: time 0.002194/0.5516, allocations: 0.5804 MB / 0.6576 GB, free: 3.48 MB / 458.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)