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.639/1.639, allocations: 292.6 MB / 307.5 MB, free: 5.102 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.001109/0.001109, allocations: 181.1 kB / 377.1 MB, free: 1.418 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.624/1.624, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.0009297/0.0009297, allocations: 100.1 kB / 0.751 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/1.091, allocations: 138.6 MB / 1.124 GB, free: 35.91 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.091, allocations: 75.77 kB / 1.124 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003442/1.095, allocations: 1.215 MB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.835e-06/1.095, allocations: 4.906 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.095, allocations: 0 / 1.125 GB, free: 34.96 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003694/1.095, allocations: 355.8 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.095, allocations: 12.73 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/1.095, allocations: 14.59 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.979e-05/1.095, allocations: 167.8 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/1.096, allocations: 277.1 kB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/1.096, allocations: 11.44 kB / 1.126 GB, free: 34.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/1.096, allocations: 81.22 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.096, allocations: 0 / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.096, allocations: 4.938 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/1.096, allocations: 4 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/1.096, allocations: 128.6 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/1.096, allocations: 180.2 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/1.097, allocations: 103.6 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/1.097, allocations: 0 / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/1.097, allocations: 34.56 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 7.91e-07/1.097, allocations: 0 / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0004647/1.097, allocations: 144.9 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/1.097, allocations: 51.73 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.108e-05/1.097, allocations: 92.91 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/1.097, allocations: 37.58 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/1.097, allocations: 80.33 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/1.097, allocations: 30.98 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/1.097, allocations: 0 / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.822e-05/1.098, allocations: 314.8 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/1.098, allocations: 34.89 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/1.098, allocations: 38.22 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/1.098, allocations: 32.17 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.098, allocations: 0 / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002673/1.098, allocations: 116.2 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.098, allocations: 4 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.098, allocations: 4 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.098, allocations: 0 / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/1.098, allocations: 30.92 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/1.098, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/1.098, allocations: 9.156 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/1.098, allocations: 7.656 kB / 1.127 GB, free: 32.54 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: 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 7.276e-05/1.099, allocations: 113.8 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/1.099, allocations: 7.953 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/1.099, allocations: 15.48 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.099, allocations: 0 / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.099, allocations: 1.062 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.099, allocations: 1.172 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/1.099, allocations: 180.8 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.099, allocations: 4 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.099, allocations: 23.12 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.099, allocations: 7.938 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.099, allocations: 7.562 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.099, allocations: 1.125 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.099, allocations: 0.9375 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/1.099, allocations: 140 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/1.099, allocations: 93.47 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.099, allocations: 0.8125 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/1.099, allocations: 11.95 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/1.099, allocations: 11.08 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/1.099, allocations: 7.609 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.833e-05/1.099, allocations: 75.28 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/1.099, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002075/1.1, allocations: 28 kB / 1.128 GB, free: 31.78 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: 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.000193/1.1, allocations: 131.4 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002748/1.1, allocations: 81.84 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.1, allocations: 0 / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/1.1, allocations: 47.33 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.626e-05/1.1, allocations: 11.45 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/1.101, allocations: 172.4 kB / 1.128 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/1.101, allocations: 0.6881 MB / 1.129 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001214/1.101, allocations: 38.8 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/1.101, allocations: 14.95 kB / 1.129 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.101, allocations: 0 / 1.129 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of Templates: time 0.002939/1.104, allocations: 0.9225 MB / 1.13 GB, free: 30.1 MB / 0.7292 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)