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.443/2.443, allocations: 248.7 MB / 256.2 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.001489, allocations: 177.2 kB / 315.4 MB, free: 4.027 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.092/2.092, allocations: 205.2 MB / 0.5662 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 106.5 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.983e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.915/1.125, allocations: 131 MB / 1.012 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/1.125, allocations: 78.38 kB / 1.012 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002866/1.128, allocations: 0.8324 MB / 1.013 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/1.128, allocations: 0 / 1.013 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.483e-06/1.128, allocations: 0 / 1.013 GB, free: 6.93 MB / 0.6355 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.0003382/1.129, allocations: 330.4 kB / 1.013 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.129, allocations: 8.031 kB / 1.013 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/1.129, allocations: 4 kB / 1.013 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.129, allocations: 171 kB / 1.013 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/1.129, allocations: 3.938 kB / 1.013 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/1.129, allocations: 4 kB / 1.013 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002503/1.129, allocations: 103.1 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/1.129, allocations: 53.55 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.129, allocations: 0 / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/1.129, allocations: 0 / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.129, allocations: 3.938 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/1.13, allocations: 153.9 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/1.13, allocations: 66.19 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/1.13, allocations: 28.72 kB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/1.13, allocations: 405.3 kB / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.13, allocations: 30.56 kB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/1.13, allocations: 0 / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004823/1.131, allocations: 93.42 kB / 1.014 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/1.131, allocations: 51.41 kB / 1.014 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/1.131, allocations: 92.91 kB / 1.014 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/1.131, allocations: 25.7 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/1.131, allocations: 80.33 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/1.131, allocations: 19.67 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/1.131, allocations: 3.938 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.131, allocations: 318.7 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/1.131, allocations: 15.69 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/1.131, allocations: 18.53 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/1.132, allocations: 31.66 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.132, allocations: 4 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003771/1.132, allocations: 92.84 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.132, allocations: 4 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.132, allocations: 7.922 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.132, allocations: 0 / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.132, allocations: 19.94 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.132, allocations: 3.938 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/1.132, allocations: 0.875 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/1.133, allocations: 7.984 kB / 1.015 GB, free: 4.508 MB / 0.6355 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 () * 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.0001271/1.133, allocations: 114.3 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003576/1.133, allocations: 101.5 kB / 1.015 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/1.133, allocations: 4 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/1.134, allocations: 114.6 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.134, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.134, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.134, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/1.134, allocations: 161.7 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/1.134, allocations: 7.938 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.134, allocations: 23.88 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.134, allocations: 3.984 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/1.134, allocations: 4 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.134, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.134, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.134, allocations: 112.5 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/1.134, allocations: 89 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.134, allocations: 4 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/1.134, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/1.135, allocations: 7.984 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/1.135, allocations: 7.938 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.921e-05/1.135, allocations: 75.28 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.135, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003514/1.135, allocations: 19.94 kB / 1.016 GB, free: 3.625 MB / 0.6355 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 () * 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.0008381/1.136, allocations: 0.6782 MB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001813/1.136, allocations: 51.67 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.136, allocations: 0 / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/1.136, allocations: 31.67 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/1.136, allocations: 0 / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/1.137, allocations: 141.1 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.137, allocations: 0.6807 MB / 1.017 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001492/1.137, allocations: 39.8 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/1.137, allocations: 23.17 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/1.137, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/1.169, allocations: 1.038 MB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/1.169, allocations: 156 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.431, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.6355 GB