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.186/2.186, allocations: 251 MB / 265.9 MB, free: 11.71 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.001462/0.001461, allocations: 182 kB / 325.5 MB, free: 2.918 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.371/2.371, allocations: 205.4 MB / 0.5764 GB, free: 21.26 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.00123/0.00123, allocations: 104.5 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004986, allocations: 13.72 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2348, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.4602, allocations: 131.9 MB / 1.028 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4605, allocations: 75.95 kB / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004528/0.4651, allocations: 1.054 MB / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4651, allocations: 0 / 1.029 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4652, allocations: 8 kB / 1.029 GB, free: 12.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000536/0.4657, allocations: 351.2 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/0.4658, allocations: 11.97 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.4659, allocations: 38.55 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.4659, allocations: 3.906 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.4661, allocations: 171 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4661, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.4661, allocations: 12 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.4664, allocations: 65.66 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.4664, allocations: 0 / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4665, allocations: 0 / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4665, allocations: 4 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.4668, allocations: 59.89 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.4674, allocations: 280.8 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.4682, allocations: 70.52 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/0.4687, allocations: 397.7 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4688, allocations: 34.5 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 3.536e-06/0.4688, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0007171/0.4696, allocations: 117.6 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4696, allocations: 51.41 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.4697, allocations: 105 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4698, allocations: 25.7 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.4699, allocations: 88.14 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4699, allocations: 7.906 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.4699, allocations: 3.938 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.47, allocations: 318.8 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.4702, allocations: 19.98 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.4704, allocations: 35.84 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4707, allocations: 27.98 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4707, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004422/0.4712, allocations: 85.56 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4712, allocations: 13.72 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4712, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4713, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4714, allocations: 11.98 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4714, allocations: 3.953 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4716, allocations: 11.98 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4716, allocations: 0 / 1.031 GB, free: 10.09 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked 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.0001089/0.4717, allocations: 118.9 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.4717, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.4722, allocations: 93.48 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.4722, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4722, allocations: 4 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4723, allocations: 7.938 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.4725, allocations: 169.6 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4725, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4726, allocations: 15.98 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4727, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4727, allocations: 4 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4727, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4727, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.4732, allocations: 183.4 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.4732, allocations: 89.45 kB / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4733, allocations: 0 / 1.032 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4734, allocations: 12 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.4735, allocations: 11.92 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.4735, allocations: 0 / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.151e-05/0.4736, allocations: 91.27 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4736, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003711/0.474, allocations: 12 kB / 1.032 GB, free: 9.184 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: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Number of clocked 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.0008723/0.4748, allocations: 0.7396 MB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.4753, allocations: 55.95 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4753, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.4755, allocations: 23.97 kB / 1.033 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.4758, allocations: 11.94 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4771, allocations: 468.4 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.4775, allocations: 0.6809 MB / 1.034 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.4776, allocations: 7.984 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.4777, allocations: 11.44 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/0.4777, allocations: 4 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.5007, allocations: 1.374 MB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.501, allocations: 192.3 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.955, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB