Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001105/0.001105, allocations: 187.8 kB / 371.8 MB, free: 10.29 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.74/1.74, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001002/0.001002, allocations: 93.16 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004336, allocations: 19.92 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7363/1.003, allocations: 138.6 MB / 1.115 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.003, allocations: 72.73 kB / 1.115 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004381/1.007, allocations: 1.332 MB / 1.116 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/1.007, allocations: 3.906 kB / 1.116 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.007, allocations: 0 / 1.116 GB, free: 31.95 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.0004379/1.008, allocations: 362.5 kB / 1.117 GB, free: 31.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.008, allocations: 11.64 kB / 1.117 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/1.008, allocations: 3.875 kB / 1.117 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.008, allocations: 174.2 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/1.008, allocations: 3.875 kB / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/1.008, allocations: 0 / 1.117 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/1.008, allocations: 64.98 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.008, allocations: 0 / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.008, allocations: 6.906 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/1.008, allocations: 0 / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/1.009, allocations: 54.09 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/1.009, allocations: 285.5 kB / 1.117 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/1.009, allocations: 63.16 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/1.01, allocations: 410.7 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/1.01, allocations: 30.56 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/1.01, allocations: 0 / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003896/1.01, allocations: 115.9 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.01, allocations: 52.44 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/1.01, allocations: 103.4 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/1.01, allocations: 29.7 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/1.01, allocations: 88.48 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/1.01, allocations: 19.06 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/1.01, allocations: 0 / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.01, allocations: 316.3 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/1.011, allocations: 24.56 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-05/1.011, allocations: 28.47 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.033e-05/1.011, allocations: 24.78 kB / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.011, allocations: 0 / 1.118 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000207/1.011, allocations: 91.53 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.011, allocations: 7.688 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.011, allocations: 48 / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.011, allocations: 3.984 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/1.011, allocations: 11.98 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.011, allocations: 3.938 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/1.011, allocations: 14.8 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/1.011, allocations: 0 / 1.118 GB, free: 29.83 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.715e-05/1.011, allocations: 120.2 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/1.011, allocations: 7.75 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/1.012, allocations: 97.19 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.012, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.012, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.012, allocations: 2.953 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/1.012, allocations: 169 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.012, allocations: 0 / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/1.012, allocations: 14.53 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.012, allocations: 0 / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.012, allocations: 0 / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.012, allocations: 7.938 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.012, allocations: 4.156 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/1.012, allocations: 184.6 kB / 1.119 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/1.012, allocations: 88.11 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/1.012, allocations: 3.312 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/1.012, allocations: 10.45 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/1.012, allocations: 2.625 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/1.012, allocations: 3.844 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.6e-05/1.012, allocations: 89.19 kB / 1.119 GB, free: 29.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.012, allocations: 0 / 1.119 GB, free: 29.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002266/1.013, allocations: 23 kB / 1.119 GB, free: 29.14 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.0001855/1.013, allocations: 125 kB / 1.119 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002207/1.013, allocations: 53.75 kB / 1.119 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.013, allocations: 0 / 1.119 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/1.013, allocations: 40.11 kB / 1.119 GB, free: 29.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/1.013, allocations: 7.797 kB / 1.119 GB, free: 29.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/1.014, allocations: 122 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.014, allocations: 0.6829 MB / 1.12 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.389e-05/1.014, allocations: 11.84 kB / 1.12 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/1.014, allocations: 11.28 kB / 1.12 GB, free: 28.21 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.014, allocations: 0 / 1.12 GB, free: 28.21 MB / 0.698 GB Notification: Performance of Templates: time 0.002901/1.017, allocations: 0.8235 MB / 1.121 GB, free: 28.14 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)