Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004406/0.004406, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 198.7 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.235/1.235, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.7 MB / 0.5094 GB, free: 3.004 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 81.77 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1822, allocations: 104.7 MB / 0.8281 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001843/0.1841, allocations: 0.5935 MB / 0.8287 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004246/0.1846, allocations: 100 kB / 0.8287 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1846, allocations: 0 / 0.8287 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.1847, allocations: 3.938 kB / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-06/0.1847, allocations: 0 / 0.8288 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1851, allocations: 47.83 kB / 0.8288 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.1853, allocations: 63.92 kB / 0.8289 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.1853, allocations: 4 kB / 0.8289 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.1854, allocations: 23.97 kB / 0.8289 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.1854, allocations: 23.97 kB / 0.8289 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1854, allocations: 0 / 0.8289 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1856, allocations: 51.95 kB / 0.829 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.1857, allocations: 19.97 kB / 0.829 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1857, allocations: 23.86 kB / 0.829 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1859, allocations: 79.75 kB / 0.8291 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1859, allocations: 4 kB / 0.8291 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1859, allocations: 4 kB / 0.8291 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1859, allocations: 0 / 0.8291 GB, free: 15.21 MB / 0.6544 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.0005254/0.1864, allocations: 371.4 kB / 0.8294 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1865, allocations: 8.031 kB / 0.8294 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1865, allocations: 4.938 kB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.421e-05/0.1866, allocations: 164.4 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.1869, allocations: 285.5 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.1869, allocations: 4.375 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1871, allocations: 90.17 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1872, allocations: 3.938 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1872, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1872, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.1875, allocations: 135.8 kB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1877, allocations: 177.6 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.188, allocations: 98.45 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1881, allocations: 44.83 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1882, allocations: 4 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1882, allocations: 34.56 kB / 0.8304 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1882, allocations: 0 / 0.8304 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0005101/0.1887, allocations: 149.8 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1888, allocations: 51.41 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.027e-05/0.1888, allocations: 89.86 kB / 0.8307 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1888, allocations: 29.7 kB / 0.8308 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.769e-05/0.1889, allocations: 84.14 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.1889, allocations: 47.31 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.189, allocations: 29.7 kB / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1891, allocations: 314.8 kB / 0.8312 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1892, allocations: 31.97 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1894, allocations: 31.97 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1896, allocations: 73.47 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1896, allocations: 4 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002995/0.1899, allocations: 117.5 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.19, allocations: 7.938 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.19, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.19, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1901, allocations: 35.91 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1902, allocations: 0 / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.1902, allocations: 15.84 kB / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1902, allocations: 0 / 0.8315 GB, free: 12.44 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.1903, allocations: 121.8 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.1903, allocations: 7.938 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.1904, allocations: 7.969 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1904, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1904, allocations: 4 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1904, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1905, allocations: 177.6 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1905, allocations: 3.984 kB / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1907, allocations: 27.92 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1907, allocations: 3.938 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1907, allocations: 7.984 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1907, allocations: 3.938 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1907, allocations: 4 kB / 0.8319 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.191, allocations: 133.1 kB / 0.832 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.1911, allocations: 81.05 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1911, allocations: 7.938 kB / 0.8321 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.1911, allocations: 7.984 kB / 0.8321 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.1912, allocations: 15.98 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1912, allocations: 3.984 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.1912, allocations: 75.28 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.1912, allocations: 0 / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002148/0.1915, allocations: 28 kB / 0.8322 GB, free: 11.63 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.1917, allocations: 127.1 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.192, allocations: 79.94 kB / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.192, allocations: 0 / 0.8324 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1921, allocations: 55.91 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1923, allocations: 0 / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.1927, allocations: 168.9 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1929, allocations: 0.6844 MB / 0.8333 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.193, allocations: 43.81 kB / 0.8333 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.1931, allocations: 19.42 kB / 0.8333 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.1931, allocations: 3.938 kB / 0.8333 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.003295/0.1964, allocations: 1.031 MB / 0.8344 GB, free: 9.367 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)