Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001309/0.001309, allocations: 194 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 282.7 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.507 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 102.2 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1721, allocations: 89.16 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001879/0.174, allocations: 0.6482 MB / 0.6936 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.1744, allocations: 107.6 kB / 0.6937 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1745, allocations: 0 / 0.6937 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.1745, allocations: 0 / 0.6937 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.1745, allocations: 0 / 0.6937 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1749, allocations: 39.89 kB / 0.6938 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.175, allocations: 67.86 kB / 0.6938 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.175, allocations: 4 kB / 0.6938 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.1751, allocations: 19.98 kB / 0.6939 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.1751, allocations: 23.97 kB / 0.6939 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1752, allocations: 11.98 kB / 0.6939 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1753, allocations: 43.95 kB / 0.6939 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.1753, allocations: 15.98 kB / 0.6939 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.1754, allocations: 31.84 kB / 0.694 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1756, allocations: 67.83 kB / 0.694 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1756, allocations: 4 kB / 0.694 GB, free: 3.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1756, allocations: 0 / 0.694 GB, free: 3.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1756, allocations: 0 / 0.694 GB, free: 3.625 MB / 494.1 MB 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.00056/0.1762, allocations: 371.8 kB / 0.6944 GB, free: 3.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1762, allocations: 8.031 kB / 0.6944 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1763, allocations: 12.84 kB / 0.6944 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1764, allocations: 168.3 kB / 0.6946 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.1767, allocations: 277.6 kB / 0.6948 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1767, allocations: 4.375 kB / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.177, allocations: 88.02 kB / 0.6949 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.177, allocations: 3.938 kB / 0.6949 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.177, allocations: 0 / 0.6949 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.177, allocations: 0 / 0.6949 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.1774, allocations: 135.8 kB / 0.6951 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.1776, allocations: 177.7 kB / 0.6952 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.1779, allocations: 98.45 kB / 0.6953 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1781, allocations: 40.83 kB / 0.6954 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1781, allocations: 7.984 kB / 0.6954 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1782, allocations: 34.56 kB / 0.6954 GB, free: 2.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1782, allocations: 0 / 0.6954 GB, free: 2.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005714/0.1788, allocations: 162 kB / 0.6956 GB, free: 1.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1788, allocations: 51.41 kB / 0.6956 GB, free: 1.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.1789, allocations: 89.86 kB / 0.6957 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1789, allocations: 29.7 kB / 0.6957 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.1789, allocations: 80.14 kB / 0.6958 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.179, allocations: 31.55 kB / 0.6958 GB, free: 1.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.179, allocations: 29.7 kB / 0.6959 GB, free: 1.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1792, allocations: 318.8 kB / 0.6962 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1794, allocations: 35.92 kB / 0.6962 GB, free: 1.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1795, allocations: 40.02 kB / 0.6962 GB, free: 1.102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.1798, allocations: 72.81 kB / 0.6963 GB, free: 1.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1798, allocations: 0 / 0.6963 GB, free: 1.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003476/0.1802, allocations: 113.5 kB / 0.6964 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1802, allocations: 7.938 kB / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1802, allocations: 0 / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1802, allocations: 0 / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1804, allocations: 35.91 kB / 0.6965 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1804, allocations: 4 kB / 0.6965 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.1805, allocations: 7.938 kB / 0.6965 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1805, allocations: 3.984 kB / 0.6965 GB, free: 0.8516 MB / 494.1 MB 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 9.445e-05/0.1806, allocations: 113.8 kB / 0.6966 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1806, allocations: 11.84 kB / 0.6966 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.1807, allocations: 11.97 kB / 0.6966 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1807, allocations: 4 kB / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1807, allocations: 0 / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1807, allocations: 11.97 kB / 0.6966 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1809, allocations: 173.6 kB / 0.6968 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1809, allocations: 0 / 0.6968 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.181, allocations: 31.92 kB / 0.6968 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.181, allocations: 3.938 kB / 0.6968 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.181, allocations: 3.984 kB / 0.6968 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.181, allocations: 4 kB / 0.6968 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.181, allocations: 3.938 kB / 0.6968 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.1814, allocations: 141 kB / 0.697 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.1815, allocations: 85.03 kB / 0.697 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1815, allocations: 7.938 kB / 0.6971 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.1816, allocations: 4 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1816, allocations: 11.98 kB / 0.6971 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1816, allocations: 3.984 kB / 0.6971 GB, free: 144 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.1817, allocations: 75.28 kB / 0.6971 GB, free: 68 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1817, allocations: 4 kB / 0.6972 GB, free: 64 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1819, allocations: 20 kB / 0.6972 GB, free: 44 kB / 494.1 MB 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.0002371/0.1822, allocations: 135 kB / 0.6973 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1825, allocations: 87.94 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1825, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.1827, allocations: 51.91 kB / 0.6974 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.1829, allocations: 10.27 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.1833, allocations: 169 kB / 0.6976 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1836, allocations: 0.6807 MB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.1839, allocations: 39.94 kB / 0.6983 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1839, allocations: 15.42 kB / 0.6983 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1839, allocations: 7.938 kB / 0.6983 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.003575/0.1875, allocations: 0.9972 MB / 0.6993 GB, free: 13.8 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)