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.00177/0.00177, allocations: 102.2 kB / 16.4 MB, free: 5.949 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.002021/0.002021, allocations: 193 kB / 17.34 MB, free: 5.578 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.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 0.9192/0.9192, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 72.59 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 82.02 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003798/0.1639, allocations: 1.541 MB / 0.6778 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006126/0.1645, allocations: 180.2 kB / 0.678 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.1646, allocations: 0 / 0.678 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.1646, allocations: 3.938 kB / 0.678 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.1647, allocations: 7.922 kB / 0.678 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1651, allocations: 51.89 kB / 0.678 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1652, allocations: 39.91 kB / 0.6781 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1653, allocations: 11.94 kB / 0.6781 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.1654, allocations: 11.98 kB / 0.6781 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.1654, allocations: 19.92 kB / 0.6781 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1655, allocations: 4 kB / 0.6781 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1656, allocations: 47.94 kB / 0.6782 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.1656, allocations: 7.938 kB / 0.6782 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1657, allocations: 19.92 kB / 0.6782 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1659, allocations: 71.72 kB / 0.6783 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1659, allocations: 0 / 0.6783 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1659, allocations: 4 kB / 0.6783 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1659, allocations: 0 / 0.6783 GB, free: 8.438 MB / 0.5137 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.0006222/0.1665, allocations: 359.3 kB / 0.6786 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1666, allocations: 8.031 kB / 0.6786 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1666, allocations: 8.891 kB / 0.6786 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1668, allocations: 172.3 kB / 0.6788 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1668, allocations: 4.375 kB / 0.6788 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1668, allocations: 384 / 0.6788 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.1671, allocations: 66.23 kB / 0.6789 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1671, allocations: 192 / 0.6789 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1671, allocations: 7.938 kB / 0.6789 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1671, allocations: 0 / 0.6789 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.1674, allocations: 39.95 kB / 0.6789 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.1679, allocations: 288.7 kB / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1684, allocations: 58.53 kB / 0.6792 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.1685, allocations: 24.91 kB / 0.6793 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.1688, allocations: 166.2 kB / 0.6794 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1689, allocations: 34.56 kB / 0.6795 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1689, allocations: 0 / 0.6795 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005624/0.1694, allocations: 105.7 kB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1695, allocations: 51.41 kB / 0.6796 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1696, allocations: 109.8 kB / 0.6797 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1696, allocations: 25.7 kB / 0.6797 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1697, allocations: 84.14 kB / 0.6798 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1697, allocations: 11.94 kB / 0.6798 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.1698, allocations: 17.72 kB / 0.6798 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1699, allocations: 318.8 kB / 0.6802 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.1701, allocations: 31.91 kB / 0.6802 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1702, allocations: 20.02 kB / 0.6802 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1705, allocations: 44.81 kB / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1705, allocations: 0 / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003279/0.1708, allocations: 81.59 kB / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1708, allocations: 4 kB / 0.6803 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1708, allocations: 0 / 0.6803 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1708, allocations: 4 kB / 0.6803 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1709, allocations: 7.984 kB / 0.6803 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.171, allocations: 4 kB / 0.6803 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.1711, allocations: 11.94 kB / 0.6804 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1711, allocations: 0 / 0.6804 GB, free: 6.047 MB / 0.5137 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 0.0001181/0.1712, allocations: 118.4 kB / 0.6805 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1712, allocations: 7.938 kB / 0.6805 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.1716, allocations: 85.48 kB / 0.6806 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1716, allocations: 0 / 0.6806 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1716, allocations: 0 / 0.6806 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1716, allocations: 3.984 kB / 0.6806 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1719, allocations: 177.7 kB / 0.6807 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1719, allocations: 0 / 0.6807 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.172, allocations: 11.98 kB / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.172, allocations: 0 / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.172, allocations: 0 / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.172, allocations: 0 / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.172, allocations: 0 / 0.6807 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.1724, allocations: 179.3 kB / 0.6809 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1725, allocations: 85.09 kB / 0.681 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1725, allocations: 4 kB / 0.681 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1726, allocations: 4 kB / 0.681 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1727, allocations: 7.984 kB / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1727, allocations: 0 / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.1728, allocations: 87.58 kB / 0.6811 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1728, allocations: 0 / 0.6811 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002649/0.173, allocations: 19.94 kB / 0.6811 GB, free: 5.168 MB / 0.5137 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.0001964/0.1732, allocations: 123.2 kB / 0.6812 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1735, allocations: 40.19 kB / 0.6813 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1735, allocations: 0 / 0.6813 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1736, allocations: 23.92 kB / 0.6813 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1739, allocations: 20.28 kB / 0.6813 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.1742, allocations: 147.1 kB / 0.6814 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1745, allocations: 0.6846 MB / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1746, allocations: 15.44 kB / 0.6821 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1746, allocations: 0 / 0.6821 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of Templates: time 0.002772/0.1773, allocations: 0.9875 MB / 0.6831 GB, free: 3.062 MB / 0.5137 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)