Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.49/2.49, allocations: 287.5 MB / 303.2 MB, free: 8.227 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.001374/0.001373, allocations: 193.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009825/0.0009823, allocations: 89 kB / 0.7438 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006396/0.0006398, allocations: 17.08 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8668/1.09, allocations: 138.5 MB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.09, allocations: 81.31 kB / 1.115 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00608/1.097, allocations: 1.333 MB / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.097, allocations: 0 / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.097, allocations: 0 / 1.116 GB, free: 31.46 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.0005275/1.097, allocations: 364.9 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.097, allocations: 15.53 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/1.097, allocations: 0.9375 kB / 1.116 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/1.097, allocations: 174.8 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.097, allocations: 3.75 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/1.097, allocations: 4.344 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/1.098, allocations: 67.94 kB / 1.117 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.098, allocations: 192 / 1.117 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/1.098, allocations: 11.25 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/1.098, allocations: 4 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/1.098, allocations: 56.09 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/1.099, allocations: 279.4 kB / 1.117 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/1.099, allocations: 61.95 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/1.099, allocations: 33.98 kB / 1.117 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/1.1, allocations: 414.2 kB / 1.117 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/1.1, allocations: 30.56 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.023e-06/1.1, allocations: 0 / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005811/1.1, allocations: 114 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.1, allocations: 62.05 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/1.1, allocations: 104.4 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/1.101, allocations: 25.7 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/1.101, allocations: 91.7 kB / 1.118 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/1.101, allocations: 7.844 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/1.101, allocations: 0 / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.101, allocations: 325.4 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/1.101, allocations: 25.2 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/1.101, allocations: 21.08 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/1.101, allocations: 67.09 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.101, allocations: 0 / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000352/1.102, allocations: 84.78 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.102, allocations: 7.719 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.102, allocations: 0 / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.102, allocations: 48 / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.102, allocations: 14.89 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/1.102, allocations: 3.875 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/1.102, allocations: 10.88 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/1.102, allocations: 3.688 kB / 1.118 GB, free: 29.31 MB / 0.698 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 8.922e-05/1.102, allocations: 123.1 kB / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/1.102, allocations: 3.844 kB / 1.118 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/1.103, allocations: 94.94 kB / 1.118 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.103, allocations: 4 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.103, allocations: 0 / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/1.103, allocations: 3.609 kB / 1.118 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/1.103, allocations: 170 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.103, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.103, allocations: 18.69 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.103, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/1.103, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.103, allocations: 0 / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.103, allocations: 11.19 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/1.104, allocations: 188 kB / 1.119 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/1.104, allocations: 80.95 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/1.104, allocations: 0 / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.104, allocations: 14.14 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/1.104, allocations: 7.047 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/1.104, allocations: 7.812 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.622e-05/1.104, allocations: 85.48 kB / 1.119 GB, free: 28.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.104, allocations: 0 / 1.119 GB, free: 28.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003462/1.104, allocations: 22.97 kB / 1.119 GB, free: 28.62 MB / 0.698 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.0002113/1.104, allocations: 125.7 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003477/1.105, allocations: 56.98 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.105, allocations: 0 / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/1.105, allocations: 36.95 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/1.105, allocations: 3.938 kB / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/1.106, allocations: 123.6 kB / 1.119 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/1.106, allocations: 0.6801 MB / 1.12 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.148e-05/1.106, allocations: 4 kB / 1.12 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/1.106, allocations: 11.25 kB / 1.12 GB, free: 27.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.106, allocations: 0 / 1.12 GB, free: 27.7 MB / 0.698 GB Notification: Performance of Templates: time 0.003749/1.11, allocations: 0.8526 MB / 1.121 GB, free: 27.62 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)