Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009104/0.0009104, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001008/0.001009, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9609/0.9609, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005353/0.0005355, allocations: 16 kB / 0.5158 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 83.4 MB / 0.5973 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0007318/0.1679, allocations: 319 kB / 0.5976 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.1683, allocations: 99.72 kB / 0.5977 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.1683, allocations: 0 / 0.5977 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.1684, allocations: 0 / 0.5977 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-06/0.1684, allocations: 0 / 0.5977 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1687, allocations: 27.91 kB / 0.5977 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.1688, allocations: 51.88 kB / 0.5978 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1688, allocations: 0 / 0.5978 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.1689, allocations: 23.98 kB / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.1689, allocations: 23.95 kB / 0.5978 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.169, allocations: 8 kB / 0.5978 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1691, allocations: 35.97 kB / 0.5978 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.1691, allocations: 23.95 kB / 0.5979 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1692, allocations: 29.7 kB / 0.5979 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.467e-05/0.1693, allocations: 47.86 kB / 0.5979 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1693, allocations: 3.938 kB / 0.5979 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1693, allocations: 0 / 0.5979 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1693, allocations: 0 / 0.5979 GB, free: 7.211 MB / 0.4981 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.000449/0.1697, allocations: 355.4 kB / 0.5983 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1698, allocations: 8.031 kB / 0.5983 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.1698, allocations: 11.91 kB / 0.5983 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.1699, allocations: 167.2 kB / 0.5985 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.1702, allocations: 281 kB / 0.5987 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1702, allocations: 4 kB / 0.5987 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1705, allocations: 77.62 kB / 0.5988 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1705, allocations: 0 / 0.5988 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1705, allocations: 8 kB / 0.5988 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1705, allocations: 0 / 0.5988 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1708, allocations: 135.8 kB / 0.5989 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.171, allocations: 185.5 kB / 0.5991 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1713, allocations: 90.53 kB / 0.5992 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1714, allocations: 4 kB / 0.5992 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1714, allocations: 34.5 kB / 0.5992 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1714, allocations: 0 / 0.5992 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005271/0.1719, allocations: 149.5 kB / 0.5994 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.172, allocations: 59.73 kB / 0.5994 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.172, allocations: 89.86 kB / 0.5995 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.172, allocations: 29.64 kB / 0.5996 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.1721, allocations: 84.31 kB / 0.5996 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.1721, allocations: 31.55 kB / 0.5997 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.1722, allocations: 4 kB / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1723, allocations: 322.8 kB / 0.6 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1724, allocations: 27.98 kB / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1725, allocations: 35.97 kB / 0.6 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1727, allocations: 35.97 kB / 0.6001 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1727, allocations: 0 / 0.6001 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003079/0.173, allocations: 122.1 kB / 0.6002 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.173, allocations: 4 kB / 0.6002 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.173, allocations: 0 / 0.6002 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1731, allocations: 0 / 0.6002 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1732, allocations: 23.97 kB / 0.6002 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1732, allocations: 7.984 kB / 0.6002 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.1733, allocations: 7.938 kB / 0.6002 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1733, allocations: 4 kB / 0.6002 GB, free: 4.582 MB / 0.4981 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.775e-05/0.1734, allocations: 121.8 kB / 0.6004 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1734, allocations: 7.906 kB / 0.6004 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.1735, allocations: 15.91 kB / 0.6004 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1735, allocations: 3.984 kB / 0.6004 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1735, allocations: 4 kB / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1735, allocations: 0 / 0.6004 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1736, allocations: 173.6 kB / 0.6006 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1736, allocations: 3.984 kB / 0.6006 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1738, allocations: 27.98 kB / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1738, allocations: 0 / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1738, allocations: 4 kB / 0.6006 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1738, allocations: 3.984 kB / 0.6006 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1738, allocations: 4 kB / 0.6006 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.1741, allocations: 144.9 kB / 0.6007 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.1742, allocations: 81.06 kB / 0.6008 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1742, allocations: 12 kB / 0.6008 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.1743, allocations: 7.984 kB / 0.6008 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1743, allocations: 7.984 kB / 0.6008 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.1744, allocations: 7.984 kB / 0.6008 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.1744, allocations: 79.28 kB / 0.6009 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1744, allocations: 3.938 kB / 0.6009 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000223/0.1746, allocations: 20 kB / 0.6009 GB, free: 3.762 MB / 0.4981 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.0001777/0.1748, allocations: 127.2 kB / 0.6011 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003233/0.1751, allocations: 91.81 kB / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1752, allocations: 0 / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1753, allocations: 43.97 kB / 0.6012 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.496e-05/0.1754, allocations: 0 / 0.6012 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.1758, allocations: 166.7 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.176, allocations: 0.6965 MB / 0.602 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000147/0.1762, allocations: 35.94 kB / 0.6021 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.1762, allocations: 19.44 kB / 0.6021 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1762, allocations: 0 / 0.6021 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.003065/0.1793, allocations: 0.96 MB / 0.603 GB, free: 1.578 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: