Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.689/1.689, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 183.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008638, allocations: 95.59 kB / 0.7808 GB, free: 43.46 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 16.56 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.7878, allocations: 120.3 MB / 1.026 GB, free: 56.32 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.9983, allocations: 140.8 MB / 1.164 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.9986, allocations: 75.94 kB / 1.164 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003812/1.002, allocations: 1.226 MB / 1.165 GB, free: 96 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.894e-06/1.002, allocations: 3.938 kB / 1.165 GB, free: 92 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.551e-06/1.003, allocations: 0.8438 kB / 1.165 GB, free: 92 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004186/1.003, allocations: 360.4 kB / 1.165 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.003, allocations: 8.031 kB / 1.165 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/1.003, allocations: 6.375 kB / 1.165 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/1.003, allocations: 164.4 kB / 1.166 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/1.003, allocations: 281.5 kB / 1.166 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/1.003, allocations: 9.25 kB / 1.166 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/1.004, allocations: 78.14 kB / 1.166 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.004, allocations: 7.578 kB / 1.166 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.004, allocations: 4 kB / 1.166 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.004, allocations: 0 / 1.166 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/1.004, allocations: 132.3 kB / 1.166 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/1.004, allocations: 185.5 kB / 1.166 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/1.004, allocations: 95.5 kB / 1.166 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/1.005, allocations: 40.83 kB / 1.166 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/1.005, allocations: 1.062 kB / 1.166 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.005, allocations: 35.5 kB / 1.166 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/1.005, allocations: 0.5625 kB / 1.166 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0004718/1.005, allocations: 153 kB / 1.167 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.005, allocations: 51.91 kB / 1.167 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.219e-05/1.005, allocations: 97.8 kB / 1.167 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.005, allocations: 29.7 kB / 1.167 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/1.005, allocations: 84.08 kB / 1.167 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/1.005, allocations: 39.44 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/1.005, allocations: 4 kB / 1.167 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.005, allocations: 314.8 kB / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.006, allocations: 31.98 kB / 1.167 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.006, allocations: 31.97 kB / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/1.006, allocations: 80.75 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.006, allocations: 0 / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002845/1.006, allocations: 107.8 kB / 1.167 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.006, allocations: 13.66 kB / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.006, allocations: 0 / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.006, allocations: 0 / 1.167 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.006, allocations: 31.91 kB / 1.167 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.006, allocations: 4 kB / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/1.007, allocations: 3.906 kB / 1.167 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/1.007, allocations: 11.98 kB / 1.168 GB, free: 13.38 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.151e-05/1.007, allocations: 113.8 kB / 1.168 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/1.007, allocations: 8.641 kB / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/1.007, allocations: 11.97 kB / 1.168 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.007, allocations: 0 / 1.168 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.007, allocations: 3.938 kB / 1.168 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.007, allocations: 7.984 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/1.007, allocations: 173.6 kB / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.007, allocations: 0 / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.007, allocations: 27.92 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.007, allocations: 10.28 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.007, allocations: 7.984 kB / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.007, allocations: 0 / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.007, allocations: 0 / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/1.007, allocations: 129.1 kB / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/1.007, allocations: 92.94 kB / 1.168 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/1.007, allocations: 7.938 kB / 1.168 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/1.008, allocations: 11.94 kB / 1.168 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/1.008, allocations: 11.97 kB / 1.168 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.008, allocations: 8 kB / 1.168 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.875e-05/1.008, allocations: 75.28 kB / 1.168 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.008, allocations: 0 / 1.168 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002148/1.008, allocations: 28 kB / 1.168 GB, free: 12.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001954/1.008, allocations: 115.7 kB / 1.168 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002999/1.008, allocations: 87.88 kB / 1.168 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.008, allocations: 3.938 kB / 1.168 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/1.009, allocations: 56.55 kB / 1.168 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/1.009, allocations: 4 kB / 1.168 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/1.009, allocations: 163.8 kB / 1.169 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/1.009, allocations: 0.6848 MB / 1.169 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001279/1.009, allocations: 43.89 kB / 1.169 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/1.01, allocations: 15.44 kB / 1.169 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of SimCode: time 2.11e-07/1.01, allocations: 0 / 1.169 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.003054/1.013, allocations: 0.9589 MB / 1.17 GB, free: 10.4 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)