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 5.456/5.456, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002508/0.002508, allocations: 360.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.434/4.434, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003633/0.003633, allocations: 182.1 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.000506, allocations: 12 kB / 1.349 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.735, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.9367, allocations: 138.5 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.937, allocations: 75.95 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.005676/0.9427, allocations: 1.325 MB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9427, allocations: 0.8125 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.9428, allocations: 0 / 1.598 GB, free: 144.4 MB / 0.8542 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.0004666/0.9432, allocations: 365 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.9433, allocations: 15.56 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.9433, allocations: 4.656 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.096e-05/0.9434, allocations: 168.8 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.9435, allocations: 4 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.9435, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.9438, allocations: 74.67 kB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9438, allocations: 0 / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.9438, allocations: 1 kB / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9438, allocations: 0 / 1.599 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.9442, allocations: 66.22 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.9446, allocations: 278.4 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.9452, allocations: 66.95 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.9453, allocations: 37.33 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/0.9457, allocations: 406.8 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.9458, allocations: 34.23 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.9458, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006001/0.9464, allocations: 112 kB / 1.599 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.9464, allocations: 55.36 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.9465, allocations: 117.8 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.9466, allocations: 25.7 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.9466, allocations: 84.14 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.9466, allocations: 19.72 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.9466, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.9467, allocations: 315.4 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.9469, allocations: 29.17 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.947, allocations: 31.16 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.9472, allocations: 23.98 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9472, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003511/0.9476, allocations: 85.05 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9476, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9476, allocations: 2.688 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.9476, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.9478, allocations: 15.98 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9478, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.9479, allocations: 17.09 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.948, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 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 () * 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 7.345e-05/0.948, allocations: 112 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.9481, allocations: 11.84 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.9485, allocations: 93.58 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9485, allocations: 0 / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9485, allocations: 0 / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9485, allocations: 4.547 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.9487, allocations: 174.4 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9487, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.9489, allocations: 17.33 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9489, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.9489, allocations: 4 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9489, allocations: 4.75 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.949, allocations: 4 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.9494, allocations: 183.7 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.9494, allocations: 85 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.9494, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.9496, allocations: 9.25 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.9496, allocations: 11.98 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.9497, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.9497, allocations: 92.73 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9497, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000326/0.9501, allocations: 16 kB / 1.601 GB, free: 140.8 MB / 0.8542 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 () * 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.0002129/0.9503, allocations: 128.4 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003558/0.9507, allocations: 60.42 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9507, allocations: 0 / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.9509, allocations: 32.67 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.9512, allocations: 13.75 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.9516, allocations: 119 kB / 1.601 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.9517, allocations: 0.6848 MB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.06e-05/0.9518, allocations: 6.281 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.9518, allocations: 11.44 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/0.9518, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003945/0.9558, allocations: 0.8485 MB / 1.603 GB, free: 138.9 MB / 0.8542 GB