Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 293 MB / 309 MB, free: 4.812 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.0009692/0.0009692, allocations: 182.2 kB / 378.7 MB, free: 1.031 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.358/1.358, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0007343/0.0007345, allocations: 91.23 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6264/0.8713, allocations: 139.7 MB / 1.127 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.8717, allocations: 70.66 kB / 1.127 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004068/0.8758, allocations: 1.344 MB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8758, allocations: 0 / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.8758, allocations: 1.406 kB / 1.128 GB, free: 33.2 MB / 0.7292 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.0004219/0.8762, allocations: 360.5 kB / 1.129 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8763, allocations: 12.03 kB / 1.129 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.8763, allocations: 0.9375 kB / 1.129 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.8765, allocations: 175.9 kB / 1.129 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.8765, allocations: 384 / 1.129 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.8765, allocations: 8.375 kB / 1.129 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.8768, allocations: 64.53 kB / 1.129 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.8768, allocations: 4.734 kB / 1.129 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.8768, allocations: 3.938 kB / 1.129 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8768, allocations: 4.562 kB / 1.129 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.877, allocations: 54.64 kB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.8774, allocations: 274.6 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.8777, allocations: 70.09 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.8778, allocations: 31.77 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.8781, allocations: 407.9 kB / 1.13 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.8781, allocations: 34.56 kB / 1.13 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.8781, allocations: 3.938 kB / 1.13 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003783/0.8785, allocations: 115.6 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.8785, allocations: 51.41 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/0.8786, allocations: 112.4 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.8786, allocations: 29.7 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.8787, allocations: 88.2 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.8787, allocations: 7.844 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.8787, allocations: 4.656 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.8788, allocations: 318.8 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.8789, allocations: 26.8 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.8789, allocations: 28.44 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.8791, allocations: 55.31 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8791, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001851/0.8793, allocations: 84.33 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8793, allocations: 12.56 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.8793, allocations: 0 / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8794, allocations: 3.938 kB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.8794, allocations: 11.33 kB / 1.131 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.8795, allocations: 4 kB / 1.131 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.8795, allocations: 11.73 kB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.8795, allocations: 0.5625 kB / 1.131 GB, free: 30.62 MB / 0.7292 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 6.193e-05/0.8796, allocations: 125.8 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.8796, allocations: 0 / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.8799, allocations: 93.06 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8799, allocations: 4 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8799, allocations: 4 kB / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.8799, allocations: 4.594 kB / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.88, allocations: 169.3 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.88, allocations: 0 / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.8801, allocations: 15.55 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8801, allocations: 0.5 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8801, allocations: 4 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8801, allocations: 3.562 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8802, allocations: 1.438 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.8804, allocations: 191.2 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.8804, allocations: 81.11 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.8804, allocations: 0 / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.8805, allocations: 11.61 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.8806, allocations: 4 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.8806, allocations: 4.438 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.8806, allocations: 87.83 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8806, allocations: 0.9375 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000256/0.8809, allocations: 24 kB / 1.131 GB, free: 29.77 MB / 0.7292 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.0001731/0.8811, allocations: 126.1 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.8813, allocations: 58.41 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.8813, allocations: 0 / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.8814, allocations: 34.94 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.8817, allocations: 11.97 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.882, allocations: 124.2 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.8821, allocations: 0.6771 MB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.8821, allocations: 8 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.8822, allocations: 15.38 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.8822, allocations: 0 / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.002751/0.8849, allocations: 0.8593 MB / 1.133 GB, free: 28.23 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)