Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002492/0.002496, allocations: 360.8 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.534/1.534, allocations: 165.8 MB / 183.1 MB, free: 5.488 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.737/3.737, allocations: 410.7 MB / 0.6001 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001769/0.00177, allocations: 199.9 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004711, allocations: 12 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4087, allocations: 67.44 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5734, allocations: 97.92 MB / 0.9044 GB, free: 10.76 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.5738, allocations: 83.94 kB / 0.9044 GB, free: 10.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005514/0.5793, allocations: 1.208 MB / 0.9056 GB, free: 9.465 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5794, allocations: 4 kB / 0.9056 GB, free: 9.461 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.5794, allocations: 0 / 0.9056 GB, free: 9.461 MB / 458.7 MB 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.0005852/0.58, allocations: 359.3 kB / 0.906 GB, free: 9.062 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5801, allocations: 8.031 kB / 0.906 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.5801, allocations: 11.91 kB / 0.906 GB, free: 9.043 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5802, allocations: 167.1 kB / 0.9061 GB, free: 8.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.5806, allocations: 277 kB / 0.9064 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.5806, allocations: 8 kB / 0.9064 GB, free: 8.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.581, allocations: 85.56 kB / 0.9065 GB, free: 8.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5811, allocations: 0 / 0.9065 GB, free: 8.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.5811, allocations: 3.953 kB / 0.9065 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.5811, allocations: 4 kB / 0.9065 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.5818, allocations: 135.8 kB / 0.9066 GB, free: 8.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.5821, allocations: 173.6 kB / 0.9068 GB, free: 8.051 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.5826, allocations: 94.52 kB / 0.9069 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.5829, allocations: 48.77 kB / 0.9069 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.583, allocations: 8 kB / 0.9069 GB, free: 7.891 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.583, allocations: 33.56 kB / 0.907 GB, free: 7.852 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.583, allocations: 0 / 0.907 GB, free: 7.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009444/0.584, allocations: 149.7 kB / 0.9071 GB, free: 7.699 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.584, allocations: 55.41 kB / 0.9072 GB, free: 7.633 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.5841, allocations: 93.86 kB / 0.9073 GB, free: 7.531 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5841, allocations: 29.7 kB / 0.9073 GB, free: 7.496 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.5842, allocations: 80.33 kB / 0.9074 GB, free: 7.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.5842, allocations: 35.53 kB / 0.9074 GB, free: 7.375 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.5843, allocations: 0 / 0.9074 GB, free: 7.375 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5844, allocations: 318.8 kB / 0.9077 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.5847, allocations: 27.97 kB / 0.9077 GB, free: 7.027 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.5849, allocations: 40.34 kB / 0.9078 GB, free: 6.988 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.5852, allocations: 36.14 kB / 0.9078 GB, free: 6.953 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5852, allocations: 4 kB / 0.9078 GB, free: 6.949 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006447/0.5859, allocations: 113.5 kB / 0.9079 GB, free: 6.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5859, allocations: 4 kB / 0.9079 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5859, allocations: 0 / 0.9079 GB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.586, allocations: 3.984 kB / 0.9079 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.5863, allocations: 27.98 kB / 0.908 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5863, allocations: 7.891 kB / 0.908 GB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.5864, allocations: 4 kB / 0.908 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.5864, allocations: 11.92 kB / 0.908 GB, free: 6.773 MB / 458.7 MB 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 () * Number of clocked 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.0001201/0.5866, allocations: 117.8 kB / 0.9081 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.5866, allocations: 7.891 kB / 0.9081 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.5867, allocations: 15.95 kB / 0.9081 GB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5867, allocations: 4 kB / 0.9081 GB, free: 6.625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5867, allocations: 0 / 0.9081 GB, free: 6.625 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5867, allocations: 3.953 kB / 0.9081 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.5869, allocations: 169.7 kB / 0.9083 GB, free: 6.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5869, allocations: 4 kB / 0.9083 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.5872, allocations: 19.98 kB / 0.9083 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5872, allocations: 0 / 0.9083 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5872, allocations: 7.984 kB / 0.9083 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5872, allocations: 4 kB / 0.9083 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5873, allocations: 0 / 0.9083 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.5879, allocations: 152.8 kB / 0.9085 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.588, allocations: 81.05 kB / 0.9085 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.588, allocations: 4 kB / 0.9085 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5881, allocations: 4 kB / 0.9085 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.5882, allocations: 19.97 kB / 0.9086 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5882, allocations: 4 kB / 0.9086 GB, free: 6.074 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.512e-05/0.5883, allocations: 75.28 kB / 0.9086 GB, free: 6 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5883, allocations: 0 / 0.9086 GB, free: 6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.5886, allocations: 35.92 kB / 0.9087 GB, free: 5.965 MB / 458.7 MB 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 () * Number of clocked 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.0002543/0.5889, allocations: 123.2 kB / 0.9088 GB, free: 5.832 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005976/0.5895, allocations: 87.8 kB / 0.9089 GB, free: 5.746 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5895, allocations: 4 kB / 0.9089 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.5898, allocations: 51.91 kB / 0.9089 GB, free: 5.691 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.59, allocations: 7.953 kB / 0.9089 GB, free: 5.684 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.5906, allocations: 158.7 kB / 0.9091 GB, free: 5.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.5909, allocations: 0.6848 MB / 0.9098 GB, free: 4.789 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.5911, allocations: 39.95 kB / 0.9098 GB, free: 4.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.5912, allocations: 23.42 kB / 0.9098 GB, free: 4.727 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5912, allocations: 4 kB / 0.9098 GB, free: 4.723 MB / 458.7 MB Notification: Performance of Templates: time 0.004406/0.5956, allocations: 0.9382 MB / 0.9107 GB, free: 3.785 MB / 458.7 MB