Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_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.004848/0.004848, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001272/0.001272, allocations: 195.9 kB / 16.67 MB, free: 6.355 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 274.8 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9986/0.9986, allocations: 169.3 MB / 0.4983 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 96.66 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1725, allocations: 86.98 MB / 0.766 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.00159/0.1741, allocations: 0.5839 MB / 0.7665 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003834/0.1745, allocations: 111.6 kB / 0.7666 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.1745, allocations: 0 / 0.7666 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.1746, allocations: 0 / 0.7666 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.1746, allocations: 0 / 0.7666 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1749, allocations: 35.89 kB / 0.7667 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.175, allocations: 67.94 kB / 0.7667 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.1751, allocations: 7.938 kB / 0.7667 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.1751, allocations: 27.95 kB / 0.7668 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.1752, allocations: 15.98 kB / 0.7668 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1752, allocations: 4 kB / 0.7668 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.1753, allocations: 51.94 kB / 0.7668 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.1754, allocations: 23.91 kB / 0.7669 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1754, allocations: 19.91 kB / 0.7669 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1756, allocations: 76 kB / 0.7669 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1756, allocations: 0 / 0.7669 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1756, allocations: 4 kB / 0.7669 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.1756, allocations: 0 / 0.7669 GB, free: 7.836 MB / 0.5606 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.0005202/0.1761, allocations: 375.4 kB / 0.7673 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1762, allocations: 12.03 kB / 0.7673 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1762, allocations: 34.75 kB / 0.7673 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.1763, allocations: 8.938 kB / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1764, allocations: 172.2 kB / 0.7675 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.1767, allocations: 277.6 kB / 0.7678 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1767, allocations: 8.375 kB / 0.7678 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1769, allocations: 85.94 kB / 0.7679 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.177, allocations: 0 / 0.7679 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.177, allocations: 0 / 0.7679 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.177, allocations: 4 kB / 0.7679 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.1774, allocations: 131.8 kB / 0.768 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.1776, allocations: 181.5 kB / 0.7682 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.1779, allocations: 94.45 kB / 0.7683 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.178, allocations: 52.83 kB / 0.7683 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1781, allocations: 3.984 kB / 0.7683 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.1781, allocations: 34.5 kB / 0.7684 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.502e-06/0.1781, allocations: 0 / 0.7684 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005435/0.1787, allocations: 150.1 kB / 0.7685 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1787, allocations: 55.41 kB / 0.7686 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.1788, allocations: 89.86 kB / 0.7686 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1788, allocations: 29.7 kB / 0.7687 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1788, allocations: 84.14 kB / 0.7687 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.1789, allocations: 35.69 kB / 0.7688 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.179, allocations: 29.7 kB / 0.7688 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1791, allocations: 310.8 kB / 0.7691 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1792, allocations: 35.97 kB / 0.7691 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1794, allocations: 36.02 kB / 0.7692 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1797, allocations: 72.81 kB / 0.7692 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1797, allocations: 4 kB / 0.7692 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003362/0.18, allocations: 121.5 kB / 0.7694 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.18, allocations: 7.938 kB / 0.7694 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1801, allocations: 0 / 0.7694 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1801, allocations: 7.938 kB / 0.7694 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1802, allocations: 23.97 kB / 0.7694 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1802, allocations: 0 / 0.7694 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1803, allocations: 11.94 kB / 0.7694 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1803, allocations: 4 kB / 0.7694 GB, free: 5.008 MB / 0.5606 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.583e-05/0.1804, allocations: 122.5 kB / 0.7695 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.1804, allocations: 7.891 kB / 0.7695 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.1805, allocations: 15.97 kB / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1805, allocations: 0 / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1805, allocations: 0 / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1805, allocations: 0 / 0.7696 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1807, allocations: 173.7 kB / 0.7697 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1807, allocations: 0 / 0.7697 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1808, allocations: 27.91 kB / 0.7697 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1808, allocations: 3.938 kB / 0.7698 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1808, allocations: 12 kB / 0.7698 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1808, allocations: 0 / 0.7698 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1808, allocations: 3.984 kB / 0.7698 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.1812, allocations: 133 kB / 0.7699 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1813, allocations: 92.94 kB / 0.77 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1813, allocations: 4 kB / 0.77 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.1814, allocations: 7.984 kB / 0.77 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.1814, allocations: 15.92 kB / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1814, allocations: 11.98 kB / 0.77 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.1815, allocations: 75.28 kB / 0.7701 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1815, allocations: 0 / 0.7701 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002138/0.1817, allocations: 19.98 kB / 0.7701 GB, free: 4.199 MB / 0.5606 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.0007698/0.1825, allocations: 0.6982 MB / 0.7708 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1828, allocations: 88.36 kB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1829, allocations: 0 / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.183, allocations: 56.11 kB / 0.7709 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1832, allocations: 4.219 kB / 0.7709 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.1837, allocations: 202.4 kB / 0.7711 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.184, allocations: 0.6846 MB / 0.7718 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.1841, allocations: 39.94 kB / 0.7718 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.1842, allocations: 23.42 kB / 0.7719 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1842, allocations: 0 / 0.7719 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.2067, allocations: 2.035 MB / 0.7738 GB, free: 400 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.036, allocations: 11.94 kB / 0.7739 GB, free: 388 kB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)