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.004508/0.004508, allocations: 103.6 kB / 15.73 MB, free: 6.047 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.00109/0.00109, allocations: 195.6 kB / 16.67 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 286.3 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8947/0.8947, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 96.09 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1591, allocations: 86.97 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001768/0.161, allocations: 0.5877 MB / 0.7665 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004783/0.1615, allocations: 103.6 kB / 0.7666 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.1615, allocations: 4 kB / 0.7666 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.1616, allocations: 0 / 0.7666 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 1.065e-05/0.1616, allocations: 0 / 0.7666 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.162, allocations: 43.83 kB / 0.7667 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1622, allocations: 59.94 kB / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1623, allocations: 0 / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.1623, allocations: 31.91 kB / 0.7668 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.1624, allocations: 23.97 kB / 0.7668 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1624, allocations: 4 kB / 0.7668 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1626, allocations: 51.94 kB / 0.7668 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.1626, allocations: 19.97 kB / 0.7668 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.1627, allocations: 19.92 kB / 0.7669 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1628, allocations: 75.77 kB / 0.7669 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1628, allocations: 3.938 kB / 0.7669 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1628, allocations: 0 / 0.7669 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1629, allocations: 0 / 0.7669 GB, free: 7.875 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.0005643/0.1634, allocations: 379.7 kB / 0.7673 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1635, allocations: 8.031 kB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.1635, allocations: 42.75 kB / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1636, allocations: 8.938 kB / 0.7674 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.1637, allocations: 168.4 kB / 0.7675 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000292/0.164, allocations: 277.6 kB / 0.7678 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.164, allocations: 8.312 kB / 0.7678 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.1643, allocations: 85.94 kB / 0.7679 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1643, allocations: 0 / 0.7679 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1643, allocations: 0 / 0.7679 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1643, allocations: 0 / 0.7679 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.1647, allocations: 131.8 kB / 0.768 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1649, allocations: 185.5 kB / 0.7682 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1652, allocations: 98.45 kB / 0.7683 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.1653, allocations: 44.77 kB / 0.7683 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1653, allocations: 4 kB / 0.7683 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1654, allocations: 38.5 kB / 0.7684 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1654, allocations: 0 / 0.7684 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0004932/0.1659, allocations: 149.9 kB / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1659, allocations: 51.41 kB / 0.7685 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.784e-05/0.166, allocations: 89.86 kB / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.166, allocations: 25.7 kB / 0.7687 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.166, allocations: 84.14 kB / 0.7687 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.1661, allocations: 47.38 kB / 0.7688 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1661, allocations: 25.7 kB / 0.7688 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1662, allocations: 318.8 kB / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1664, allocations: 35.97 kB / 0.7691 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1665, allocations: 35.97 kB / 0.7692 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1667, allocations: 68.81 kB / 0.7692 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1668, allocations: 0 / 0.7692 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003479/0.1671, allocations: 113.6 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1671, allocations: 7.938 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1671, allocations: 0 / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1672, allocations: 0 / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1673, allocations: 27.92 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1673, allocations: 7.984 kB / 0.7694 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.1674, allocations: 15.84 kB / 0.7694 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1674, allocations: 4 kB / 0.7694 GB, free: 5.043 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 0.0001032/0.1675, allocations: 118.5 kB / 0.7695 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.1676, allocations: 3.938 kB / 0.7695 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.1676, allocations: 7.969 kB / 0.7695 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1676, allocations: 7.984 kB / 0.7695 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1676, allocations: 0 / 0.7695 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1676, allocations: 4 kB / 0.7695 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1678, allocations: 177.7 kB / 0.7697 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1678, allocations: 0 / 0.7697 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1679, allocations: 31.91 kB / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1679, allocations: 3.938 kB / 0.7698 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1679, allocations: 0 / 0.7698 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.168, allocations: 4 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.168, allocations: 3.984 kB / 0.7698 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.1683, allocations: 145.7 kB / 0.7699 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.1684, allocations: 84.98 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1684, allocations: 4 kB / 0.77 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.1684, allocations: 3.984 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.1685, allocations: 15.98 kB / 0.77 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1685, allocations: 4 kB / 0.77 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.713e-05/0.1686, allocations: 75.28 kB / 0.7701 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 0.7701 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002206/0.1688, allocations: 23.98 kB / 0.7701 GB, free: 4.242 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.0006881/0.1695, allocations: 0.7099 MB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1698, allocations: 91.81 kB / 0.7709 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1698, allocations: 0 / 0.7709 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.17, allocations: 43.95 kB / 0.7709 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1701, allocations: 12 kB / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1706, allocations: 194.6 kB / 0.7711 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1709, allocations: 0.6846 MB / 0.7718 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.171, allocations: 39.94 kB / 0.7718 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.1711, allocations: 19.42 kB / 0.7718 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.1711, allocations: 0 / 0.7718 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.1889, allocations: 2.054 MB / 0.7739 GB, free: 428 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.234, allocations: 15.92 kB / 0.7739 GB, free: 412 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)