Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.113/2.113, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 187.9 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 94.38 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007501/0.00075, allocations: 16.38 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2411, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.468, allocations: 130.8 MB / 1.027 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.4684, allocations: 83.94 kB / 1.027 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002871/0.4712, allocations: 0.8203 MB / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.08e-06/0.4713, allocations: 0 / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4713, allocations: 3.938 kB / 1.027 GB, free: 13.52 MB / 0.6823 GB 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.0003384/0.4717, allocations: 331.3 kB / 1.028 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4717, allocations: 12.03 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.4718, allocations: 34.56 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.4718, allocations: 8 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4719, allocations: 167 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.472, allocations: 12 kB / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.472, allocations: 0 / 1.028 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.4722, allocations: 61.61 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4722, allocations: 0 / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4722, allocations: 4 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4722, allocations: 0 / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.4725, allocations: 107.8 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.4727, allocations: 173.5 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4729, allocations: 78.53 kB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003792/0.4733, allocations: 405.5 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4733, allocations: 30.56 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.4733, allocations: 336 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0003553/0.4737, allocations: 117.8 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.4737, allocations: 51.41 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.752e-05/0.4738, allocations: 92.91 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4738, allocations: 29.64 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.4739, allocations: 88.33 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.4739, allocations: 19.75 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-06/0.474, allocations: 4 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4741, allocations: 314.8 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.4742, allocations: 19.98 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.4743, allocations: 24.03 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.442e-05/0.4744, allocations: 31.94 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4744, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.4746, allocations: 93.45 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4747, allocations: 12 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4747, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4747, allocations: 3.984 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.4749, allocations: 19.98 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.383e-06/0.4749, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.4749, allocations: 4 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.475, allocations: 7.984 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB 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.0001295/0.4751, allocations: 125.8 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.4751, allocations: 11.94 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.4755, allocations: 117.9 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4755, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4755, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-06/0.4755, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.4757, allocations: 177.5 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4757, allocations: 7.953 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.4759, allocations: 15.98 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4759, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4759, allocations: 8 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.4759, allocations: 11.86 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4759, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.4762, allocations: 113.5 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.4762, allocations: 88.97 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.4763, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.4763, allocations: 4 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.4764, allocations: 19.92 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4764, allocations: 4 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.4764, allocations: 75.28 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4764, allocations: 0 / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002722/0.4767, allocations: 23.94 kB / 1.031 GB, free: 10 MB / 0.6823 GB 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.0006558/0.4774, allocations: 0.6795 MB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.4776, allocations: 64.5 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4776, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.4777, allocations: 36.14 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.4778, allocations: 4 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.4784, allocations: 188.3 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.4787, allocations: 0.6848 MB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4788, allocations: 39.8 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.4789, allocations: 19.38 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/0.4789, allocations: 0 / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.4964, allocations: 1.316 MB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/0.4967, allocations: 190.4 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/2.898, allocations: 2.25 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB