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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002403/0.002403, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.97/1.97, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.001/1.001, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006375/0.0006376, allocations: 14.69 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2768, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0009871/0.2779, allocations: 299.1 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000343/0.2783, allocations: 55.83 kB / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.2783, allocations: 0 / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.2784, allocations: 0 / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.915e-06/0.2784, allocations: 0 / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.2787, allocations: 11.94 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2789, allocations: 27.95 kB / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.2789, allocations: 0 / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.279, allocations: 11.94 kB / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.279, allocations: 11.98 kB / 0.5571 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2791, allocations: 8 kB / 0.5571 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.2792, allocations: 15.97 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.2792, allocations: 8 kB / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.2793, allocations: 25.7 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.2794, allocations: 23.95 kB / 0.5572 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2794, allocations: 0 / 0.5572 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2794, allocations: 0 / 0.5572 GB, free: 11.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2794, allocations: 0 / 0.5572 GB, free: 11.18 MB / 430.1 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.0003997/0.2798, allocations: 327.4 kB / 0.5575 GB, free: 10.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.2799, allocations: 11.97 kB / 0.5575 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.28, allocations: 34.56 kB / 0.5576 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.28, allocations: 7.906 kB / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2802, allocations: 167.3 kB / 0.5577 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2802, allocations: 8 kB / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.2802, allocations: 0 / 0.5577 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.2805, allocations: 64.8 kB / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2805, allocations: 7.938 kB / 0.5578 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2805, allocations: 0 / 0.5578 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2805, allocations: 0 / 0.5578 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2808, allocations: 107.8 kB / 0.5579 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.2811, allocations: 169.7 kB / 0.5581 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.2813, allocations: 78.47 kB / 0.5582 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.2818, allocations: 401.5 kB / 0.5585 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.2819, allocations: 34.56 kB / 0.5586 GB, free: 9.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.2819, allocations: 0 / 0.5586 GB, free: 9.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004119/0.2823, allocations: 129.7 kB / 0.5587 GB, free: 9.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2824, allocations: 55.41 kB / 0.5587 GB, free: 9.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.2824, allocations: 89.86 kB / 0.5588 GB, free: 9.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2825, allocations: 33.7 kB / 0.5589 GB, free: 9.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.2825, allocations: 80.33 kB / 0.5589 GB, free: 9.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.2826, allocations: 19.66 kB / 0.559 GB, free: 9.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.2826, allocations: 4 kB / 0.559 GB, free: 9.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2828, allocations: 314.8 kB / 0.5593 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/0.2828, allocations: 19.98 kB / 0.5593 GB, free: 8.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.2829, allocations: 19.98 kB / 0.5593 GB, free: 8.734 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.283, allocations: 31.98 kB / 0.5593 GB, free: 8.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2831, allocations: 0 / 0.5593 GB, free: 8.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002551/0.2833, allocations: 96.28 kB / 0.5594 GB, free: 8.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2834, allocations: 4 kB / 0.5594 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2834, allocations: 0 / 0.5594 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2834, allocations: 0 / 0.5594 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.2836, allocations: 23.98 kB / 0.5594 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2836, allocations: 3.953 kB / 0.5595 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.2837, allocations: 3.906 kB / 0.5595 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.2837, allocations: 4 kB / 0.5595 GB, free: 8.566 MB / 430.1 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 0.0001839/0.2839, allocations: 125.8 kB / 0.5596 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.2839, allocations: 7.984 kB / 0.5596 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.2843, allocations: 133.5 kB / 0.5597 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2844, allocations: 0 / 0.5597 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2844, allocations: 0 / 0.5597 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/0.2844, allocations: 3.953 kB / 0.5597 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.2846, allocations: 177.6 kB / 0.5599 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2846, allocations: 0 / 0.5599 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2848, allocations: 15.98 kB / 0.5599 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2848, allocations: 4 kB / 0.5599 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2848, allocations: 8 kB / 0.5599 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2849, allocations: 0 / 0.5599 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2849, allocations: 0 / 0.5599 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.2852, allocations: 125.3 kB / 0.56 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.2853, allocations: 88.98 kB / 0.5601 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2853, allocations: 4 kB / 0.5601 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.2854, allocations: 4 kB / 0.5601 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2854, allocations: 7.984 kB / 0.5601 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2855, allocations: 7.938 kB / 0.5601 GB, free: 7.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.2855, allocations: 77.41 kB / 0.5602 GB, free: 7.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2855, allocations: 0 / 0.5602 GB, free: 7.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.2859, allocations: 20 kB / 0.5602 GB, free: 7.672 MB / 430.1 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.0008571/0.2868, allocations: 0.6767 MB / 0.5609 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.2871, allocations: 55.91 kB / 0.5609 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2871, allocations: 0 / 0.5609 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.2872, allocations: 39.92 kB / 0.561 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.2874, allocations: 0.9844 kB / 0.561 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.2881, allocations: 184.4 kB / 0.5612 GB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.2886, allocations: 0.6848 MB / 0.5618 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.2887, allocations: 39.89 kB / 0.5619 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2888, allocations: 15.44 kB / 0.5619 GB, free: 5.891 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2888, allocations: 0 / 0.5619 GB, free: 5.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3883/0.6771, allocations: 1.316 MB / 0.5632 GB, free: 4.711 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003724/0.6776, allocations: 191.3 kB / 0.5634 GB, free: 4.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/3.845, allocations: 0 / 0.5634 GB, free: 4.469 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: