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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.006629/0.006629, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001544/0.001544, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.012/1.012, allocations: 143.1 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1555, allocations: 82.05 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002818/0.1583, allocations: 1.585 MB / 0.5958 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.1588, allocations: 188.3 kB / 0.596 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.1589, allocations: 4 kB / 0.596 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.1589, allocations: 0 / 0.596 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.159, allocations: 7.875 kB / 0.596 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1592, allocations: 43.94 kB / 0.596 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.1593, allocations: 27.92 kB / 0.5961 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.907e-05/0.1594, allocations: 15.98 kB / 0.5961 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.1594, allocations: 15.92 kB / 0.5961 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.1595, allocations: 15.92 kB / 0.5961 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1595, allocations: 8 kB / 0.5961 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1596, allocations: 39.97 kB / 0.5962 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.1596, allocations: 11.97 kB / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.1596, allocations: 15.88 kB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.557e-05/0.1597, allocations: 47.86 kB / 0.5962 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1598, allocations: 0 / 0.5962 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1598, allocations: 0 / 0.5962 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1598, allocations: 0 / 0.5962 GB, free: 8.02 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.0004754/0.1602, allocations: 359.7 kB / 0.5966 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1603, allocations: 12.03 kB / 0.5966 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1603, allocations: 4.938 kB / 0.5966 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1604, allocations: 164.3 kB / 0.5968 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1605, allocations: 4.375 kB / 0.5968 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1605, allocations: 384 / 0.5968 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1607, allocations: 62.22 kB / 0.5968 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1607, allocations: 4.188 kB / 0.5968 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1607, allocations: 7.938 kB / 0.5968 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1607, allocations: 3.984 kB / 0.5968 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1609, allocations: 47.89 kB / 0.5969 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1613, allocations: 276.7 kB / 0.5971 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1616, allocations: 62.47 kB / 0.5972 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.1617, allocations: 28.91 kB / 0.5972 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.1619, allocations: 178.1 kB / 0.5974 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.162, allocations: 34.56 kB / 0.5974 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.162, allocations: 0 / 0.5974 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003829/0.1624, allocations: 89.64 kB / 0.5975 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1624, allocations: 59.39 kB / 0.5976 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.1625, allocations: 109.9 kB / 0.5977 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1625, allocations: 25.7 kB / 0.5977 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1626, allocations: 92.12 kB / 0.5978 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.1626, allocations: 3.906 kB / 0.5978 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1626, allocations: 13.72 kB / 0.5978 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1628, allocations: 322.8 kB / 0.5981 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.1629, allocations: 23.98 kB / 0.5981 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.163, allocations: 19.92 kB / 0.5982 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1631, allocations: 44.81 kB / 0.5982 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1631, allocations: 3.938 kB / 0.5982 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002187/0.1634, allocations: 81.55 kB / 0.5983 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1634, allocations: 8 kB / 0.5983 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1634, allocations: 4 kB / 0.5983 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1634, allocations: 0 / 0.5983 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.1635, allocations: 11.98 kB / 0.5983 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1635, allocations: 0 / 0.5983 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.1636, allocations: 4 kB / 0.5983 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1636, allocations: 0 / 0.5983 GB, free: 5.633 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 (bin.y,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/0.1637, allocations: 125.7 kB / 0.5984 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.1637, allocations: 0 / 0.5984 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.164, allocations: 85.55 kB / 0.5985 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.164, allocations: 0 / 0.5985 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.164, allocations: 0 / 0.5985 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.164, allocations: 0 / 0.5985 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1642, allocations: 169.6 kB / 0.5987 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1642, allocations: 0 / 0.5987 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.1642, allocations: 12.36 kB / 0.5987 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1643, allocations: 3.938 kB / 0.5987 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1643, allocations: 4 kB / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1643, allocations: 0 / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1643, allocations: 0 / 0.5987 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1645, allocations: 183.3 kB / 0.5989 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.1646, allocations: 85.11 kB / 0.5989 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1646, allocations: 0 / 0.5989 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.1647, allocations: 11.98 kB / 0.599 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1648, allocations: 4 kB / 0.599 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1648, allocations: 3.984 kB / 0.599 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.1648, allocations: 83.28 kB / 0.599 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1648, allocations: 4 kB / 0.5991 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002413/0.1651, allocations: 12 kB / 0.5991 GB, free: 4.754 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 (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.0001797/0.1652, allocations: 119.2 kB / 0.5992 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1655, allocations: 47.89 kB / 0.5992 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1655, allocations: 0 / 0.5992 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1656, allocations: 27.97 kB / 0.5992 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1659, allocations: 14.41 kB / 0.5993 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.1662, allocations: 156.9 kB / 0.5994 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1665, allocations: 0.677 MB / 0.6001 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1665, allocations: 15.42 kB / 0.6001 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1665, allocations: 3.938 kB / 0.6001 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of Templates: time 0.00223/0.1688, allocations: 0.9924 MB / 0.6011 GB, free: 2.641 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (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)