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.001724/0.001724, allocations: 105.5 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001738, allocations: 186.2 kB / 17.2 MB, free: 5.953 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.755/0.755, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.88 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001821/0.3353, allocations: 0.5711 MB / 0.5679 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002877/0.3356, allocations: 55.39 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.3356, allocations: 0 / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.3356, allocations: 2.375 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.3357, allocations: 1.062 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.3359, allocations: 17.72 kB / 0.5679 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.336, allocations: 33.67 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.336, allocations: 2.328 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.3361, allocations: 8.969 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.751e-05/0.3361, allocations: 14.97 kB / 0.568 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3361, allocations: 7.281 kB / 0.568 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.3362, allocations: 15.83 kB / 0.568 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.3362, allocations: 10 kB / 0.568 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.3363, allocations: 14.83 kB / 0.568 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.3364, allocations: 32.33 kB / 0.5681 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3364, allocations: 2 kB / 0.5681 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3364, allocations: 0 / 0.5681 GB, free: 32.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3364, allocations: 1.125 kB / 0.5681 GB, free: 32.18 MB / 446.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.0002379/0.3366, allocations: 342.8 kB / 0.5684 GB, free: 31.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3367, allocations: 10.44 kB / 0.5684 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.463e-05/0.3367, allocations: 34.42 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.3367, allocations: 3.312 kB / 0.5684 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.146e-05/0.3368, allocations: 165.2 kB / 0.5686 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3368, allocations: 7.312 kB / 0.5686 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3368, allocations: 4.312 kB / 0.5686 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.337, allocations: 69.84 kB / 0.5687 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.337, allocations: 3.938 kB / 0.5687 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.337, allocations: 5.562 kB / 0.5687 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.337, allocations: 10.16 kB / 0.5687 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.3371, allocations: 100.3 kB / 0.5688 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.3373, allocations: 178.2 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3374, allocations: 66.98 kB / 0.569 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.3374, allocations: 32.58 kB / 0.569 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.3377, allocations: 404.5 kB / 0.5694 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.3377, allocations: 37.06 kB / 0.5695 GB, free: 30.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3377, allocations: 0 / 0.5695 GB, free: 30.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002155/0.3379, allocations: 123.2 kB / 0.5696 GB, free: 30.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.3379, allocations: 54.45 kB / 0.5696 GB, free: 30.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.334e-05/0.338, allocations: 96.52 kB / 0.5697 GB, free: 30.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.338, allocations: 26.7 kB / 0.5698 GB, free: 30.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.029e-05/0.338, allocations: 81.23 kB / 0.5698 GB, free: 30.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.338, allocations: 20.31 kB / 0.5699 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3381, allocations: 33.33 kB / 0.5699 GB, free: 30.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.3381, allocations: 317.8 kB / 0.5702 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.3382, allocations: 20.86 kB / 0.5702 GB, free: 30.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.3382, allocations: 21.92 kB / 0.5702 GB, free: 30.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.3383, allocations: 63.17 kB / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3383, allocations: 1.938 kB / 0.5703 GB, free: 30 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001234/0.3384, allocations: 89.97 kB / 0.5704 GB, free: 29.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3385, allocations: 11.72 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3385, allocations: 1.125 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3385, allocations: 0 / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.3386, allocations: 18.42 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3386, allocations: 10.28 kB / 0.5704 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.3386, allocations: 9.906 kB / 0.5704 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3386, allocations: 3.922 kB / 0.5704 GB, free: 29.94 MB / 446.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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.3387, allocations: 120.9 kB / 0.5705 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.3387, allocations: 7.25 kB / 0.5706 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.3389, allocations: 128.8 kB / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3389, allocations: 2.172 kB / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3389, allocations: 0 / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.339, allocations: 3.297 kB / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.757e-05/0.339, allocations: 178.1 kB / 0.5708 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3391, allocations: 3.938 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.3391, allocations: 17.77 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3391, allocations: 6.094 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3391, allocations: 1.859 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3392, allocations: 5.156 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3392, allocations: 1.344 kB / 0.5709 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.3393, allocations: 124.2 kB / 0.571 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.3393, allocations: 83.81 kB / 0.5711 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3393, allocations: 5.875 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/0.3394, allocations: 1.062 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3394, allocations: 14.61 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3394, allocations: 5.984 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.297e-05/0.3394, allocations: 81.12 kB / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3394, allocations: 0 / 0.5712 GB, free: 29.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.3397, allocations: 10.44 kB / 0.5712 GB, free: 29.26 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.34, allocations: 0.669 MB / 0.5718 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.3402, allocations: 72.25 kB / 0.5719 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3402, allocations: 1.812 kB / 0.5719 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.3402, allocations: 36.17 kB / 0.572 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.3404, allocations: 6.219 kB / 0.572 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.3407, allocations: 178.6 kB / 0.5721 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.126e-05/0.3408, allocations: 0.6857 MB / 0.5728 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.3409, allocations: 37.36 kB / 0.5728 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.3409, allocations: 19.91 kB / 0.5729 GB, free: 27.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3409, allocations: 0 / 0.5729 GB, free: 27.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.3591, allocations: 1.527 MB / 0.5743 GB, free: 27.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.377, allocations: 10.2 kB / 0.5744 GB, free: 27.42 MB / 446.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)