Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_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.00149/0.00149, allocations: 109.5 kB / 16.41 MB, free: 6.5 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.001634/0.001634, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8283/0.8283, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 68.61 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1642, allocations: 78.87 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002962/0.1672, allocations: 1.53 MB / 0.652 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005424/0.1678, allocations: 178.1 kB / 0.6522 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.1678, allocations: 0 / 0.6522 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.1679, allocations: 3.938 kB / 0.6522 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.1679, allocations: 7.922 kB / 0.6522 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.1683, allocations: 47.89 kB / 0.6523 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.941e-05/0.1685, allocations: 39.91 kB / 0.6523 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1686, allocations: 15.98 kB / 0.6523 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.1686, allocations: 15.92 kB / 0.6523 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1687, allocations: 19.92 kB / 0.6524 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1687, allocations: 4 kB / 0.6524 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1688, allocations: 43.95 kB / 0.6524 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1689, allocations: 11.98 kB / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.1689, allocations: 15.88 kB / 0.6524 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1691, allocations: 64.06 kB / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.1691, allocations: 0 / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1691, allocations: 4 kB / 0.6525 GB, free: 1.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1692, allocations: 0 / 0.6525 GB, free: 1.594 MB / 494.1 MB 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.0005616/0.1697, allocations: 359.2 kB / 0.6528 GB, free: 1.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1698, allocations: 12.03 kB / 0.6529 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1698, allocations: 34.75 kB / 0.6529 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.1699, allocations: 8.891 kB / 0.6529 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.17, allocations: 160.4 kB / 0.653 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.17, allocations: 4.312 kB / 0.6531 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1701, allocations: 8.359 kB / 0.6531 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1703, allocations: 70.16 kB / 0.6531 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1703, allocations: 3.938 kB / 0.6531 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1703, allocations: 8 kB / 0.6531 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1704, allocations: 0 / 0.6531 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.1706, allocations: 43.89 kB / 0.6532 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.171, allocations: 288.7 kB / 0.6535 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.1714, allocations: 54.55 kB / 0.6535 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1715, allocations: 28.89 kB / 0.6535 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.1718, allocations: 174.2 kB / 0.6537 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1718, allocations: 34.5 kB / 0.6537 GB, free: 120 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1718, allocations: 4 kB / 0.6537 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003982/0.1722, allocations: 93.62 kB / 0.6538 GB, free: 16 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1723, allocations: 51.41 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.1724, allocations: 113.8 kB / 0.654 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1724, allocations: 25.7 kB / 0.654 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.1725, allocations: 88.14 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.1725, allocations: 7.953 kB / 0.6541 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.1726, allocations: 17.7 kB / 0.6541 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1727, allocations: 318.8 kB / 0.6544 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.1728, allocations: 19.98 kB / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.1729, allocations: 23.91 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1731, allocations: 48.81 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1731, allocations: 0 / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002394/0.1733, allocations: 73.66 kB / 0.6546 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1734, allocations: 4 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1734, allocations: 0 / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1734, allocations: 4 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1735, allocations: 7.984 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1735, allocations: 4 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.1736, allocations: 11.98 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1736, allocations: 0 / 0.6546 GB, free: 15.16 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 9.142e-05/0.1737, allocations: 117.7 kB / 0.6547 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1737, allocations: 7.953 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.174, allocations: 81.55 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.174, allocations: 3.938 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.174, allocations: 0 / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.174, allocations: 4 kB / 0.6548 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.1742, allocations: 169.6 kB / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1743, allocations: 0 / 0.655 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.1743, allocations: 11.98 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1744, allocations: 3.938 kB / 0.655 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1744, allocations: 3.984 kB / 0.655 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1744, allocations: 0 / 0.655 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1744, allocations: 0 / 0.655 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1747, allocations: 175.4 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.1748, allocations: 89.48 kB / 0.6552 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1748, allocations: 3.984 kB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.1749, allocations: 8 kB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.175, allocations: 7.984 kB / 0.6553 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.175, allocations: 0 / 0.6553 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.175, allocations: 87.66 kB / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.175, allocations: 0 / 0.6554 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002711/0.1753, allocations: 31.92 kB / 0.6554 GB, free: 14.26 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.0007052/0.176, allocations: 0.7162 MB / 0.6561 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1763, allocations: 47.95 kB / 0.6561 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1763, allocations: 0 / 0.6561 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1764, allocations: 27.97 kB / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1767, allocations: 4 kB / 0.6562 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1783, allocations: 1.303 MB / 0.6574 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1786, allocations: 0.6846 MB / 0.6581 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.1787, allocations: 0 / 0.6581 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.1787, allocations: 15.44 kB / 0.6581 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1787, allocations: 0 / 0.6581 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.2034, allocations: 1.925 MB / 0.66 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.389, allocations: 7.312 kB / 0.66 GB, free: 9.469 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)