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.628/1.628, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.001071/0.001071, allocations: 183 kB / 372.9 MB, free: 10.15 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.423/1.423, allocations: 205.4 MB / 0.6316 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.000816/0.000816, allocations: 92.23 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 20.48 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001314/0.1679, allocations: 1.236 MB / 0.9819 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003366/0.1682, allocations: 165.3 kB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.1683, allocations: 0 / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.1683, allocations: 3.984 kB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.1683, allocations: 3.938 kB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1686, allocations: 39.95 kB / 0.9822 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.015e-05/0.1686, allocations: 35.86 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.1687, allocations: 8 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.1687, allocations: 15.98 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.65e-05/0.1688, allocations: 19.91 kB / 0.9822 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.1688, allocations: 0 / 0.9822 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.1689, allocations: 39.97 kB / 0.9823 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.1689, allocations: 11.92 kB / 0.9823 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1689, allocations: 45.56 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.479e-05/0.169, allocations: 35.94 kB / 0.9824 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.169, allocations: 0 / 0.9824 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.213e-06/0.169, allocations: 0 / 0.9824 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.169, allocations: 0 / 0.9824 GB, free: 25.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003335/0.1694, allocations: 355.6 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1694, allocations: 8.031 kB / 0.9827 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.1695, allocations: 4.938 kB / 0.9827 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.1695, allocations: 172.3 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1696, allocations: 4.375 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1696, allocations: 4.375 kB / 0.9829 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1698, allocations: 74.16 kB / 0.983 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1698, allocations: 192 / 0.983 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1698, allocations: 3.938 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1698, allocations: 3.938 kB / 0.983 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.17, allocations: 59.95 kB / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.1703, allocations: 276.7 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1706, allocations: 70.47 kB / 0.9833 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.1707, allocations: 28.91 kB / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.1709, allocations: 174.2 kB / 0.9835 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.1709, allocations: 38.5 kB / 0.9836 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1709, allocations: 0 / 0.9836 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003639/0.1713, allocations: 109.6 kB / 0.9837 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/0.1713, allocations: 55.39 kB / 0.9837 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.1714, allocations: 101.9 kB / 0.9838 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.1714, allocations: 25.7 kB / 0.9839 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.1714, allocations: 92.12 kB / 0.9839 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.1715, allocations: 3.906 kB / 0.9839 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.1715, allocations: 3.938 kB / 0.984 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.1715, allocations: 314.8 kB / 0.9843 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.1716, allocations: 27.97 kB / 0.9843 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.1717, allocations: 23.98 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1718, allocations: 64.75 kB / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1719, allocations: 0 / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001862/0.172, allocations: 85.84 kB / 0.9844 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1721, allocations: 8 kB / 0.9845 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1721, allocations: 4 kB / 0.9845 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1721, allocations: 48 / 0.9845 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1722, allocations: 19.91 kB / 0.9845 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1722, allocations: 4 kB / 0.9845 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.1723, allocations: 7.984 kB / 0.9845 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1723, allocations: 4 kB / 0.9845 GB, free: 23.23 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: 2 (rea2Int.y,bin.y) * 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 4.963e-05/0.1723, allocations: 117.8 kB / 0.9846 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1723, allocations: 8 kB / 0.9846 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1726, allocations: 89.55 kB / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1726, allocations: 0 / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1726, allocations: 0 / 0.9847 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.1726, allocations: 93 kB / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1726, allocations: 0 / 0.9848 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.1727, allocations: 8 kB / 0.9848 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.1728, allocations: 11.92 kB / 0.9848 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000241/0.173, allocations: 180.9 kB / 0.985 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002223/0.1733, allocations: 254.8 kB / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.117e-05/0.1734, allocations: 35.91 kB / 0.9853 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.1734, allocations: 87.22 kB / 0.9853 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of Backend: time 3.41e-07/0.1734, allocations: 0 / 0.9853 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.1738, allocations: 134.3 kB / 0.9855 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003492/0.1742, allocations: 0.5682 MB / 0.986 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.002484/0.1767, allocations: 0.9519 MB / 0.9869 GB, free: 20.6 MB / 0.6198 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)