Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.Binomial,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.374/2.374, 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.001461/0.00146, allocations: 184 kB / 325.5 MB, free: 2.867 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.413/2.413, allocations: 205.4 MB / 0.5764 GB, free: 21.17 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.001168/0.001167, allocations: 101 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004948, allocations: 11.91 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2368, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.4804, allocations: 132.2 MB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.4808, allocations: 71.97 kB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006407/0.4872, allocations: 1.327 MB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4873, allocations: 4 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4873, allocations: 0 / 1.029 GB, free: 12.18 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.000617/0.4879, allocations: 367.2 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.488, allocations: 8.031 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.488, allocations: 42.48 kB / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.4881, allocations: 3.906 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.4883, allocations: 171 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4883, allocations: 4 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.4883, allocations: 8 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.4887, allocations: 65.66 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4887, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4888, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4888, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.4891, allocations: 63.89 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.4897, allocations: 272.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.4903, allocations: 70.53 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/0.4908, allocations: 401.7 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4908, allocations: 34.5 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.4909, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006758/0.4915, allocations: 117.8 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4916, allocations: 51.41 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.4917, allocations: 105 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.4918, allocations: 37.64 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.4918, allocations: 84.14 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.4919, allocations: 3.906 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.4919, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.492, allocations: 327.8 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.4922, allocations: 23.98 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.4924, allocations: 23.97 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.4926, allocations: 31.91 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4926, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004153/0.493, allocations: 93.56 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4931, allocations: 4 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4931, allocations: 0 / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4931, allocations: 0 / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4933, allocations: 19.98 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4933, allocations: 3.953 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4934, allocations: 15.92 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4935, allocations: 4 kB / 1.032 GB, free: 9.465 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 (bin.y,bin.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.0001118/0.4936, allocations: 109.8 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.4936, allocations: 4 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.4941, allocations: 97.48 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4941, allocations: 0 / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4941, allocations: 0 / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.4941, allocations: 3.953 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.4944, allocations: 173.5 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4944, allocations: 0 / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.4946, allocations: 15.98 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4946, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4946, allocations: 0 / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4946, allocations: 4 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4946, allocations: 0 / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.4951, allocations: 187.4 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.4952, allocations: 85.09 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.4952, allocations: 3.938 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4954, allocations: 8 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4954, allocations: 3.984 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.4955, allocations: 4 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.743e-05/0.4955, allocations: 87.27 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4956, allocations: 0 / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003632/0.4959, allocations: 24 kB / 1.032 GB, free: 8.566 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 (bin.y,bin.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.00101/0.497, allocations: 0.7358 MB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.4974, allocations: 67.83 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4974, allocations: 3.938 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.4976, allocations: 32.36 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.4979, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4994, allocations: 475.2 kB / 1.034 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4997, allocations: 0.6809 MB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.4998, allocations: 8.094 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.4999, allocations: 15.42 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/0.4999, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.5224, allocations: 1.578 MB / 1.036 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/0.5228, allocations: 171.9 kB / 1.036 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.908, allocations: 4 kB / 1.036 GB, free: 4.746 MB / 0.6823 GB