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.003828/0.003833, allocations: 355.3 kB / 15.94 MB, free: 6.211 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.674/1.674, allocations: 165.8 MB / 182.5 MB, free: 5.422 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.979/3.979, allocations: 410.8 MB / 0.5995 GB, free: 15.12 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.001697/0.001696, allocations: 200.3 kB / 0.6662 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004613, allocations: 12 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3321, allocations: 67.44 MB / 0.8082 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.001435/0.3336, allocations: 1.233 MB / 0.8094 GB, free: 27.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003886/0.334, allocations: 163.5 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.3341, allocations: 0 / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.3341, allocations: 0 / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.874e-05/0.3341, allocations: 3.938 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3344, allocations: 35.95 kB / 0.8095 GB, free: 27.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.3345, allocations: 31.92 kB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.3346, allocations: 11.92 kB / 0.8096 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.874e-05/0.3346, allocations: 15.98 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.3347, allocations: 15.92 kB / 0.8096 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.3347, allocations: 3.938 kB / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3348, allocations: 39.95 kB / 0.8097 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.3348, allocations: 7.984 kB / 0.8097 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.3348, allocations: 37.64 kB / 0.8097 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.3349, allocations: 35.94 kB / 0.8097 GB, free: 27.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.313e-06/0.335, allocations: 0 / 0.8097 GB, free: 27.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.857e-06/0.335, allocations: 0 / 0.8097 GB, free: 27.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.832e-06/0.335, allocations: 0 / 0.8097 GB, free: 27.17 MB / 378.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.000387/0.3354, allocations: 357.4 kB / 0.8101 GB, free: 26.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3354, allocations: 8.031 kB / 0.8101 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.3355, allocations: 8 kB / 0.8101 GB, free: 26.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.3356, allocations: 166.9 kB / 0.8103 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3356, allocations: 3.938 kB / 0.8103 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3356, allocations: 4 kB / 0.8103 GB, free: 26.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3358, allocations: 77.64 kB / 0.8103 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.416e-06/0.3359, allocations: 0 / 0.8103 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3359, allocations: 11.89 kB / 0.8103 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-06/0.3359, allocations: 0 / 0.8103 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3361, allocations: 51.95 kB / 0.8104 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.3365, allocations: 272.9 kB / 0.8107 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.3369, allocations: 74.42 kB / 0.8107 GB, free: 26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.337, allocations: 28.91 kB / 0.8108 GB, free: 25.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.3372, allocations: 174.2 kB / 0.8109 GB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.3372, allocations: 38.5 kB / 0.811 GB, free: 25.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.187e-06/0.3373, allocations: 4 kB / 0.811 GB, free: 25.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004566/0.3377, allocations: 105.5 kB / 0.8111 GB, free: 25.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3378, allocations: 59.39 kB / 0.8111 GB, free: 25.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.3378, allocations: 105.9 kB / 0.8112 GB, free: 25.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3379, allocations: 25.7 kB / 0.8112 GB, free: 25.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.3379, allocations: 92.06 kB / 0.8113 GB, free: 25.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.3379, allocations: 11.84 kB / 0.8113 GB, free: 25.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-06/0.3379, allocations: 0 / 0.8113 GB, free: 25.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.338, allocations: 310.8 kB / 0.8116 GB, free: 24.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3381, allocations: 31.97 kB / 0.8117 GB, free: 24.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3383, allocations: 24.17 kB / 0.8117 GB, free: 24.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3384, allocations: 32.06 kB / 0.8117 GB, free: 24.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-06/0.3384, allocations: 0 / 0.8117 GB, free: 24.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002981/0.3387, allocations: 85.59 kB / 0.8118 GB, free: 24.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3388, allocations: 4 kB / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.968e-06/0.3388, allocations: 4 kB / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3388, allocations: 0 / 0.8118 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.3389, allocations: 19.98 kB / 0.8118 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.612e-06/0.3389, allocations: 0 / 0.8118 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.339, allocations: 15.89 kB / 0.8119 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3391, allocations: 0 / 0.8119 GB, free: 24.75 MB / 378.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 (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 0.0001069/0.3392, allocations: 113.8 kB / 0.812 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.3392, allocations: 7.891 kB / 0.812 GB, free: 24.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3396, allocations: 97.55 kB / 0.8121 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-06/0.3396, allocations: 0 / 0.8121 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.3396, allocations: 4 kB / 0.8121 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-06/0.3396, allocations: 0 / 0.8121 GB, free: 24.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.3399, allocations: 165.7 kB / 0.8122 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-06/0.3399, allocations: 0 / 0.8122 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.34, allocations: 15.98 kB / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.248e-06/0.34, allocations: 0 / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.34, allocations: 3.953 kB / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.534e-06/0.3401, allocations: 4 kB / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.089e-06/0.3401, allocations: 0 / 0.8122 GB, free: 24.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.3404, allocations: 187.3 kB / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3405, allocations: 77.11 kB / 0.8125 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3405, allocations: 4 kB / 0.8125 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3406, allocations: 11.94 kB / 0.8125 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.3407, allocations: 11.98 kB / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-06/0.3407, allocations: 0 / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.3407, allocations: 95.27 kB / 0.8126 GB, free: 23.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.3408, allocations: 3.938 kB / 0.8126 GB, free: 23.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.3411, allocations: 15.98 kB / 0.8126 GB, free: 23.85 MB / 378.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 (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.0001511/0.3413, allocations: 107.2 kB / 0.8127 GB, free: 23.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3416, allocations: 63.89 kB / 0.8128 GB, free: 23.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.54e-06/0.3416, allocations: 0 / 0.8128 GB, free: 23.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3417, allocations: 31.97 kB / 0.8128 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3421, allocations: 3.234 kB / 0.8128 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.3424, allocations: 132.6 kB / 0.813 GB, free: 23.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3425, allocations: 0.6809 MB / 0.8136 GB, free: 22.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.086e-05/0.3426, allocations: 8 kB / 0.8136 GB, free: 22.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.3426, allocations: 11.44 kB / 0.8136 GB, free: 22.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.3426, allocations: 0 / 0.8136 GB, free: 22.76 MB / 378.7 MB Notification: Performance of Templates: time 0.00346/0.3461, allocations: 0.8443 MB / 0.8145 GB, free: 21.92 MB / 378.7 MB