Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.271/2.271, allocations: 252.6 MB / 265.2 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002231/0.002231, allocations: 179.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 82.7 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.556e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8553/1.046, allocations: 132.1 MB / 1.024 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.047, allocations: 68.84 kB / 1.024 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006199/1.053, allocations: 1.337 MB / 1.025 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.053, allocations: 0 / 1.025 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.053, allocations: 0 / 1.025 GB, free: 1.234 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000521/1.054, allocations: 357 kB / 1.026 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.054, allocations: 8.031 kB / 1.026 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/1.054, allocations: 4 kB / 1.026 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/1.054, allocations: 174.9 kB / 1.026 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/1.054, allocations: 4 kB / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.054, allocations: 0 / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/1.054, allocations: 55.8 kB / 1.026 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.054, allocations: 0 / 1.026 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/1.054, allocations: 3.984 kB / 1.026 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/1.054, allocations: 7.938 kB / 1.026 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/1.054, allocations: 17.56 kB / 1.026 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/1.055, allocations: 277 kB / 1.026 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/1.055, allocations: 54.98 kB / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/1.055, allocations: 14.67 kB / 1.026 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/1.056, allocations: 408.9 kB / 1.027 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.056, allocations: 34.56 kB / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/1.056, allocations: 0 / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002139/1.056, allocations: 55.73 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.056, allocations: 55.41 kB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/1.056, allocations: 100.5 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/1.056, allocations: 25.7 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/1.056, allocations: 83.39 kB / 1.027 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/1.056, allocations: 7.906 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.056, allocations: 7.562 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.056, allocations: 318.8 kB / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.592e-05/1.056, allocations: 7.25 kB / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/1.056, allocations: 7.438 kB / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/1.056, allocations: 8 kB / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.056, allocations: 0 / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001317/1.057, allocations: 48.5 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.057, allocations: 9.719 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/1.057, allocations: 0 / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.057, allocations: 0 / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/1.057, allocations: 19.92 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.057, allocations: 3.953 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/1.057, allocations: 15.89 kB / 1.027 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/1.057, allocations: 0 / 1.027 GB, free: 14.87 MB / 0.6511 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 () * 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 8.372e-05/1.057, allocations: 112.9 kB / 1.027 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/1.057, allocations: 3.938 kB / 1.027 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/1.057, allocations: 67.95 kB / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.057, allocations: 0 / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.057, allocations: 0 / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.057, allocations: 3.953 kB / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/1.058, allocations: 172.2 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.058, allocations: 0 / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/1.058, allocations: 19.23 kB / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.058, allocations: 0 / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.058, allocations: 0 / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.058, allocations: 0 / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.058, allocations: 4 kB / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/1.058, allocations: 161.6 kB / 1.028 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/1.058, allocations: 77.11 kB / 1.028 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/1.058, allocations: 4 kB / 1.028 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.058, allocations: 11.17 kB / 1.028 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/1.058, allocations: 4 kB / 1.028 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/1.058, allocations: 4 kB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.252e-05/1.059, allocations: 90.89 kB / 1.028 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/1.059, allocations: 0 / 1.028 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003405/1.059, allocations: 23.5 kB / 1.028 GB, free: 14.06 MB / 0.6511 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 () * 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.0002447/1.059, allocations: 121 kB / 1.028 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001307/1.059, allocations: 22.06 kB / 1.028 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.059, allocations: 0 / 1.028 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.879e-05/1.059, allocations: 19.05 kB / 1.028 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/1.06, allocations: 13.42 kB / 1.028 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/1.06, allocations: 72.59 kB / 1.028 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/1.06, allocations: 0.6848 MB / 1.029 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.598e-05/1.06, allocations: 4 kB / 1.029 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/1.06, allocations: 10.81 kB / 1.029 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.06, allocations: 4 kB / 1.029 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.004197/1.065, allocations: 0.83 MB / 1.03 GB, free: 12.27 MB / 0.6511 GB