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.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.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.001245/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001138/0.001138, allocations: 197.8 kB / 16.14 MB, free: 6.695 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.966/0.966, allocations: 143 MB / 433 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 67.89 kB / 0.5136 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1535, allocations: 82.03 MB / 0.5937 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001775/0.1554, allocations: 0.6505 MB / 0.5944 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004146/0.1558, allocations: 111.6 kB / 0.5945 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.1558, allocations: 4 kB / 0.5945 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.1559, allocations: 0 / 0.5945 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-06/0.1559, allocations: 4 kB / 0.5945 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1562, allocations: 27.97 kB / 0.5945 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1563, allocations: 63.88 kB / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.1564, allocations: 3.984 kB / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.1564, allocations: 23.97 kB / 0.5946 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.874e-05/0.1564, allocations: 23.97 kB / 0.5946 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1565, allocations: 0 / 0.5946 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1566, allocations: 47.95 kB / 0.5947 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1566, allocations: 15.98 kB / 0.5947 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.1567, allocations: 31.84 kB / 0.5947 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1568, allocations: 67.83 kB / 0.5948 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1568, allocations: 4 kB / 0.5948 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1568, allocations: 0 / 0.5948 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1569, allocations: 3.938 kB / 0.5948 GB, free: 8.852 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.0005067/0.1574, allocations: 371.6 kB / 0.5951 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1574, allocations: 8.031 kB / 0.5951 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.1575, allocations: 46.69 kB / 0.5952 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1575, allocations: 8.844 kB / 0.5952 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.1576, allocations: 168.6 kB / 0.5954 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.1579, allocations: 281.6 kB / 0.5956 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1579, allocations: 8.375 kB / 0.5956 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1581, allocations: 81.95 kB / 0.5957 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1582, allocations: 0 / 0.5957 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1582, allocations: 0 / 0.5957 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1582, allocations: 3.984 kB / 0.5957 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.1585, allocations: 143.6 kB / 0.5959 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1587, allocations: 173.7 kB / 0.596 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.159, allocations: 98.52 kB / 0.5961 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1592, allocations: 36.84 kB / 0.5961 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.1592, allocations: 4 kB / 0.5961 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1592, allocations: 42.48 kB / 0.5962 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1592, allocations: 0 / 0.5962 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005252/0.1598, allocations: 149.7 kB / 0.5963 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.1598, allocations: 55.39 kB / 0.5964 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.1598, allocations: 89.86 kB / 0.5965 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1599, allocations: 33.7 kB / 0.5965 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.1599, allocations: 80.14 kB / 0.5966 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.1599, allocations: 31.55 kB / 0.5966 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.16, allocations: 33.69 kB / 0.5966 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1601, allocations: 314.8 kB / 0.5969 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1602, allocations: 31.97 kB / 0.597 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1604, allocations: 35.97 kB / 0.597 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1606, allocations: 72.83 kB / 0.5971 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1607, allocations: 0 / 0.5971 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003213/0.161, allocations: 125.4 kB / 0.5972 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.161, allocations: 7.938 kB / 0.5972 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.161, allocations: 0 / 0.5972 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.161, allocations: 0 / 0.5972 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1612, allocations: 23.98 kB / 0.5972 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1612, allocations: 0 / 0.5972 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1613, allocations: 15.92 kB / 0.5972 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1613, allocations: 0 / 0.5972 GB, free: 6.031 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/0.1614, allocations: 133.7 kB / 0.5974 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.1614, allocations: 7.844 kB / 0.5974 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.1615, allocations: 7.969 kB / 0.5974 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1615, allocations: 4 kB / 0.5974 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1615, allocations: 0 / 0.5974 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1615, allocations: 0 / 0.5974 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1616, allocations: 173.7 kB / 0.5976 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1616, allocations: 0 / 0.5976 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1618, allocations: 27.97 kB / 0.5976 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1618, allocations: 7.938 kB / 0.5976 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1618, allocations: 0 / 0.5976 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1618, allocations: 4 kB / 0.5976 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1618, allocations: 0 / 0.5976 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.1621, allocations: 149.6 kB / 0.5977 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1622, allocations: 84.98 kB / 0.5978 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1622, allocations: 4 kB / 0.5978 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.1623, allocations: 4 kB / 0.5978 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.1623, allocations: 19.97 kB / 0.5978 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1623, allocations: 0 / 0.5978 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.1624, allocations: 75.28 kB / 0.5979 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1624, allocations: 4 kB / 0.5979 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002179/0.1626, allocations: 20 kB / 0.5979 GB, free: 5.219 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 (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.0006642/0.1633, allocations: 0.7137 MB / 0.5986 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.1636, allocations: 87.88 kB / 0.5987 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1636, allocations: 0 / 0.5987 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1637, allocations: 47.89 kB / 0.5988 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1639, allocations: 8 kB / 0.5988 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.1644, allocations: 204.4 kB / 0.599 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1646, allocations: 0.6887 MB / 0.5996 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.1648, allocations: 39.94 kB / 0.5997 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.1649, allocations: 23.42 kB / 0.5997 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1649, allocations: 0 / 0.5997 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.175, allocations: 1.883 MB / 0.6015 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.1752, allocations: 212.2 kB / 0.6017 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.896, allocations: 0 / 0.6017 GB, free: 1.285 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)