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.295/2.295, allocations: 248.5 MB / 261 MB, free: 5.965 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.3 kB / 320.4 MB, free: 15.32 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.188/2.188, 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.001088/0.001088, allocations: 97.92 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.543e-05/4.557e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8537/1.067, allocations: 131.8 MB / 1.019 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.067, allocations: 78.67 kB / 1.019 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004756/1.072, allocations: 1.053 MB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.338e-06/1.072, allocations: 0 / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.072, allocations: 3.938 kB / 1.021 GB, free: 2.391 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.0005408/1.072, allocations: 354.2 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.072, allocations: 8.031 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/1.073, allocations: 34.55 kB / 1.021 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/1.073, allocations: 4 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/1.073, allocations: 166.9 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/1.073, allocations: 7.25 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/1.073, allocations: 3.938 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/1.073, allocations: 48.69 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.073, allocations: 4 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.073, allocations: 0 / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.073, allocations: 4 kB / 1.021 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/1.073, allocations: 27.11 kB / 1.021 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/1.074, allocations: 283.2 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/1.074, allocations: 48.42 kB / 1.021 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/1.074, allocations: 12.86 kB / 1.021 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/1.075, allocations: 405.5 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.075, allocations: 30.56 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.916e-06/1.075, allocations: 4 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000237/1.075, allocations: 56.48 kB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.075, allocations: 51.41 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.075, allocations: 96.94 kB / 1.022 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.075, allocations: 29.7 kB / 1.022 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/1.075, allocations: 91.25 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/1.075, allocations: 3.906 kB / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/1.075, allocations: 0 / 1.022 GB, free: 432 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.075, allocations: 318.7 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/1.075, allocations: 7.875 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/1.076, allocations: 7.938 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.898e-05/1.076, allocations: 10.98 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.076, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000246/1.076, allocations: 60.97 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/1.076, allocations: 4 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.076, allocations: 0 / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.076, allocations: 0 / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/1.076, allocations: 15.98 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.076, allocations: 7.891 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/1.077, allocations: 8.047 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/1.077, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 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 0.0001382/1.077, allocations: 109.1 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.077, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/1.077, allocations: 63.83 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.077, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.078, allocations: 5.25 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.078, allocations: 7.938 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/1.078, allocations: 164.7 kB / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.078, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/1.078, allocations: 15.98 kB / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.078, allocations: 0 / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.078, allocations: 7.938 kB / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.078, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.078, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/1.078, allocations: 158 kB / 1.023 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/1.078, allocations: 77.11 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/1.078, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/1.078, allocations: 15.98 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/1.079, allocations: 3.984 kB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/1.079, allocations: 7.812 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.726e-05/1.079, allocations: 79.98 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.079, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003153/1.079, allocations: 27.38 kB / 1.023 GB, free: 15.19 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: 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.0006101/1.08, allocations: 0.6964 MB / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001288/1.08, allocations: 22.61 kB / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.08, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.347e-05/1.08, allocations: 11.88 kB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/1.08, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/1.081, allocations: 122 kB / 1.024 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/1.081, allocations: 0.6809 MB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.224e-05/1.081, allocations: 0.5469 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/1.081, allocations: 19.11 kB / 1.025 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.081, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/1.105, allocations: 1.381 MB / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.105, allocations: 153 kB / 1.026 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.44, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.6511 GB