Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0106/0.0106, allocations: 112.6 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001119/0.001119, allocations: 181.6 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.152/2.152, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.136/2.136, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004709, allocations: 16 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5662, allocations: 98.7 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001617/0.5678, allocations: 1.226 MB / 0.6845 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.5683, allocations: 170 kB / 0.6847 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.5683, allocations: 5.281 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.5683, allocations: 0 / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.5684, allocations: 3.016 kB / 0.6847 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.5687, allocations: 37.98 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.5687, allocations: 21.39 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.5688, allocations: 11.2 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.5689, allocations: 15.83 kB / 0.6848 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.5689, allocations: 16.03 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.5689, allocations: 1.219 kB / 0.6848 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.5691, allocations: 39.5 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.5691, allocations: 7.172 kB / 0.6848 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.5691, allocations: 32.86 kB / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.5692, allocations: 36.48 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.5692, allocations: 0 / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.171e-06/0.5693, allocations: 0 / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5693, allocations: 3.938 kB / 0.6849 GB, free: 15.62 MB / 0.5261 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.0003978/0.5697, allocations: 353.3 kB / 0.6852 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5697, allocations: 12.38 kB / 0.6853 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.5698, allocations: 5.406 kB / 0.6853 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.893e-05/0.5699, allocations: 179.1 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.5699, allocations: 1 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.5699, allocations: 6.469 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.5701, allocations: 66.69 kB / 0.6855 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.692e-06/0.5702, allocations: 4 kB / 0.6855 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5702, allocations: 4.781 kB / 0.6855 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-06/0.5702, allocations: 1.469 kB / 0.6855 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.5705, allocations: 52.61 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.5709, allocations: 286 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.5712, allocations: 65.56 kB / 0.6859 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.5715, allocations: 170.3 kB / 0.6861 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.5715, allocations: 36.41 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.137e-06/0.5715, allocations: 3.938 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004712/0.572, allocations: 103.6 kB / 0.6862 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.572, allocations: 65.16 kB / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.5721, allocations: 107.5 kB / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5721, allocations: 25.7 kB / 0.6864 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.5722, allocations: 89.89 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.5722, allocations: 9.844 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-06/0.5722, allocations: 0 / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.5723, allocations: 318.6 kB / 0.6868 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5724, allocations: 24.56 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.5725, allocations: 25.28 kB / 0.6868 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5726, allocations: 25.48 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-06/0.5727, allocations: 4.969 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002838/0.573, allocations: 87.77 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.573, allocations: 4.719 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.352e-06/0.573, allocations: 0 / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.573, allocations: 1.125 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5731, allocations: 17.77 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.699e-06/0.5732, allocations: 3.953 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.5733, allocations: 8.938 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5733, allocations: 1.969 kB / 0.687 GB, free: 13.69 MB / 0.5261 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 (rea2Int.y,bin.y) * 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 6.374e-05/0.5733, allocations: 117.2 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5734, allocations: 6.5 kB / 0.6871 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.5737, allocations: 97.02 kB / 0.6872 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-06/0.5738, allocations: 0.75 kB / 0.6872 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.581e-06/0.5738, allocations: 1.219 kB / 0.6872 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.906e-06/0.5738, allocations: 7.891 kB / 0.6872 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.574, allocations: 165.6 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-06/0.574, allocations: 0.875 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5741, allocations: 18.31 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5741, allocations: 0.8906 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-06/0.5741, allocations: 0 / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.379e-06/0.5741, allocations: 1.219 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.327e-06/0.5741, allocations: 0.8906 kB / 0.6874 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.5745, allocations: 186.6 kB / 0.6876 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.5745, allocations: 83.53 kB / 0.6876 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.5745, allocations: 1.781 kB / 0.6876 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.5747, allocations: 17.06 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.5747, allocations: 5.562 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-06/0.5748, allocations: 1.375 kB / 0.6877 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.5748, allocations: 95.89 kB / 0.6878 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.74e-07/0.5748, allocations: 0 / 0.6878 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003415/0.5752, allocations: 14.14 kB / 0.6878 GB, free: 12.96 MB / 0.5261 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 (rea2Int.y,bin.y) * 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.0001677/0.5753, allocations: 120.5 kB / 0.6879 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.5756, allocations: 58.64 kB / 0.6879 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.003e-06/0.5757, allocations: 1.312 kB / 0.6879 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.5758, allocations: 33.64 kB / 0.688 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.576, allocations: 6.812 kB / 0.688 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.5764, allocations: 133.9 kB / 0.6881 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.5765, allocations: 0.6824 MB / 0.6888 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.5766, allocations: 3.562 kB / 0.6888 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.5766, allocations: 11.77 kB / 0.6888 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.203e-06/0.5766, allocations: 0 / 0.6888 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.003814/0.5804, allocations: 0.8473 MB / 0.6896 GB, free: 11.92 MB / 0.5261 GB