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.732/2.732, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001501/0.001501, allocations: 180.9 kB / 315.4 MB, free: 4.023 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.179/2.179, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 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.001607/0.001607, allocations: 92.41 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.587e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.239, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9271/1.166, allocations: 131.3 MB / 1.012 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/1.167, allocations: 73.64 kB / 1.012 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005535/1.172, allocations: 1.228 MB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.172, allocations: 0 / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.172, allocations: 0 / 1.014 GB, free: 6.359 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006453/1.173, allocations: 357.8 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.173, allocations: 8.031 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/1.173, allocations: 11.94 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/1.173, allocations: 167 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/1.174, allocations: 277 kB / 1.014 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/1.174, allocations: 4 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003236/1.174, allocations: 119.4 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.174, allocations: 70.3 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.174, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/1.174, allocations: 0 / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/1.174, allocations: 7.984 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/1.174, allocations: 157.3 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/1.175, allocations: 82.3 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/1.175, allocations: 24.73 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/1.175, allocations: 11.8 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/1.175, allocations: 34.56 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/1.175, allocations: 0 / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.002142/1.177, allocations: 205.4 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.177, allocations: 51.41 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/1.177, allocations: 88.94 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/1.177, allocations: 25.7 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/1.177, allocations: 80.33 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/1.177, allocations: 43.14 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/1.177, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.178, allocations: 318.8 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.828e-05/1.178, allocations: 23.67 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/1.178, allocations: 20.38 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/1.18, allocations: 135.7 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.18, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001978/1.182, allocations: 220.3 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.182, allocations: 4 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.182, allocations: 4 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.182, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/1.182, allocations: 19.98 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.182, allocations: 7.984 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/1.182, allocations: 7.906 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/1.182, allocations: 3.938 kB / 1.016 GB, free: 3.707 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: 1 (n) * Number of discrete 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.0001068/1.182, allocations: 107 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001982/1.184, allocations: 208.3 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/1.184, allocations: 3.906 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/1.184, allocations: 12.34 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.184, allocations: 4 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.184, allocations: 0 / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.184, allocations: 3.984 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/1.185, allocations: 146 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.185, allocations: 3.953 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/1.185, allocations: 27.91 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/1.185, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.185, allocations: 0 / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.185, allocations: 0 / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.185, allocations: 4 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/1.187, allocations: 239.4 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/1.187, allocations: 85 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/1.187, allocations: 0.875 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/1.187, allocations: 4 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/1.187, allocations: 15.91 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/1.187, allocations: 4 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.429e-05/1.187, allocations: 81.94 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.187, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003175/1.188, allocations: 27.98 kB / 1.017 GB, free: 2.719 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: 1 (n) * Number of discrete 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.002476/1.19, allocations: 0.7903 MB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000226/1.19, allocations: 67.34 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.19, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/1.191, allocations: 35.55 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/1.191, allocations: 5.406 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/1.191, allocations: 145.3 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/1.192, allocations: 0.6884 MB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002173/1.192, allocations: 46.5 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/1.192, allocations: 19.17 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.192, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/1.229, allocations: 1.46 MB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/1.23, allocations: 145.1 kB / 1.02 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.466, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.6511 GB