Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.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.Binomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_Binomial",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.25/2.25, allocations: 251 MB / 265.9 MB, free: 11.68 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.001564/0.001564, allocations: 183.1 kB / 325.5 MB, free: 2.898 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.392/2.392, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001155/0.001155, allocations: 100.3 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005361/0.000536, allocations: 13.28 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2469, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.4774, allocations: 131.1 MB / 1.027 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.4777, allocations: 75.94 kB / 1.027 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005434/0.4832, allocations: 1.222 MB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4832, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4833, allocations: 4 kB / 1.028 GB, free: 13.33 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005775/0.4839, allocations: 359.2 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4839, allocations: 11.97 kB / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.484, allocations: 46.5 kB / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.484, allocations: 4 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4842, allocations: 167 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/0.4845, allocations: 285 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4845, allocations: 4 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.4849, allocations: 81.62 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.485, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.485, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.485, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.4856, allocations: 135.8 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.4859, allocations: 193.4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.4865, allocations: 94.52 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.4865, allocations: 336 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4866, allocations: 38.5 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.4866, allocations: 0 / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0008908/0.4875, allocations: 145.5 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4875, allocations: 55.41 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/0.4876, allocations: 85 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.4876, allocations: 29.7 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.4876, allocations: 80.33 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.4877, allocations: 39.45 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4877, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4879, allocations: 318.8 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.4881, allocations: 35.91 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.4884, allocations: 36.41 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.4887, allocations: 32.14 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4887, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005879/0.4893, allocations: 113.6 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4893, allocations: 4 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4893, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4894, allocations: 7.984 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.4897, allocations: 23.92 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4897, allocations: 3.938 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4898, allocations: 11.91 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.4898, allocations: 11.98 kB / 1.031 GB, free: 10.64 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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.0001311/0.49, allocations: 117.8 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.49, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.4901, allocations: 15.95 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4901, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4901, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4901, allocations: 3.938 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.4903, allocations: 189.5 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4903, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4906, allocations: 23.98 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4906, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4906, allocations: 11.98 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-06/0.4906, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4906, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.4912, allocations: 141 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.4913, allocations: 89 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4913, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4914, allocations: 11.94 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.4915, allocations: 15.97 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4916, allocations: 4 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.4916, allocations: 76.33 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4916, allocations: 0 / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003158/0.4919, allocations: 27.98 kB / 1.031 GB, free: 9.836 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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.001037/0.493, allocations: 0.6982 MB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005859/0.4936, allocations: 91.81 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4936, allocations: 0 / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.4939, allocations: 47.89 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.494, allocations: 8 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.4948, allocations: 209.1 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4951, allocations: 0.6926 MB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.4953, allocations: 39.81 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.4954, allocations: 23.42 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/0.4954, allocations: 0 / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5153, allocations: 1.726 MB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/0.5157, allocations: 182.2 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.848, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.6823 GB