Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 289.9 MB / 297.4 MB, free: 6.293 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.00103/0.00103, allocations: 176.8 kB / 366.7 MB, free: 1.625 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.523/1.523, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.000893/0.000893, allocations: 85.61 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.153e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.616, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.7943, allocations: 137.9 MB / 1.108 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.7946, allocations: 80.69 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003357/0.798, allocations: 1.21 MB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.332e-06/0.798, allocations: 0.5938 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.798, allocations: 1.188 kB / 1.109 GB, free: 11.07 MB / 0.7136 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.0003683/0.7984, allocations: 354.5 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7984, allocations: 8.688 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.7985, allocations: 11.89 kB / 1.11 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.7986, allocations: 168.1 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.7988, allocations: 278.3 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.7988, allocations: 0 / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001892/0.799, allocations: 128.8 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.7991, allocations: 65.66 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7992, allocations: 1 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7992, allocations: 0 / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7992, allocations: 3.984 kB / 1.11 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.7993, allocations: 147.1 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.7995, allocations: 81.53 kB / 1.11 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.7995, allocations: 38.16 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.7995, allocations: 0 / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7996, allocations: 39.06 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 8.41e-07/0.7996, allocations: 2.656 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001331/0.8009, allocations: 206.2 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.801, allocations: 57.28 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.978e-05/0.801, allocations: 85 kB / 1.111 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.801, allocations: 29.7 kB / 1.111 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.8011, allocations: 80.33 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.8011, allocations: 31.55 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.8011, allocations: 1.312 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8012, allocations: 310.8 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.8013, allocations: 29.45 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.8013, allocations: 16 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.8025, allocations: 139.8 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8025, allocations: 0 / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001239/0.8037, allocations: 213.5 kB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.8038, allocations: 9.047 kB / 1.112 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.8038, allocations: 1.812 kB / 1.112 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.8038, allocations: 4 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.8039, allocations: 23.97 kB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.804, allocations: 0 / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.804, allocations: 5.906 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.804, allocations: 11.98 kB / 1.112 GB, free: 8.309 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: 1 (n) * Number of discrete 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 7.194e-05/0.8041, allocations: 101 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.8041, allocations: 7.906 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.8042, allocations: 15.33 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8042, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8042, allocations: 1.281 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.8042, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.8043, allocations: 154.1 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8043, allocations: 0 / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.8045, allocations: 29.38 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8045, allocations: 0 / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.8045, allocations: 10.38 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8045, allocations: 0 / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8045, allocations: 8.828 kB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.8057, allocations: 222.4 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.8058, allocations: 92.94 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.8058, allocations: 1.062 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.8059, allocations: 4 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.8059, allocations: 15.97 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.806, allocations: 15.89 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.806, allocations: 75.28 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.806, allocations: 0 / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002016/0.8062, allocations: 23.94 kB / 1.112 GB, free: 7.473 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: 1 (n) * Number of discrete 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.0001886/0.8064, allocations: 121.9 kB / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.8065, allocations: 70.75 kB / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.8065, allocations: 0 / 1.113 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.8066, allocations: 47.91 kB / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.812e-05/0.8067, allocations: 0 / 1.113 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.8069, allocations: 101.9 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.8072, allocations: 0.6885 MB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000124/0.8073, allocations: 39.7 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.8073, allocations: 15.42 kB / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of SimCode: time 1.633e-06/0.8073, allocations: 0 / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of Templates: time 0.00263/0.81, allocations: 0.9096 MB / 1.114 GB, free: 5.48 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)