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.264/2.264, allocations: 253.1 MB / 260.6 MB, free: 7.508 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.001414/0.001414, allocations: 181.9 kB / 319.9 MB, free: 3.051 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.6 MB / 0.5708 GB, free: 15.14 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.001054/0.001054, allocations: 88.95 kB / 0.6751 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.934e-05, allocations: 4 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2201, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9762/1.196, allocations: 132.3 MB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.197, allocations: 77.31 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006028/1.203, allocations: 1.32 MB / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/1.203, allocations: 0 / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.778e-06/1.203, allocations: 0 / 1.019 GB, free: 3.734 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.0005065/1.203, allocations: 361.8 kB / 1.02 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.203, allocations: 12.02 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/1.203, allocations: 4 kB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.204, allocations: 170.9 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/1.204, allocations: 4 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/1.204, allocations: 0 / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/1.204, allocations: 23.11 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/1.204, allocations: 49.17 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.204, allocations: 7.938 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.204, allocations: 0 / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.204, allocations: 0 / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/1.204, allocations: 251.7 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/1.205, allocations: 41.75 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/1.205, allocations: 20.61 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/1.205, allocations: 408.9 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.205, allocations: 34.5 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.354e-06/1.205, allocations: 0.75 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004358/1.206, allocations: 64.2 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.206, allocations: 51.41 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/1.206, allocations: 100.6 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.206, allocations: 29.7 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/1.206, allocations: 87.83 kB / 1.021 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/1.206, allocations: 3.906 kB / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/1.206, allocations: 0 / 1.021 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.206, allocations: 314.8 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/1.206, allocations: 11.31 kB / 1.021 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/1.206, allocations: 11.92 kB / 1.021 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/1.207, allocations: 15.42 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.207, allocations: 0 / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003068/1.207, allocations: 68.55 kB / 1.021 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.207, allocations: 5.406 kB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.207, allocations: 4 kB / 1.021 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.207, allocations: 0 / 1.021 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.207, allocations: 11.98 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/1.207, allocations: 0.5469 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/1.207, allocations: 15.89 kB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/1.207, allocations: 7.516 kB / 1.021 GB, free: 1.375 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: 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.295e-05/1.207, allocations: 115.4 kB / 1.021 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/1.207, allocations: 4 kB / 1.021 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/1.208, allocations: 72.66 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.208, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.208, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.208, allocations: 0 / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/1.208, allocations: 148.7 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.208, allocations: 0 / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/1.208, allocations: 15.98 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/1.208, allocations: 0 / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/1.208, allocations: 4 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.208, allocations: 0 / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.208, allocations: 0 / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/1.209, allocations: 158.8 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/1.209, allocations: 84.95 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/1.209, allocations: 0 / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.209, allocations: 19.48 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/1.209, allocations: 7.984 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.209, allocations: 0 / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.989e-05/1.209, allocations: 82.59 kB / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.454e-06/1.209, allocations: 0 / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003378/1.209, allocations: 27.88 kB / 1.022 GB, free: 0.5938 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: 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.0002535/1.21, allocations: 125.2 kB / 1.022 GB, free: 472 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001133/1.21, allocations: 22.67 kB / 1.022 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.21, allocations: 0 / 1.022 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/1.21, allocations: 11.75 kB / 1.022 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/1.21, allocations: 11.89 kB / 1.022 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/1.21, allocations: 82.95 kB / 1.022 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.211, allocations: 0.6807 MB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.382e-05/1.211, allocations: 8.875 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/1.211, allocations: 7.438 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/1.211, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of Templates: time 0.00398/1.215, allocations: 0.7759 MB / 1.024 GB, free: 14.85 MB / 0.6511 GB