Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 99.08 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.001358/0.001358, allocations: 177.3 kB / 15.94 MB, free: 228 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.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.976/0.976, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 12 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 83.4 MB / 0.5973 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.001643/0.1596, allocations: 1.239 MB / 0.5985 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.16, allocations: 172.3 kB / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.1601, allocations: 4 kB / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.1601, allocations: 3.938 kB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.1602, allocations: 11.98 kB / 0.5987 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1604, allocations: 23.97 kB / 0.5987 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.1605, allocations: 27.91 kB / 0.5987 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.1606, allocations: 19.91 kB / 0.5987 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.1606, allocations: 8 kB / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.1607, allocations: 15.92 kB / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1607, allocations: 0 / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.816e-05/0.1608, allocations: 35.97 kB / 0.5988 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.1608, allocations: 7.969 kB / 0.5988 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1609, allocations: 41.64 kB / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.161, allocations: 35.94 kB / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.161, allocations: 0 / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.161, allocations: 0 / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.161, allocations: 0 / 0.5989 GB, free: 6.277 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004281/0.1614, allocations: 354.1 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1615, allocations: 12.03 kB / 0.5992 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.1615, allocations: 4 kB / 0.5992 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1616, allocations: 178.9 kB / 0.5994 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1616, allocations: 0 / 0.5994 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1617, allocations: 4 kB / 0.5994 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1619, allocations: 73.58 kB / 0.5995 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1619, allocations: 0 / 0.5995 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1619, allocations: 4 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1619, allocations: 4 kB / 0.5995 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1621, allocations: 51.95 kB / 0.5995 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.1625, allocations: 276.7 kB / 0.5998 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1628, allocations: 74.47 kB / 0.5999 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.163, allocations: 170.4 kB / 0.6 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.163, allocations: 30.56 kB / 0.6001 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.163, allocations: 0 / 0.6001 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003893/0.1634, allocations: 121.5 kB / 0.6002 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1635, allocations: 55.36 kB / 0.6002 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.1636, allocations: 117.8 kB / 0.6003 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1636, allocations: 25.7 kB / 0.6004 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.1636, allocations: 88.14 kB / 0.6004 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.1636, allocations: 3.906 kB / 0.6004 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.1637, allocations: 0 / 0.6004 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1638, allocations: 318.8 kB / 0.6007 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.1639, allocations: 19.98 kB / 0.6008 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.164, allocations: 27.98 kB / 0.6008 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.257e-05/0.1641, allocations: 27.97 kB / 0.6008 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1641, allocations: 0 / 0.6008 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002317/0.1643, allocations: 89.66 kB / 0.6009 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1643, allocations: 5.719 kB / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.1643, allocations: 0 / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1644, allocations: 0 / 0.6009 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.1644, allocations: 19.98 kB / 0.6009 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1645, allocations: 7.891 kB / 0.6009 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.1645, allocations: 15.89 kB / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1645, allocations: 4 kB / 0.601 GB, free: 3.891 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: 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 7.157e-05/0.1646, allocations: 105.8 kB / 0.6011 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1647, allocations: 7.938 kB / 0.6011 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1649, allocations: 97.55 kB / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.165, allocations: 0 / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.165, allocations: 0 / 0.6012 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.165, allocations: 3.953 kB / 0.6012 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1651, allocations: 173.7 kB / 0.6013 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1651, allocations: 0 / 0.6013 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.1652, allocations: 15.98 kB / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1652, allocations: 0 / 0.6013 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.1653, allocations: 4 kB / 0.6013 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1653, allocations: 3.938 kB / 0.6014 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1653, allocations: 0 / 0.6014 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1655, allocations: 187.4 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.1656, allocations: 81.09 kB / 0.6016 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1656, allocations: 0 / 0.6016 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.1657, allocations: 8 kB / 0.6016 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.1657, allocations: 7.984 kB / 0.6016 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1658, allocations: 4 kB / 0.6016 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.1658, allocations: 87.27 kB / 0.6017 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1658, allocations: 0 / 0.6017 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002552/0.1661, allocations: 16 kB / 0.6017 GB, free: 2.996 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001658/0.1662, allocations: 119.2 kB / 0.6018 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1665, allocations: 60.31 kB / 0.6019 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1665, allocations: 0 / 0.6019 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1666, allocations: 31.98 kB / 0.6019 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1668, allocations: 11.94 kB / 0.6019 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.1671, allocations: 128.8 kB / 0.6021 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1673, allocations: 0.6848 MB / 0.6027 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.1674, allocations: 11.97 kB / 0.6027 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.1674, allocations: 7.438 kB / 0.6027 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1674, allocations: 0 / 0.6027 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.002706/0.1701, allocations: 0.8552 MB / 0.6036 GB, free: 1.035 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) Environment - environmentSimulation: