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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002787/0.002787, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.407/1.407, allocations: 222.9 MB / 240.3 MB, free: 4.312 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 0.9907/0.9907, allocations: 143 MB / 433.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5144 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 82.05 MB / 0.5945 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.003176/0.167, allocations: 1.524 MB / 0.596 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005594/0.1676, allocations: 180.2 kB / 0.5962 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.1677, allocations: 0 / 0.5962 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.017e-05/0.1677, allocations: 3.938 kB / 0.5962 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.1678, allocations: 3.938 kB / 0.5962 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.1682, allocations: 51.88 kB / 0.5963 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.1683, allocations: 39.86 kB / 0.5963 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1685, allocations: 11.98 kB / 0.5963 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.1685, allocations: 23.91 kB / 0.5963 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.1686, allocations: 15.92 kB / 0.5963 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1686, allocations: 4 kB / 0.5964 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1687, allocations: 43.97 kB / 0.5964 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1688, allocations: 15.97 kB / 0.5964 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1688, allocations: 15.94 kB / 0.5964 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1689, allocations: 67.78 kB / 0.5965 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.169, allocations: 0 / 0.5965 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.169, allocations: 0 / 0.5965 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.169, allocations: 4 kB / 0.5965 GB, free: 7.418 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.0005054/0.1695, allocations: 351.7 kB / 0.5968 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1695, allocations: 12.03 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.1696, allocations: 34.75 kB / 0.5969 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.1696, allocations: 12.84 kB / 0.5969 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1697, allocations: 172.3 kB / 0.597 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1698, allocations: 4.375 kB / 0.5971 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1698, allocations: 4.359 kB / 0.5971 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.17, allocations: 58.23 kB / 0.5971 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.17, allocations: 7.938 kB / 0.5971 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.17, allocations: 4 kB / 0.5971 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1701, allocations: 0 / 0.5971 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1703, allocations: 43.95 kB / 0.5972 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.1706, allocations: 292.6 kB / 0.5974 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.1709, allocations: 54.53 kB / 0.5975 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/0.171, allocations: 28.91 kB / 0.5975 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.1713, allocations: 174.2 kB / 0.5977 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1713, allocations: 38.5 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1713, allocations: 0 / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003708/0.1717, allocations: 97.56 kB / 0.5978 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.1717, allocations: 51.41 kB / 0.5979 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/0.1718, allocations: 113.8 kB / 0.598 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1718, allocations: 29.7 kB / 0.598 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.1719, allocations: 92.08 kB / 0.5981 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.1719, allocations: 3.906 kB / 0.5981 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.1719, allocations: 17.7 kB / 0.5981 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1721, allocations: 318.8 kB / 0.5984 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.1722, allocations: 23.97 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.1722, allocations: 15.98 kB / 0.5985 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1724, allocations: 52.75 kB / 0.5985 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1724, allocations: 0 / 0.5985 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002142/0.1726, allocations: 77.56 kB / 0.5986 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1727, allocations: 4 kB / 0.5986 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1727, allocations: 0 / 0.5986 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1727, allocations: 4 kB / 0.5986 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.1728, allocations: 15.98 kB / 0.5986 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1728, allocations: 0 / 0.5986 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.1729, allocations: 7.984 kB / 0.5986 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1729, allocations: 0 / 0.5986 GB, free: 4.973 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.878e-05/0.173, allocations: 117.8 kB / 0.5987 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.173, allocations: 0 / 0.5987 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.1732, allocations: 89.81 kB / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1733, allocations: 0 / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1733, allocations: 48 / 0.5988 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1733, allocations: 3.984 kB / 0.5988 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1734, allocations: 177.5 kB / 0.599 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1735, allocations: 0 / 0.599 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.1735, allocations: 8 kB / 0.599 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1735, allocations: 3.984 kB / 0.599 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1736, allocations: 0 / 0.599 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1736, allocations: 4 kB / 0.599 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1736, allocations: 3.938 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1738, allocations: 179.4 kB / 0.5992 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1739, allocations: 85.09 kB / 0.5993 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1739, allocations: 0 / 0.5993 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.174, allocations: 4 kB / 0.5993 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.174, allocations: 7.984 kB / 0.5993 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1741, allocations: 4 kB / 0.5993 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.1741, allocations: 87.27 kB / 0.5994 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1741, allocations: 4 kB / 0.5994 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.1744, allocations: 19.94 kB / 0.5994 GB, free: 4.082 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.0005971/0.175, allocations: 0.7162 MB / 0.6001 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1752, allocations: 51.89 kB / 0.6001 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1752, allocations: 3.938 kB / 0.6001 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.1753, allocations: 23.97 kB / 0.6002 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1756, allocations: 6.656 kB / 0.6002 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.177, allocations: 1.3 MB / 0.6014 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1772, allocations: 0.6768 MB / 0.6021 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.1773, allocations: 4 kB / 0.6021 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1773, allocations: 19.42 kB / 0.6021 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1773, allocations: 0 / 0.6021 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.4564, allocations: 1.919 MB / 0.604 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.843, allocations: 12.55 kB / 0.604 GB, free: 43.71 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)