Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.333/2.333, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001523/0.001523, allocations: 180.3 kB / 315.4 MB, free: 3.996 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.207/2.207, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 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.001129/0.001129, allocations: 94.86 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.807e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1928, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9013/1.094, allocations: 132.1 MB / 1.013 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.095, allocations: 70.83 kB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004362/1.099, allocations: 1.052 MB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.889e-06/1.099, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.099, allocations: 3.938 kB / 1.014 GB, free: 6.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005219/1.099, allocations: 358.4 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.1, allocations: 8.031 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/1.1, allocations: 4.734 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.1, allocations: 170.9 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.1, allocations: 0 / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/1.1, allocations: 4 kB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.929e-05/1.1, allocations: 19.5 kB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/1.1, allocations: 45.55 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.1, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.1, allocations: 0 / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.1, allocations: 11.94 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/1.101, allocations: 260.7 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/1.101, allocations: 38.44 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/1.101, allocations: 12.86 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003675/1.101, allocations: 397.6 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.101, allocations: 42.5 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/1.101, allocations: 0 / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002352/1.102, allocations: 53.34 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.102, allocations: 55.41 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/1.102, allocations: 100.9 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.102, allocations: 25.7 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/1.102, allocations: 83.83 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/1.102, allocations: 7.906 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/1.102, allocations: 4 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.102, allocations: 314.8 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/1.102, allocations: 7.75 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/1.102, allocations: 7.562 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/1.102, allocations: 4 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.102, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001426/1.102, allocations: 61.22 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.102, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.102, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.102, allocations: 7.938 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/1.103, allocations: 16.17 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.103, allocations: 0 / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/1.103, allocations: 7.984 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.103, allocations: 7.953 kB / 1.016 GB, free: 3.699 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.8e-05/1.103, allocations: 107.6 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001568/1.103, allocations: 54.22 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/1.103, allocations: 4 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/1.103, allocations: 57.42 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.103, allocations: 0 / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.103, allocations: 7.953 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.103, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/1.104, allocations: 141.9 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.104, allocations: 0 / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.104, allocations: 15.98 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.104, allocations: 4 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/1.104, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.104, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.104, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/1.104, allocations: 151 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/1.104, allocations: 81.05 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/1.104, allocations: 7.984 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/1.104, allocations: 11.94 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/1.104, allocations: 7.984 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/1.104, allocations: 256 / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.158e-05/1.104, allocations: 86.91 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.104, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003318/1.105, allocations: 23.88 kB / 1.017 GB, free: 2.891 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000575/1.105, allocations: 0.6887 MB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001186/1.105, allocations: 27.61 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.105, allocations: 0 / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/1.106, allocations: 11.94 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/1.106, allocations: 4 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/1.106, allocations: 109.4 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/1.107, allocations: 0.6885 MB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.08e-05/1.107, allocations: 4 kB / 1.018 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/1.107, allocations: 15.17 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/1.107, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/1.135, allocations: 1.023 MB / 1.019 GB, free: 280 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003486/1.136, allocations: 148.5 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/3.378, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB