Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002536/0.00254, allocations: 354.8 kB / 16.58 MB, free: 5.566 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.414/1.414, allocations: 165.8 MB / 183.1 MB, free: 5.496 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.819/3.819, allocations: 410.8 MB / 0.6001 GB, free: 15.16 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.001681/0.001681, allocations: 183.3 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004482, allocations: 12 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4261, allocations: 67.45 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.6139, allocations: 98.94 MB / 0.9054 GB, free: 9.719 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.6142, allocations: 71.95 kB / 0.9054 GB, free: 9.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006129/0.6204, allocations: 1.33 MB / 0.9067 GB, free: 8.316 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6204, allocations: 0 / 0.9067 GB, free: 8.316 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6205, allocations: 4 kB / 0.9067 GB, free: 8.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005298/0.621, allocations: 363.2 kB / 0.9071 GB, free: 7.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.6211, allocations: 12.03 kB / 0.9071 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.6211, allocations: 0 / 0.9071 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.6212, allocations: 167 kB / 0.9072 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6213, allocations: 0 / 0.9072 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.6213, allocations: 4 kB / 0.9072 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.6216, allocations: 69.66 kB / 0.9073 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.6216, allocations: 3.938 kB / 0.9073 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.6217, allocations: 11.95 kB / 0.9073 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6217, allocations: 4 kB / 0.9073 GB, free: 7.598 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.622, allocations: 51.95 kB / 0.9074 GB, free: 7.547 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.6225, allocations: 275.9 kB / 0.9076 GB, free: 7.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.623, allocations: 70.44 kB / 0.9077 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6232, allocations: 32.89 kB / 0.9077 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.6238, allocations: 413.5 kB / 0.9081 GB, free: 6.621 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6238, allocations: 34.56 kB / 0.9082 GB, free: 6.578 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.6238, allocations: 0 / 0.9082 GB, free: 6.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006235/0.6245, allocations: 117.5 kB / 0.9083 GB, free: 6.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6245, allocations: 51.41 kB / 0.9083 GB, free: 6.395 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.6246, allocations: 113.8 kB / 0.9084 GB, free: 6.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.6247, allocations: 29.64 kB / 0.9085 GB, free: 6.238 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.6248, allocations: 88.14 kB / 0.9085 GB, free: 6.148 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.6248, allocations: 7.844 kB / 0.9086 GB, free: 6.141 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.6248, allocations: 0 / 0.9086 GB, free: 6.141 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.625, allocations: 318.8 kB / 0.9089 GB, free: 5.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.6251, allocations: 23.98 kB / 0.9089 GB, free: 5.797 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.6253, allocations: 23.98 kB / 0.9089 GB, free: 5.773 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.6255, allocations: 27.97 kB / 0.9089 GB, free: 5.746 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6255, allocations: 0 / 0.9089 GB, free: 5.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003915/0.6259, allocations: 89.89 kB / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6259, allocations: 8 kB / 0.909 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.626, allocations: 48 / 0.909 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.626, allocations: 3.984 kB / 0.909 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6261, allocations: 11.98 kB / 0.909 GB, free: 5.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6261, allocations: 3.938 kB / 0.909 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.6263, allocations: 19.89 kB / 0.9091 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.6263, allocations: 0 / 0.9091 GB, free: 5.605 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: 2 (bin.y,bin.k) * 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 0.0001026/0.6264, allocations: 113.8 kB / 0.9092 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.6264, allocations: 3.953 kB / 0.9092 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004459/0.6269, allocations: 93.55 kB / 0.9093 GB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6269, allocations: 7.938 kB / 0.9093 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.627, allocations: 0 / 0.9093 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.627, allocations: 3.984 kB / 0.9093 GB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.6272, allocations: 165.7 kB / 0.9094 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6272, allocations: 0 / 0.9094 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.6274, allocations: 11.98 kB / 0.9094 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6274, allocations: 0 / 0.9094 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6274, allocations: 11.95 kB / 0.9095 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6274, allocations: 3.938 kB / 0.9095 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6274, allocations: 320 / 0.9095 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.6279, allocations: 183.4 kB / 0.9096 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.6279, allocations: 85.09 kB / 0.9097 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.628, allocations: 0 / 0.9097 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6281, allocations: 7.953 kB / 0.9097 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.6282, allocations: 7.984 kB / 0.9097 GB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.6282, allocations: 4 kB / 0.9097 GB, free: 4.812 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.118e-05/0.6283, allocations: 95.25 kB / 0.9098 GB, free: 4.719 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6283, allocations: 0 / 0.9098 GB, free: 4.719 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000336/0.6287, allocations: 24 kB / 0.9099 GB, free: 4.695 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: 2 (bin.y,bin.k) * 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.000231/0.6289, allocations: 123.2 kB / 0.91 GB, free: 4.566 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003807/0.6293, allocations: 59.89 kB / 0.91 GB, free: 4.508 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6293, allocations: 0 / 0.91 GB, free: 4.508 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.6295, allocations: 35.91 kB / 0.9101 GB, free: 4.473 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.6298, allocations: 6.812 kB / 0.9101 GB, free: 4.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.6302, allocations: 116.7 kB / 0.9102 GB, free: 4.328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.6306, allocations: 0.6887 MB / 0.9108 GB, free: 3.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.743e-05/0.6306, allocations: 4 kB / 0.9109 GB, free: 3.609 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.6307, allocations: 11.44 kB / 0.9109 GB, free: 3.598 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6307, allocations: 0 / 0.9109 GB, free: 3.598 MB / 458.7 MB Notification: Performance of Templates: time 0.004019/0.6347, allocations: 0.8457 MB / 0.9117 GB, free: 2.758 MB / 458.7 MB