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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 185.1 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006987/0.0006987, allocations: 90.34 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 9.281 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1666, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0006048/0.1673, allocations: 331.2 kB / 0.8971 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.1676, allocations: 115.7 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.1676, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.1677, allocations: 3.938 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1677, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1679, allocations: 23.97 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.168, allocations: 59.94 kB / 0.8973 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1681, allocations: 3.984 kB / 0.8973 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.1681, allocations: 31.91 kB / 0.8973 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.1681, allocations: 23.97 kB / 0.8973 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1682, allocations: 4 kB / 0.8973 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.1683, allocations: 43.95 kB / 0.8974 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.1683, allocations: 15.98 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.1684, allocations: 27.89 kB / 0.8974 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1685, allocations: 75.78 kB / 0.8975 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1685, allocations: 0 / 0.8975 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1685, allocations: 3.938 kB / 0.8975 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.756e-06/0.1685, allocations: 0 / 0.8975 GB, free: 67.45 MB / 0.6042 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.0003502/0.1688, allocations: 355.7 kB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1689, allocations: 8.031 kB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1689, allocations: 12.94 kB / 0.8978 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.998e-05/0.169, allocations: 173.1 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.1692, allocations: 273.6 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.1692, allocations: 8.375 kB / 0.8983 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.1694, allocations: 78.19 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1694, allocations: 3.938 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1694, allocations: 4 kB / 0.8984 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1694, allocations: 4 kB / 0.8984 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.1697, allocations: 127.8 kB / 0.8985 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1699, allocations: 189.4 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1701, allocations: 98.45 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.1703, allocations: 44.83 kB / 0.8988 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1703, allocations: 3.984 kB / 0.8988 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1703, allocations: 30.56 kB / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1703, allocations: 0 / 0.8988 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004559/0.1708, allocations: 161.8 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.1708, allocations: 51.41 kB / 0.899 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.026e-05/0.1708, allocations: 93.8 kB / 0.8991 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1709, allocations: 25.7 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.1709, allocations: 84.14 kB / 0.8992 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1709, allocations: 35.45 kB / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.1709, allocations: 13.72 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.171, allocations: 318.8 kB / 0.8996 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1711, allocations: 31.97 kB / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1712, allocations: 35.97 kB / 0.8996 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.1714, allocations: 72.81 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1715, allocations: 0 / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002648/0.1717, allocations: 113.5 kB / 0.8998 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1717, allocations: 10.5 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1718, allocations: 3.938 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1718, allocations: 0 / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1719, allocations: 23.97 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1719, allocations: 4 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.172, allocations: 19.84 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.172, allocations: 0 / 0.8999 GB, free: 64.7 MB / 0.6042 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 5.398e-05/0.1721, allocations: 117.8 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1721, allocations: 4 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.1721, allocations: 11.91 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1721, allocations: 3.984 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1721, allocations: 3.938 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.1721, allocations: 85.02 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1722, allocations: 11.98 kB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.1722, allocations: 4 kB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1723, allocations: 7.984 kB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003177/0.1726, allocations: 204.8 kB / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002901/0.1729, allocations: 291.5 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001215/0.173, allocations: 44.02 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.188e-05/0.173, allocations: 83.28 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Backend: time 2.71e-07/0.1731, allocations: 3.938 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.1735, allocations: 156.2 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002497/0.1738, allocations: 0.5742 MB / 0.9014 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.002716/0.1765, allocations: 1.289 MB / 0.9027 GB, free: 61.72 MB / 0.6042 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)