Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001791/0.001791, allocations: 182.3 kB / 371 MB, free: 10.86 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.137/2.137, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009157/0.0009155, allocations: 83.31 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 14.69 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2063, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007168/0.2071, allocations: 323.5 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003703/0.2075, allocations: 87.73 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.2075, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.2076, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.2076, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.2079, allocations: 35.91 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.208, allocations: 59.91 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.2081, allocations: 4 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.2081, allocations: 19.98 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.896e-05/0.2082, allocations: 27.95 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.2082, allocations: 4 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2084, allocations: 35.97 kB / 0.9789 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.616e-05/0.2084, allocations: 19.97 kB / 0.979 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2085, allocations: 37.64 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.2086, allocations: 39.94 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2086, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.406e-06/0.2086, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2086, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 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.0005043/0.2091, allocations: 355.7 kB / 0.9794 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2092, allocations: 20.02 kB / 0.9794 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.2092, allocations: 11.84 kB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.246e-05/0.2093, allocations: 171 kB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.2096, allocations: 281 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2096, allocations: 0 / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.21, allocations: 89.5 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.21, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.21, allocations: 0 / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.21, allocations: 4 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005597/0.2106, allocations: 135.8 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.2108, allocations: 177.6 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.2113, allocations: 94.52 kB / 0.9803 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.2115, allocations: 44.83 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2116, allocations: 4.312 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2116, allocations: 38.5 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.2116, allocations: 3.938 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008385/0.2125, allocations: 153.5 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.2125, allocations: 51.41 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.04e-05/0.2125, allocations: 89.86 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2126, allocations: 29.7 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.518e-05/0.2126, allocations: 80.33 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.2127, allocations: 31.55 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2127, allocations: 4 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.2127, allocations: 314.8 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.213, allocations: 35.97 kB / 0.9812 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.2132, allocations: 35.91 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.2135, allocations: 35.88 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2135, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005424/0.214, allocations: 113.5 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2141, allocations: 4 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2141, allocations: 3.984 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.2141, allocations: 3.984 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2144, allocations: 23.98 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2144, allocations: 4 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2145, allocations: 11.94 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2146, allocations: 11.92 kB / 0.9814 GB, free: 24.96 MB / 0.6198 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 8.644e-05/0.2147, allocations: 121.7 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.2147, allocations: 3.906 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.2147, allocations: 11.95 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2147, allocations: 4 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2148, allocations: 0 / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2148, allocations: 4 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2149, allocations: 181.6 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2149, allocations: 3.953 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.2152, allocations: 23.92 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2152, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2152, allocations: 7.984 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2152, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2152, allocations: 0 / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.2158, allocations: 152.8 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.2158, allocations: 85 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2159, allocations: 4 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.216, allocations: 4 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.2161, allocations: 15.97 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.2161, allocations: 4 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.632e-05/0.2161, allocations: 75.28 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2162, allocations: 0 / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002883/0.2164, allocations: 20 kB / 0.9821 GB, free: 24.16 MB / 0.6198 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.0002016/0.2167, allocations: 115.2 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000546/0.2172, allocations: 88.75 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2172, allocations: 0 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.2175, allocations: 55.83 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.2177, allocations: 6.672 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2182, allocations: 170.6 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2184, allocations: 0.6809 MB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00023/0.2186, allocations: 39.95 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.2187, allocations: 15.44 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2187, allocations: 0 / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.003834/0.2225, allocations: 0.945 MB / 0.9841 GB, free: 21.99 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)