Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.61/1.61, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.001242/0.001242, allocations: 185.2 kB / 373 MB, free: 10.17 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.412/1.412, allocations: 205.4 MB / 0.6317 GB, free: 9.895 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.0007151/0.0007151, allocations: 94.23 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 13.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1947, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.604/0.7987, allocations: 137.6 MB / 1.115 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.799, allocations: 75.22 kB / 1.115 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003612/0.8026, allocations: 1.217 MB / 1.116 GB, free: 32.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8026, allocations: 0 / 1.116 GB, free: 32.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8026, allocations: 3.844 kB / 1.116 GB, free: 32.35 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003527/0.803, allocations: 360.2 kB / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.803, allocations: 7.812 kB / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.8031, allocations: 17.22 kB / 1.117 GB, free: 31.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.988e-05/0.8032, allocations: 164.3 kB / 1.117 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.8034, allocations: 285.3 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.8034, allocations: 0.9375 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.8036, allocations: 79.56 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8036, allocations: 3.938 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8036, allocations: 3.781 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.8036, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.8039, allocations: 134.3 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.8041, allocations: 184.1 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.8043, allocations: 101.4 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.8045, allocations: 44.89 kB / 1.118 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.8045, allocations: 7.578 kB / 1.118 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.8045, allocations: 30.56 kB / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.103e-06/0.8045, allocations: 0 / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004422/0.805, allocations: 151.9 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.805, allocations: 59.28 kB / 1.118 GB, free: 31.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.215e-05/0.805, allocations: 93.77 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.8051, allocations: 29.48 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.8051, allocations: 80.14 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.8051, allocations: 32.66 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.8051, allocations: 0 / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8053, allocations: 316.3 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.8054, allocations: 33.42 kB / 1.119 GB, free: 30.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.8055, allocations: 33.5 kB / 1.119 GB, free: 30.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.8057, allocations: 77.78 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8057, allocations: 0 / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000282/0.806, allocations: 113.2 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.806, allocations: 7.781 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.806, allocations: 0 / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.8061, allocations: 3.938 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.8062, allocations: 30.47 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8062, allocations: 0 / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.8063, allocations: 10.72 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.8063, allocations: 3.875 kB / 1.119 GB, free: 30.43 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: 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.106e-05/0.8064, allocations: 120.4 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.8064, allocations: 3.938 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.8064, allocations: 14.94 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.8064, allocations: 0 / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8064, allocations: 3.188 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8064, allocations: 0 / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.8065, allocations: 188 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8065, allocations: 0 / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.8067, allocations: 25.34 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8067, allocations: 7.844 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.8067, allocations: 0 / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8067, allocations: 0 / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8067, allocations: 3.938 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.807, allocations: 144.4 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.807, allocations: 91.72 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.807, allocations: 15.16 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/0.8071, allocations: 0 / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.8072, allocations: 16.64 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.8072, allocations: 7.188 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.552e-05/0.8072, allocations: 75.28 kB / 1.119 GB, free: 29.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8072, allocations: 3.938 kB / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002006/0.8074, allocations: 26.66 kB / 1.12 GB, free: 29.84 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: 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.0001585/0.8076, allocations: 123.9 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.8079, allocations: 83.61 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.8079, allocations: 3.938 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.808, allocations: 45.69 kB / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.8081, allocations: 9.844 kB / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.8085, allocations: 168 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.8087, allocations: 0.6825 MB / 1.121 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.8088, allocations: 38.27 kB / 1.121 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.8089, allocations: 17.91 kB / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8089, allocations: 0 / 1.121 GB, free: 28.9 MB / 0.698 GB Notification: Performance of Templates: time 0.002487/0.8114, allocations: 0.9511 MB / 1.122 GB, free: 28.81 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)