Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.58/2.58, allocations: 287.5 MB / 302.4 MB, free: 8.441 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001464, allocations: 169.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 99.88 kB / 0.743 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.000465, allocations: 11.44 kB / 0.8658 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2345, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.319, allocations: 138.5 MB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/1.32, allocations: 73.88 kB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008651/1.328, allocations: 1.324 MB / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/1.328, allocations: 0 / 1.115 GB, free: 31.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.296e-06/1.328, allocations: 0 / 1.115 GB, free: 31.52 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.0007574/1.329, allocations: 373.1 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.329, allocations: 15.36 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/1.329, allocations: 0 / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.33, allocations: 166.9 kB / 1.115 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/1.33, allocations: 6.562 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/1.33, allocations: 3.844 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/1.33, allocations: 70.95 kB / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.33, allocations: 0 / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/1.33, allocations: 0 / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.33, allocations: 0 / 1.116 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/1.331, allocations: 60.16 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/1.331, allocations: 284.6 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/1.332, allocations: 63.78 kB / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/1.333, allocations: 408 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.333, allocations: 36 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 4.018e-06/1.333, allocations: 0 / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0008645/1.334, allocations: 110.1 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.334, allocations: 55.25 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/1.334, allocations: 107 kB / 1.117 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/1.334, allocations: 25.7 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/1.334, allocations: 90.22 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/1.334, allocations: 11.69 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/1.334, allocations: 4 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.334, allocations: 314.4 kB / 1.117 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/1.335, allocations: 24.8 kB / 1.117 GB, free: 29.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/1.335, allocations: 28.44 kB / 1.117 GB, free: 29.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/1.335, allocations: 31.81 kB / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.335, allocations: 0 / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005455/1.336, allocations: 84.92 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.336, allocations: 7.812 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.336, allocations: 4 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.336, allocations: 0 / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/1.336, allocations: 10.86 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.336, allocations: 3.844 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.336, allocations: 7.125 kB / 1.117 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/1.336, allocations: 3.953 kB / 1.117 GB, free: 29.4 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 0.0001553/1.336, allocations: 117.2 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/1.336, allocations: 11.69 kB / 1.117 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/1.337, allocations: 96.47 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.337, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.337, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.337, allocations: 4 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/1.338, allocations: 166.1 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.338, allocations: 0 / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.338, allocations: 14.8 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.338, allocations: 3.562 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/1.338, allocations: 4.812 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/1.338, allocations: 3.906 kB / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.338, allocations: 0 / 1.118 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/1.339, allocations: 190.8 kB / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/1.339, allocations: 81.02 kB / 1.118 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/1.339, allocations: 0 / 1.118 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/1.339, allocations: 21.91 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/1.339, allocations: 3.234 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/1.339, allocations: 3.969 kB / 1.118 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.995e-05/1.339, allocations: 89.14 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.61e-07/1.339, allocations: 0 / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005846/1.34, allocations: 22.03 kB / 1.118 GB, free: 28.71 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.0003869/1.34, allocations: 121.7 kB / 1.118 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006155/1.341, allocations: 58.78 kB / 1.118 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.341, allocations: 0 / 1.118 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/1.341, allocations: 33.08 kB / 1.118 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/1.342, allocations: 20.78 kB / 1.118 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/1.342, allocations: 117 kB / 1.118 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.343, allocations: 0.68 MB / 1.119 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.306e-05/1.343, allocations: 7.125 kB / 1.119 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/1.343, allocations: 11.44 kB / 1.119 GB, free: 27.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.343, allocations: 0 / 1.119 GB, free: 27.79 MB / 0.698 GB Notification: Performance of Templates: time 0.006156/1.349, allocations: 0.8215 MB / 1.12 GB, free: 27.71 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)