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.001261/0.001262, allocations: 108 kB / 15.6 MB, free: 132 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.001234/0.001234, allocations: 193 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.032/1.032, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 82.05 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial): time 0.002701/0.1587, allocations: 1.524 MB / 0.5959 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.1592, allocations: 176.3 kB / 0.5961 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.1592, allocations: 0 / 0.5961 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.1593, allocations: 3.938 kB / 0.5961 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.1593, allocations: 3.938 kB / 0.5961 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.1596, allocations: 47.88 kB / 0.5961 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.1597, allocations: 39.86 kB / 0.5961 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1598, allocations: 15.98 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.1599, allocations: 19.92 kB / 0.5962 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.1599, allocations: 15.92 kB / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1599, allocations: 4 kB / 0.5962 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1601, allocations: 51.95 kB / 0.5962 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1601, allocations: 7.984 kB / 0.5963 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.1601, allocations: 11.94 kB / 0.5963 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1603, allocations: 63.78 kB / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1603, allocations: 0 / 0.5963 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1603, allocations: 4 kB / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1603, allocations: 4 kB / 0.5963 GB, free: 7.469 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.0004409/0.1607, allocations: 355.7 kB / 0.5967 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1608, allocations: 12.03 kB / 0.5967 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.1608, allocations: 34.69 kB / 0.5967 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1609, allocations: 8.844 kB / 0.5967 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.161, allocations: 168.4 kB / 0.5969 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.161, allocations: 8.312 kB / 0.5969 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.161, allocations: 384 / 0.5969 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1612, allocations: 66.22 kB / 0.597 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1612, allocations: 3.938 kB / 0.597 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1612, allocations: 4 kB / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1612, allocations: 0 / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.1615, allocations: 43.95 kB / 0.597 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.1618, allocations: 292.6 kB / 0.5973 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1621, allocations: 58.53 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1623, allocations: 28.91 kB / 0.5974 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.1625, allocations: 166.2 kB / 0.5975 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1625, allocations: 38.56 kB / 0.5976 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1625, allocations: 0 / 0.5976 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003886/0.1629, allocations: 101.6 kB / 0.5977 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.163, allocations: 51.41 kB / 0.5977 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.163, allocations: 105.8 kB / 0.5978 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1631, allocations: 33.64 kB / 0.5978 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.1631, allocations: 88.14 kB / 0.5979 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1631, allocations: 3.906 kB / 0.5979 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1632, allocations: 21.7 kB / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.1633, allocations: 318.8 kB / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.1634, allocations: 19.97 kB / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.1635, allocations: 19.98 kB / 0.5983 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1636, allocations: 48.81 kB / 0.5983 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1636, allocations: 0 / 0.5983 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.1639, allocations: 85.5 kB / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1639, allocations: 6.5 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1639, allocations: 0 / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1639, allocations: 4 kB / 0.5984 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.164, allocations: 11.98 kB / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.164, allocations: 0 / 0.5984 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.1641, allocations: 11.98 kB / 0.5985 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1641, allocations: 0 / 0.5985 GB, free: 5.023 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.039e-05/0.1642, allocations: 113.8 kB / 0.5986 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1642, allocations: 0 / 0.5986 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1645, allocations: 89.48 kB / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1645, allocations: 384 / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1645, allocations: 0 / 0.5987 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1645, allocations: 4 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1647, allocations: 181.4 kB / 0.5988 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1647, allocations: 0 / 0.5988 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.1648, allocations: 15.97 kB / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1648, allocations: 0 / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1648, allocations: 0 / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1648, allocations: 0 / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1648, allocations: 0 / 0.5988 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1651, allocations: 171.5 kB / 0.599 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.1651, allocations: 85.09 kB / 0.5991 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1651, allocations: 3.938 kB / 0.5991 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.1652, allocations: 4 kB / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1653, allocations: 15.92 kB / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1653, allocations: 0 / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.1654, allocations: 87.27 kB / 0.5992 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1654, allocations: 8 kB / 0.5992 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002539/0.1656, allocations: 15.94 kB / 0.5992 GB, free: 4.137 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.0006204/0.1662, allocations: 0.7202 MB / 0.5999 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.1665, allocations: 55.89 kB / 0.6 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1665, allocations: 0 / 0.6 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1666, allocations: 23.97 kB / 0.6 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1669, allocations: 4 kB / 0.6 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.1684, allocations: 1.292 MB / 0.6013 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1686, allocations: 0.6806 MB / 0.6019 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.1687, allocations: 4.547 kB / 0.6019 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1687, allocations: 15.53 kB / 0.6019 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1687, allocations: 3.938 kB / 0.6019 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2859/0.4546, allocations: 1.898 MB / 0.6038 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.026, allocations: 8.906 kB / 0.6038 GB, free: 43.5 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Binomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)