Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_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.001753/0.001753, allocations: 105.9 kB / 16.4 MB, free: 6.461 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.001952/0.001952, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8413/0.8413, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 65.67 kB / 0.5736 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1667, allocations: 78.86 MB / 0.6506 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001711/0.1685, allocations: 0.5751 MB / 0.6511 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.1689, allocations: 108 kB / 0.6513 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.1689, allocations: 0 / 0.6513 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.169, allocations: 4 kB / 0.6513 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.464e-06/0.169, allocations: 0 / 0.6513 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1694, allocations: 35.89 kB / 0.6513 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1696, allocations: 59.94 kB / 0.6513 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.1696, allocations: 11.94 kB / 0.6514 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.1697, allocations: 27.97 kB / 0.6514 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.1698, allocations: 19.97 kB / 0.6514 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1698, allocations: 4 kB / 0.6514 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.17, allocations: 51.94 kB / 0.6515 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.17, allocations: 23.97 kB / 0.6515 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.1701, allocations: 19.92 kB / 0.6515 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1702, allocations: 75.98 kB / 0.6516 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1703, allocations: 0 / 0.6516 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1703, allocations: 0 / 0.6516 GB, free: 2.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1703, allocations: 0 / 0.6516 GB, free: 2.535 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006606/0.1709, allocations: 371.4 kB / 0.6519 GB, free: 2.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.171, allocations: 8.031 kB / 0.6519 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.1711, allocations: 46.69 kB / 0.652 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.1711, allocations: 12.89 kB / 0.652 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1713, allocations: 172.3 kB / 0.6522 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.1716, allocations: 281.5 kB / 0.6524 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1716, allocations: 4.375 kB / 0.6524 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1719, allocations: 85.88 kB / 0.6525 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1719, allocations: 0 / 0.6525 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1719, allocations: 4 kB / 0.6525 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1719, allocations: 0 / 0.6525 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.1723, allocations: 135.8 kB / 0.6526 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1726, allocations: 181.6 kB / 0.6528 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1729, allocations: 94.52 kB / 0.6529 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.173, allocations: 40.83 kB / 0.6529 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.1731, allocations: 7.984 kB / 0.653 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1731, allocations: 34.5 kB / 0.653 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 3.507e-06/0.1731, allocations: 3.984 kB / 0.653 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005642/0.1737, allocations: 161.8 kB / 0.6531 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1737, allocations: 51.41 kB / 0.6532 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.1738, allocations: 89.86 kB / 0.6533 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1738, allocations: 25.7 kB / 0.6533 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.1738, allocations: 80.14 kB / 0.6534 GB, free: 420 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.1739, allocations: 39.69 kB / 0.6534 GB, free: 380 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.174, allocations: 29.7 kB / 0.6534 GB, free: 344 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1741, allocations: 314.8 kB / 0.6537 GB, free: 20 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1743, allocations: 36.05 kB / 0.6538 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1744, allocations: 31.97 kB / 0.6538 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1747, allocations: 72.81 kB / 0.6539 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1747, allocations: 0 / 0.6539 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003426/0.1751, allocations: 118.2 kB / 0.654 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1751, allocations: 7.938 kB / 0.654 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1751, allocations: 0 / 0.654 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1751, allocations: 4 kB / 0.654 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1753, allocations: 23.98 kB / 0.654 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1753, allocations: 7.984 kB / 0.654 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.1754, allocations: 15.89 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1754, allocations: 0 / 0.654 GB, free: 15.7 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 0.0001036/0.1755, allocations: 125.8 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.1756, allocations: 3.938 kB / 0.6542 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1756, allocations: 7.969 kB / 0.6542 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1756, allocations: 4 kB / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1756, allocations: 0 / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1756, allocations: 4 kB / 0.6542 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1758, allocations: 177.5 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1758, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.1759, allocations: 31.97 kB / 0.6544 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.1759, allocations: 3.938 kB / 0.6544 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.176, allocations: 0 / 0.6544 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.176, allocations: 4 kB / 0.6544 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.176, allocations: 3.984 kB / 0.6544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.1764, allocations: 149 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1764, allocations: 85 kB / 0.6546 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1764, allocations: 4 kB / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.1765, allocations: 3.984 kB / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1766, allocations: 15.98 kB / 0.6546 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1766, allocations: 0 / 0.6546 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.1766, allocations: 75.28 kB / 0.6547 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1766, allocations: 4 kB / 0.6547 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002304/0.1769, allocations: 27.92 kB / 0.6547 GB, free: 14.88 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.0007883/0.1777, allocations: 0.6942 MB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.178, allocations: 91.88 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1781, allocations: 0 / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1782, allocations: 47.89 kB / 0.6556 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1784, allocations: 13.88 kB / 0.6556 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.1789, allocations: 200.4 kB / 0.6558 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1793, allocations: 0.6807 MB / 0.6564 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.1795, allocations: 39.95 kB / 0.6565 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1795, allocations: 23.42 kB / 0.6565 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.1795, allocations: 0 / 0.6565 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.2025, allocations: 2.019 MB / 0.6585 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.042, allocations: 5.359 kB / 0.6585 GB, free: 11.07 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)