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 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.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.001189/0.001189, allocations: 168.3 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.469/0.469, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, 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.0007347/0.0007347, allocations: 95.58 kB / 420.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003957, allocations: 12 kB / 0.4901 GB, free: 8.055 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3891, allocations: 71.02 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.5176, allocations: 100.5 MB / 0.6576 GB, free: 9.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5179, allocations: 72.84 kB / 0.6577 GB, free: 8.949 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003065/0.521, allocations: 1.062 MB / 0.6587 GB, free: 7.895 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.521, allocations: 0 / 0.6587 GB, free: 7.895 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.521, allocations: 0 / 0.6587 GB, free: 7.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003988/0.5214, allocations: 366.2 kB / 0.6591 GB, free: 7.488 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5215, allocations: 8.031 kB / 0.6591 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.5215, allocations: 0.9375 kB / 0.6591 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.5216, allocations: 168.3 kB / 0.6593 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5216, allocations: 8.375 kB / 0.6593 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5217, allocations: 4.375 kB / 0.6593 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.5219, allocations: 70.2 kB / 0.6593 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5219, allocations: 192 / 0.6593 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5219, allocations: 7.938 kB / 0.6593 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5219, allocations: 0 / 0.6593 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.5221, allocations: 59.89 kB / 0.6594 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.5225, allocations: 276.8 kB / 0.6597 GB, free: 6.805 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.5228, allocations: 74.45 kB / 0.6597 GB, free: 6.723 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.5229, allocations: 32.89 kB / 0.6598 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.5232, allocations: 397.5 kB / 0.6601 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.5232, allocations: 30.56 kB / 0.6602 GB, free: 6.168 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.5232, allocations: 4 kB / 0.6602 GB, free: 6.164 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003887/0.5236, allocations: 113.5 kB / 0.6603 GB, free: 6.047 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5237, allocations: 55.41 kB / 0.6603 GB, free: 5.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.5237, allocations: 109.8 kB / 0.6604 GB, free: 5.863 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.5238, allocations: 25.7 kB / 0.6605 GB, free: 5.832 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.5238, allocations: 84.14 kB / 0.6606 GB, free: 5.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.5238, allocations: 11.84 kB / 0.6606 GB, free: 5.734 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5239, allocations: 0 / 0.6606 GB, free: 5.734 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.524, allocations: 318.8 kB / 0.6609 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.5241, allocations: 31.97 kB / 0.6609 GB, free: 5.383 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.5241, allocations: 19.98 kB / 0.6609 GB, free: 5.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.5243, allocations: 60.81 kB / 0.661 GB, free: 5.301 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5243, allocations: 0 / 0.661 GB, free: 5.301 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002087/0.5246, allocations: 85.59 kB / 0.6611 GB, free: 5.211 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.5246, allocations: 5.875 kB / 0.6611 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5246, allocations: 3.984 kB / 0.6611 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5246, allocations: 0 / 0.6611 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.5247, allocations: 19.94 kB / 0.6611 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5247, allocations: 7.922 kB / 0.6611 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.5248, allocations: 11.91 kB / 0.6611 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.5248, allocations: 0 / 0.6611 GB, free: 5.164 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 7.599e-05/0.5249, allocations: 117.8 kB / 0.6612 GB, free: 5.039 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.5249, allocations: 3.984 kB / 0.6612 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.5252, allocations: 93.55 kB / 0.6613 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5252, allocations: 0 / 0.6613 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5252, allocations: 0 / 0.6613 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5252, allocations: 0 / 0.6613 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5254, allocations: 177.6 kB / 0.6615 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5254, allocations: 4 kB / 0.6615 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.469e-05/0.5254, allocations: 15.98 kB / 0.6615 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5255, allocations: 3.938 kB / 0.6615 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5255, allocations: 0 / 0.6615 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5255, allocations: 0 / 0.6615 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5255, allocations: 0 / 0.6615 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.5257, allocations: 191.7 kB / 0.6617 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.5258, allocations: 77.16 kB / 0.6618 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.5258, allocations: 7.984 kB / 0.6618 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.5259, allocations: 11.98 kB / 0.6618 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.526, allocations: 4 kB / 0.6618 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.526, allocations: 4 kB / 0.6618 GB, free: 4.355 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.526, allocations: 95.55 kB / 0.6619 GB, free: 4.262 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.526, allocations: 4 kB / 0.6619 GB, free: 4.258 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.5263, allocations: 11.94 kB / 0.6619 GB, free: 4.246 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.0001629/0.5264, allocations: 107.2 kB / 0.662 GB, free: 4.133 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.5267, allocations: 63.89 kB / 0.6621 GB, free: 4.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5267, allocations: 0 / 0.6621 GB, free: 4.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.5268, allocations: 27.98 kB / 0.6621 GB, free: 4.043 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.5271, allocations: 14.17 kB / 0.6621 GB, free: 4.031 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.5274, allocations: 124.7 kB / 0.6622 GB, free: 3.879 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.5276, allocations: 0.6809 MB / 0.6629 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.5277, allocations: 0 / 0.6629 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.5277, allocations: 11.44 kB / 0.6629 GB, free: 3.16 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5277, allocations: 3.938 kB / 0.6629 GB, free: 3.156 MB / 474.7 MB Notification: Performance of Templates: time 0.002692/0.5304, allocations: 0.6519 MB / 0.6635 GB, free: 2.508 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)