Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.857/1.857, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 176.9 kB / 361.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008523/0.0008524, allocations: 96 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.486e-05, allocations: 8 kB / 0.8517 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.733, allocations: 115.3 MB / 0.9644 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.9376, allocations: 137.9 MB / 1.099 GB, free: 1.902 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.9379, allocations: 72.58 kB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004465/0.9424, allocations: 1.32 MB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.123e-06/0.9425, allocations: 0.5 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.9425, allocations: 4 kB / 1.1 GB, free: 0.5352 MB / 0.698 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.0004528/0.9429, allocations: 352.5 kB / 1.101 GB, free: 152 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.943, allocations: 12.03 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.9431, allocations: 5.75 kB / 1.101 GB, free: 136 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.9432, allocations: 175 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.9433, allocations: 0.5938 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.9433, allocations: 0.8438 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.9434, allocations: 27.94 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.9435, allocations: 46.25 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9435, allocations: 0 / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.9436, allocations: 0.5312 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9436, allocations: 1.75 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.944, allocations: 261.8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.9443, allocations: 44.53 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.9443, allocations: 16.92 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004381/0.9448, allocations: 406.4 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.9448, allocations: 31.16 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.404e-06/0.9448, allocations: 0 / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003698/0.9452, allocations: 62.36 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.9452, allocations: 51.97 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.9453, allocations: 97.61 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.9453, allocations: 29.7 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.9454, allocations: 84.7 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.9454, allocations: 9.094 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.9454, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9456, allocations: 322.2 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.9456, allocations: 11.94 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.851e-05/0.9457, allocations: 7.984 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.9458, allocations: 15.98 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9459, allocations: 0 / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002155/0.9461, allocations: 62.61 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.9461, allocations: 9.406 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9461, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9461, allocations: 4.812 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.9462, allocations: 14.83 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.9463, allocations: 4 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.9463, allocations: 7.984 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.9463, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 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 () * 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 9.778e-05/0.9464, allocations: 111.5 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.9465, allocations: 9.875 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.9468, allocations: 79.88 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9468, allocations: 0 / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9468, allocations: 0 / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9468, allocations: 0 / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.9469, allocations: 150.1 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.947, allocations: 0 / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.947, allocations: 15.14 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9471, allocations: 4 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.9471, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.9471, allocations: 1.484 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9471, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.9474, allocations: 159.5 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.9474, allocations: 85 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.9475, allocations: 4 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.9475, allocations: 11.98 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.9476, allocations: 7.984 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.9476, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.9477, allocations: 83.28 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9477, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002458/0.9479, allocations: 23.94 kB / 1.103 GB, free: 13.34 MB / 0.7136 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 () * 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.0002178/0.9482, allocations: 127.1 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.9483, allocations: 23.98 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9483, allocations: 4 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.9483, allocations: 11.94 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.9485, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.9488, allocations: 67.75 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.9492, allocations: 0.6885 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.859e-05/0.9492, allocations: 9.625 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.9492, allocations: 11.44 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9492, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.003403/0.9527, allocations: 0.7811 MB / 1.105 GB, free: 11.6 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)