Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.914/2.914, allocations: 287.9 MB / 302.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 190 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 84.56 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004862, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002928/0.2235, allocations: 1.243 MB / 0.98 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.2244, allocations: 173.4 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.2245, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.2245, allocations: 3.938 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.2246, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.2251, allocations: 39.89 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.906e-05/0.2252, allocations: 19.91 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2254, allocations: 19.98 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.2255, allocations: 4 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.2255, allocations: 19.91 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.2256, allocations: 3.938 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.2258, allocations: 35.97 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2258, allocations: 3.984 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.2259, allocations: 41.58 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.2261, allocations: 35.92 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.343e-06/0.2261, allocations: 4 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.255e-06/0.2262, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.054e-06/0.2262, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 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.000724/0.2269, allocations: 355.5 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.227, allocations: 12.02 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.2271, allocations: 3.984 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2273, allocations: 170.9 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.2273, allocations: 4 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.2274, allocations: 8 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.2278, allocations: 69.64 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.2279, allocations: 3.938 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.2279, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.2279, allocations: 4 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.2283, allocations: 59.94 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.2287, allocations: 276.8 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.2291, allocations: 70.47 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.2293, allocations: 166.4 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.2293, allocations: 30.56 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.42e-06/0.2293, allocations: 0 / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004477/0.2298, allocations: 121.5 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.2298, allocations: 51.41 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.2299, allocations: 109.8 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2299, allocations: 29.7 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.23, allocations: 92.08 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.23, allocations: 3.906 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.23, allocations: 0 / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.2301, allocations: 322.8 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2302, allocations: 19.98 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.2303, allocations: 28.16 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2304, allocations: 28.06 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-06/0.2305, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000269/0.2307, allocations: 89.66 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2308, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2308, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2308, allocations: 0 / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2309, allocations: 15.98 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2309, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.912e-05/0.231, allocations: 19.78 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2311, allocations: 8 kB / 0.9824 GB, free: 24.16 MB / 0.6198 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 (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 6.521e-05/0.2311, allocations: 117.8 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.2312, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.2315, allocations: 89.55 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-06/0.2315, allocations: 4 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.485e-06/0.2315, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-06/0.2315, allocations: 3.984 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2317, allocations: 169.6 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-06/0.2317, allocations: 0 / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.2318, allocations: 15.98 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.736e-06/0.2319, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.2319, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-06/0.2319, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.959e-06/0.2319, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.2322, allocations: 191.3 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.2323, allocations: 85.03 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2323, allocations: 0 / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2324, allocations: 16 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2325, allocations: 3.984 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-06/0.2325, allocations: 4 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.2326, allocations: 87.27 kB / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2326, allocations: 0 / 0.9832 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000344/0.2329, allocations: 23.94 kB / 0.9832 GB, free: 23.26 MB / 0.6198 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 (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.0001685/0.2331, allocations: 115.3 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.2334, allocations: 59.89 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.764e-06/0.2334, allocations: 0 / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2335, allocations: 31.98 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2338, allocations: 15.88 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.2341, allocations: 124.7 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2343, allocations: 0.6809 MB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.2343, allocations: 11.98 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.2344, allocations: 7.438 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.525e-06/0.2344, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003561/0.2379, allocations: 0.8481 MB / 0.985 GB, free: 21.31 MB / 0.6198 GB