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.262/2.262, allocations: 248.5 MB / 261.1 MB, free: 6.008 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.00149, allocations: 187.2 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001132/0.001132, allocations: 105.5 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.825e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2121, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.907/1.119, allocations: 130.8 MB / 1.018 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.12, allocations: 75.14 kB / 1.018 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002996/1.123, allocations: 0.8264 MB / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.123, allocations: 0 / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.123, allocations: 0 / 1.019 GB, free: 3.289 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.0003787/1.123, allocations: 337.5 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/1.123, allocations: 12.03 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/1.123, allocations: 38.38 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/1.123, allocations: 8 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.123, allocations: 163 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.123, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/1.123, allocations: 7.938 kB / 1.02 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/1.124, allocations: 60.55 kB / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.124, allocations: 0 / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.124, allocations: 3.984 kB / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.124, allocations: 0 / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/1.124, allocations: 109.7 kB / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/1.124, allocations: 179.7 kB / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/1.124, allocations: 73.62 kB / 1.02 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/1.125, allocations: 30.53 kB / 1.02 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/1.125, allocations: 400.9 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.125, allocations: 34.55 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.086e-06/1.125, allocations: 0 / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003688/1.125, allocations: 93.64 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.126, allocations: 58.16 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/1.126, allocations: 92.91 kB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/1.126, allocations: 28.83 kB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/1.126, allocations: 80.33 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/1.126, allocations: 19.06 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/1.126, allocations: 0 / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.126, allocations: 322.2 kB / 1.021 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/1.126, allocations: 19.75 kB / 1.021 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/1.126, allocations: 18.55 kB / 1.021 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.928e-05/1.126, allocations: 29.89 kB / 1.021 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.126, allocations: 0 / 1.021 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002362/1.126, allocations: 101.8 kB / 1.021 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/1.126, allocations: 4 kB / 1.021 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.127, allocations: 0 / 1.021 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.127, allocations: 0 / 1.021 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.127, allocations: 16 kB / 1.021 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.127, allocations: 3.984 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/1.127, allocations: 6.875 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.127, allocations: 0 / 1.022 GB, free: 0.7812 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.000138/1.127, allocations: 119.9 kB / 1.022 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/1.127, allocations: 7.891 kB / 1.022 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/1.127, allocations: 125.3 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.127, allocations: 0 / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.127, allocations: 0 / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.455e-06/1.127, allocations: 3.984 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.128, allocations: 182 kB / 1.022 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.128, allocations: 4 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/1.128, allocations: 15.98 kB / 1.022 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.128, allocations: 4 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.128, allocations: 2.875 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.128, allocations: 1.375 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.128, allocations: 0 / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/1.128, allocations: 122.8 kB / 1.022 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/1.128, allocations: 88.91 kB / 1.022 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/1.128, allocations: 7.188 kB / 1.022 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/1.128, allocations: 4 kB / 1.022 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/1.128, allocations: 7.984 kB / 1.022 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/1.128, allocations: 3.188 kB / 1.022 GB, free: 48 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.359e-05/1.128, allocations: 82.02 kB / 1.022 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/1.128, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002904/1.129, allocations: 31.3 kB / 1.022 GB, free: 15.94 MB / 0.6511 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.0007451/1.13, allocations: 0.6681 MB / 1.023 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002035/1.13, allocations: 57.48 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.13, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/1.13, allocations: 35.05 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/1.13, allocations: 3.562 kB / 1.023 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/1.131, allocations: 147.7 kB / 1.023 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/1.131, allocations: 0.6848 MB / 1.024 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001623/1.131, allocations: 39.8 kB / 1.024 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/1.131, allocations: 23.23 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.131, allocations: 0 / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/1.151, allocations: 1.327 MB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003458/1.151, allocations: 179.2 kB / 1.025 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.36, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.6511 GB